help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeat the last single shell command


From: Yuri Khan
Subject: Re: repeat the last single shell command
Date: Thu, 18 Jul 2013 23:08:15 +0700

On Thu, Jul 18, 2013 at 9:18 PM, Tassilo Horn <tsdh@gnu.org> wrote:

> That ties it to `shell-command'.  You could bind the other version also
> in `minibuffer-local-map', and then `M-: !' would reevaluate the last
> lisp expression, `M-! !' would reexecute the last shell command, `M-x !'
> would execute the last complex command, `C-x C-f !'  would find the last
> found file, `C-x b !' would switch to the last switched to buffer, etc.

That kind of misses the point, which for M-! ! is the fact that it’s
easy to type — because of finger position caching. (I’d maybe even go
as far as making it M-! M-!.) After M-: or M-x, ! is not in the cache.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]