delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/15/19:31:02

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Cary Jamison" <Cary_Jamison AT Symantec DOT com>
Subject: Re: chere suggestion
Date: Wed, 15 Feb 2006 17:30:38 -0700
Lines: 38
Message-ID: <dt0h3h$j1f$1@sea.gmane.org>
References: <005b01c6325a$aa389c40$a501a8c0 AT CAM DOT ARTIMI DOT COM> <43F386DB DOT 6050604 AT gmail DOT com> <dt090p$qog$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0602151854000 DOT 21867 AT access1 DOT cims DOT nyu DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Igor Peshansky wrote:
>FWIW, I use the "Send To" menu with the following shortcut for vi:
>
>C:\cygwin\bin\run.exe /bin/rxvt.exe -display :0 -T vim -vb -sr -j -fn 
>00 -bg black -cr white -fg LightSteelBlue1
>"-b&h-lucidatypewriter-medium-r-normal-sans-0-0-14-14-m-0-iso88
>59-2" -e /usr/bin/vim
>
>(I used to have more args there, but run now has a 20-argument
>limit -- sigh!).

I was able to add my own 'edit with xemacs' action, but couldn't get the 
cygpath right without calling a separate script.  Plus, I had to add this 
action to every file type I wanted - a big pain!  It doesn't look like yours 
is doing anything with the paths - does it just work?

I'll have to play with that some.  How did you get it under the 'send to' 
menu?

Thanks,

Cary

P.S. Here's my first attempt:

new action: Edit with xemacs
Application: C:\cygwin\bin\run.exe C:\cygwin\bin\bash.exe --login -c 
'wxemacs "%1" '

which calls this simple script (wxemacs):
  arg=$(cygpath -am "$*")
  exec xemacs "$arg"


I copied some of this from my xemacs shortcut, perhaps it's not all needed, 
but it's nice to have xemacs running with the full environment set.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019