From: Nikolaj Schumacher <n_schumacher@web.de>
To: "Rustom Mody" <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs equivalent of vi %
Date: Thu, 14 Aug 2008 01:27:22 +0200 [thread overview]
Message-ID: <m2hc9opkbp.fsf@nschum.de> (raw)
In-Reply-To: <f46c52560808130624p30ae910m6e172830eeff462d@mail.gmail.com> (Rustom Mody's message of "Wed\, 13 Aug 2008 18\:54\:26 +0530")
"Rustom Mody" <rustompmody@gmail.com> wrote:
> Roughly I know what to do:
>
> Bind the character '%' to
> (file-name-nondirectory (buffer-file-name))
> in the keymap that is in effect when shell-command ( M-! ) is running.
>
> Im only not sure which keymap (and/or how to find it)
You can find it with M-x apropos.
The minibuffer-.*-map variables look interesting.
Unfortunately I think there's no guarantee it will work everywhere, as
other commands might override the keymap. You might be able to override
them once more by hooking into: `minibuffer-setup-hook'.
Also, note that you'll need to make an interactive function out of the
form to bind it to a key.
regards,
Nikolaj Schumacher
next prev parent reply other threads:[~2008-08-13 23:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 6:52 emacs equivalent of vi % Rustom Mody
2008-08-13 9:34 ` Lennart Borgman (gmail)
2008-08-13 10:44 ` Rustom Mody
2008-08-13 11:10 ` Lennart Borgman (gmail)
2008-08-13 13:24 ` Rustom Mody
2008-08-13 23:27 ` Nikolaj Schumacher [this message]
2008-08-13 23:50 ` Nikolaj Schumacher
2008-08-14 0:14 ` Lennart Borgman (gmail)
2008-08-14 2:04 ` Kevin Rodgers
2008-08-14 7:13 ` Rustom Mody
2008-08-14 10:01 ` Lennart Borgman (gmail)
2008-08-15 1:38 ` Kevin Rodgers
[not found] ` <mailman.16634.1218671422.18990.help-gnu-emacs@gnu.org>
2008-08-14 2:51 ` Jason Rumney
2008-08-13 11:37 ` Arnaldo Mandel
[not found] <mailman.16547.1218610362.18990.help-gnu-emacs@gnu.org>
2008-08-13 15:14 ` Xah
2008-08-13 17:24 ` Scott Frazer
-- strict thread matches above, loose matches on Subject: below --
2008-08-15 17:02 Emmett Grogan
[not found] <mailman.16820.1218819789.18990.help-gnu-emacs@gnu.org>
2008-08-15 19:13 ` Xah
2008-08-16 0:14 ` Chat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2hc9opkbp.fsf@nschum.de \
--to=n_schumacher@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=rustompmody@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.