* [windows Q] `emacs here' like windows power tool `cmd prompt here'
@ 2010-08-23 18:15 Harry Putnam
2010-08-23 21:06 ` Burton Samograd
2010-08-23 21:53 ` [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here' Bryan Guthrie
0 siblings, 2 replies; 7+ messages in thread
From: Harry Putnam @ 2010-08-23 18:15 UTC (permalink / raw)
To: help-emacs-windows; +Cc: help-gnu-emacs
My subject line is probably a miss-quote since I don't recall what the
MS `power tool' was called that allowed user to open a dos command
window at whatever directory she was browsing using a right click
menu.
If anyone knows what I'm talking about, maybe you'll know if anyone
has ever written something for emacs that would allow user to open an
emacs terminal at whatever directory she is browsing.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [windows Q] `emacs here' like windows power tool `cmd prompt here'
2010-08-23 18:15 [windows Q] `emacs here' like windows power tool `cmd prompt here' Harry Putnam
@ 2010-08-23 21:06 ` Burton Samograd
2010-08-23 21:53 ` [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here' Bryan Guthrie
1 sibling, 0 replies; 7+ messages in thread
From: Burton Samograd @ 2010-08-23 21:06 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: help-emacs-windows
Harry Putnam <reader@newsguy.com> writes:
> My subject line is probably a miss-quote since I don't recall what the
> MS `power tool' was called that allowed user to open a dos command
> window at whatever directory she was browsing using a right click
> menu.
>
> If anyone knows what I'm talking about, maybe you'll know if anyone
> has ever written something for emacs that would allow user to open an
> emacs terminal at whatever directory she is browsing.
Here's one that was made for cygwin:
http://software.ellerton.net/cygwin/
It seems to be just a registry patch file, so you might be able to edit
to edit in a 'runemacs.exe -f shell ...' to get what you're looking for.
--
Burton Samograd
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here'
2010-08-23 18:15 [windows Q] `emacs here' like windows power tool `cmd prompt here' Harry Putnam
2010-08-23 21:06 ` Burton Samograd
@ 2010-08-23 21:53 ` Bryan Guthrie
2010-08-24 13:50 ` Harry Putnam
2010-08-24 20:11 ` Oleksandr Gavenko
1 sibling, 2 replies; 7+ messages in thread
From: Bryan Guthrie @ 2010-08-23 21:53 UTC (permalink / raw)
To: Harry Putnam, help-emacs-windows; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
StackOverflow has a "How to" page that may be helpful:
http://stackoverflow.com/questions/455077/how-to-create-a-right-click-context-shell-shortcut-edit-with-emacs
The site refers to "emacsclientw.exe", but "gnuclientw.exe" settings would be similar, for example:
REGEDIT4
; This puts "emacs" into the right-click menu in Windows Explorer.
[HKEY_CLASSES_ROOT\*\shell]
@=""
[HKEY_CLASSES_ROOT\*\shell\emacs]
@="&Emacs"
[HKEY_CLASSES_ROOT\*\shell\emacs\command]
@="C:\\emacs\\bin\\gnuclientw -q \"%L\""
Best regards,
Bryan
________________________________
From: Harry Putnam [mailto:reader@newsguy.com]
Sent: Mon 8/23/2010 1:15 PM
To: help-emacs-windows@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here'
My subject line is probably a miss-quote since I don't recall what the
MS `power tool' was called that allowed user to open a dos command
window at whatever directory she was browsing using a right click
menu.
If anyone knows what I'm talking about, maybe you'll know if anyone
has ever written something for emacs that would allow user to open an
emacs terminal at whatever directory she is browsing.
[-- Attachment #2: Type: text/html, Size: 2183 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here'
2010-08-23 21:53 ` [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here' Bryan Guthrie
@ 2010-08-24 13:50 ` Harry Putnam
2010-08-24 15:53 ` Harry Putnam
2010-08-24 20:11 ` Oleksandr Gavenko
1 sibling, 1 reply; 7+ messages in thread
From: Harry Putnam @ 2010-08-24 13:50 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: help-emacs-windows
"Bryan Guthrie" <bryan.guthrie@cf.distek.com> writes:
> StackOverflow has a "How to" page that may be helpful:
> http://stackoverflow.com/questions/455077/how-to-create-a-right-click-context-shell-shortcut-edit-with-emacs
>
> The site refers to "emacsclientw.exe", but "gnuclientw.exe" settings
> would be similar, for example:
> REGEDIT4 ; This puts "emacs" into the
> right-click menu in Windows Explorer. [HKEY_CLASSES_ROOT\*\shell]
> @="" [HKEY_CLASSES_ROOT\*\shell\emacs] @="&Emacs"
> [HKEY_CLASSES_ROOT\*\shell\emacs\command]
> @="C:\\emacs\\bin\\gnuclientw -q \"%L\""
Sorry to be so dense, but is that literal? I'm not recognizing the
format there
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here'
2010-08-23 21:53 ` [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here' Bryan Guthrie
2010-08-24 13:50 ` Harry Putnam
@ 2010-08-24 20:11 ` Oleksandr Gavenko
2010-08-27 14:00 ` Harry Putnam
1 sibling, 1 reply; 7+ messages in thread
From: Oleksandr Gavenko @ 2010-08-24 20:11 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: help-emacs-windows
On 2010-08-24 0:53, Bryan Guthrie wrote:
> StackOverflow has a "How to" page that may be helpful:
> http://stackoverflow.com/questions/455077/how-to-create-a-right-click-context-shell-shortcut-edit-with-emacs
> The site refers to "emacsclientw.exe", but "gnuclientw.exe" settings
> would be similar, for example:
> REGEDIT4
> ; This puts "emacs" into the right-click menu in Windows Explorer.
> [HKEY_CLASSES_ROOT\*\shell]
> @=""
> [HKEY_CLASSES_ROOT\*\shell\emacs]
> @="&Emacs"
> [HKEY_CLASSES_ROOT\*\shell\emacs\command]
> @="C:\\emacs\\bin\\gnuclientw -q \"%L\""
> Best regards,
> Bryan
>
> ------------------------------------------------------------------------
> *From:* Harry Putnam [mailto:reader@newsguy.com]
> *Sent:* Mon 8/23/2010 1:15 PM
> *To:* help-emacs-windows@gnu.org
> *Cc:* help-gnu-emacs@gnu.org
> *Subject:* [h-e-w] [windows Q] `emacs here' like windows power tool
> `cmdprompt here'
>
> My subject line is probably a miss-quote since I don't recall what the
> MS `power tool' was called that allowed user to open a dos command
> window at whatever directory she was browsing using a right click
> menu.
>
> If anyone knows what I'm talking about, maybe you'll know if anyone
> has ever written something for emacs that would allow user to open an
> emacs terminal at whatever directory she is browsing.
>
>
I use such code for "Open in Emacs..." dialog on files:
============ Makefile ===========
.PHONY: install
install:
EMACSCLIENT_PATH=`cygpath -w $$(which emacsclientw) | sed
's=\\\\=&&&&=g'`; \
sed "s=@@path-to-emacsclient@@=$$EMACSCLIENT_PATH=g" <emacs.reg
>emacs.tmp.reg; \
reg import emacs.tmp.reg; rm emacs.tmp.reg
============ Makefile ===========
=========== emacs.reg ===========
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\emacs]
@="Open with Emacs ..."
[HKEY_CLASSES_ROOT\*\shell\emacs\command]
@="@@path-to-emacsclient@@ -a runemacs -n \"%1\""
=========== emacs.reg ===========
This require Cygwin and native (non Cygwin!) GNU Emacs
and <emacs-root>\bin under PATH.
--
Best regards!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-08-27 14:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23 18:15 [windows Q] `emacs here' like windows power tool `cmd prompt here' Harry Putnam
2010-08-23 21:06 ` Burton Samograd
2010-08-23 21:53 ` [h-e-w] [windows Q] `emacs here' like windows power tool `cmdprompt here' Bryan Guthrie
2010-08-24 13:50 ` Harry Putnam
2010-08-24 15:53 ` Harry Putnam
2010-08-24 20:11 ` Oleksandr Gavenko
2010-08-27 14:00 ` Harry Putnam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).