delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/19/06:14:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <20020919101354.1552.qmail@web14103.mail.yahoo.com>
Date: Thu, 19 Sep 2002 03:13:54 -0700 (PDT)
From: Just Hangin <justhangin510 AT yahoo DOT com>
Subject: Attempting "Emacs this file"
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi all,

I'm trying to get this little Windows Explorer
right-click menu add-on to work and having problems. 
I want to be able to right click on a file and have
emacs open it in an rxvt.  It almost works...the menu
item appears, the rxvt opens, emacs runs...but the
object file %1 doesn't get sucked in.

Here's my attempt:

  Windows Registry Editor Version 5.00

  [HKEY_CLASSES_ROOT\*\shell\0cmd-gnuemacs]
  @="Gnuemacs"

  [HKEY_CLASSES_ROOT\*\shell\0cmd-gnuemacs\command]
  @="F:\\Unix\\cygwin\\bin\\rxvt.exe -g 100x40+50+50
-ls -sr -sb -sl 1000 -fg Black -bg LightSteelBlue -fn
'Courier New' -e /usr/bin/bash --login -c emacs
\\\"'%1'\\\""

I did a lot of searching about this an saw discussions
which involved "gnuclientw" as a solution.

[HKEY_CLASSES_ROOT\*\Shell\Edit_with_Emacs]
@="Edit with &Gnu Emacs"

[HKEY_CLASSES_ROOT\*\Shell\Edit_with_Emacs\command]
@="F:\\Unix\\cygwin\\bin\\gnuclientw.exe -F -q \"%1\""

I found that on the web and played with it...but it
seems to rely on another program called "runemacs.exe"
which I couldnt locate.  This seems to be an NTEmacs
program and not a Cygwin Gnuemacs program.  

Im confused.  I see lots of posts about NTEmacs,
NTEmacs = Gnuemacs, Xemacs...  but, what is the actual
Emacs in the Cygwin distribution?  Just Gnuemacs,
right?

Well, I'm betting that there's an easy answer and that
someone, who has used cygwin longer than I, can
enlighten me.

Thanks,
JH


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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