* Temporarily Key-binding to A Script
@ 2009-10-24 13:57 Wu, Kejia
2009-10-24 14:29 ` Kevin Rodgers
0 siblings, 1 reply; 6+ messages in thread
From: Wu, Kejia @ 2009-10-24 13:57 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
I have a script, foo.py. How should I define temporarily key-binding to
the script only for current session?
Cheers,
Kejia
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Temporarily Key-binding to A Script
2009-10-24 13:57 Wu, Kejia
@ 2009-10-24 14:29 ` Kevin Rodgers
0 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2009-10-24 14:29 UTC (permalink / raw)
To: help-gnu-emacs
Wu, Kejia wrote:
> I have a script, foo.py. How should I define temporarily key-binding to
> the script only for current session?
See the "Specifying File Variables" node of the Emacs manual, especially
the `eval' pseudo-variable.
eval: (global-set-key (kbd "C-c z") (lambda () (shell-command "/path/to/foo.py")))
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Temporarily Key-binding to A Script
@ 2009-09-01 22:26 Wu, Kejia
0 siblings, 0 replies; 6+ messages in thread
From: Wu, Kejia @ 2009-09-01 22:26 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
I have a script, foo.py. How should I define temporarily key-binding to
the script only for current session?
Cheers,
Kejia
^ permalink raw reply [flat|nested] 6+ messages in thread
* Temporarily Key-binding to A Script
@ 2009-08-30 0:14 Wu, Kejia
0 siblings, 0 replies; 6+ messages in thread
From: Wu, Kejia @ 2009-08-30 0:14 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
I have a script, foo.py. How should I define temporarily key-binding to
the script only for current session?
Cheers,
Kejia
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-03 3:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.9406.1256392677.2239.help-gnu-emacs@gnu.org>
2009-10-24 14:38 ` Temporarily Key-binding to A Script Pascal J. Bourguignon
2009-11-03 3:38 ` Wu, Kejia
2009-10-24 13:57 Wu, Kejia
2009-10-24 14:29 ` Kevin Rodgers
-- strict thread matches above, loose matches on Subject: below --
2009-09-01 22:26 Wu, Kejia
2009-08-30 0:14 Wu, Kejia
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.