Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Attempting "Emacs this file" To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/