[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Re: [windows Q] `emacs here' like windows power tool `cmdpro
Re: [h-e-w] Re: [windows Q] `emacs here' like windows power tool `cmdprompt here'
Mon, 23 Aug 2010 17:21:50 -0500
I used to have a setup similar to what Eli is suggesting under
Windows 98. (I also had it set up so that, if the OS did not
recognize a file extension or if it was blank, then opening such
a file always sent it to emacsclient (or the then functional
equivalent).) (Alas, I have not gotten around to trying to set
up something similar under Windows XP.) I think that these
capabilities are so useful that it would be good idea to provide
support for setting this up in the Win32 installer. Lennart, are
PS - I do think the thing to use is emacsclient as opposed to
runemacs, as emacsclient will invoke runemacs anyway if emacs is
not already running. I'd also use the no-wait option.
----- Original Message -----
From: Eli Daniel
Sent: Monday, August 23, 2010 4:32 PM
Subject: Re: [h-e-w] Re: [windows Q] `emacs here' like windows
power tool `cmdprompt here'
I have two such commands I use -- one for directories to open in
dired, and another on files. To get these, you'll need to edit
Under HKEY_CLASSES_ROOT\*\shell, create a key whose name is the
text you want to see in the Windows context menus for files.
Mine says "Open with Emacs".
Beneath that new key, create another key called command. Set its
default value to the command line to run when you choose the menu
item. Mine is:
C:\tools\emacs-23.1\bin\emacsclient.exe -n -a
As soon as you edit this in regedit, you should have a working
context-menu item for files.
To get this to work on directories, repeat the same exercise, but
put it under HKEY_CLASSES_ROOT\Folder\shell.
On Mon, Aug 23, 2010 at 5:06 PM, Burton Samograd
Harry Putnam <address@hidden> writes:
My subject line is probably a miss-quote since I don't recall
MS `power tool' was called that allowed user to open a dos
window at whatever directory she was browsing using a right
If anyone knows what I'm talking about, maybe you'll know if
has ever written something for emacs that would allow user to
emacs terminal at whatever directory she is browsing.
Here's one that was made for cygwin:
It seems to be just a registry patch file, so you might be able
to edit in a 'runemacs.exe -f shell ...' to get what you're
|[Prev in Thread]
||[Next in Thread]|
- Re: [h-e-w] Re: [windows Q] `emacs here' like windows power tool `cmdprompt here',
David Vanderschel <=