emacs-devel
[Top][All Lists]
Advanced

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

Re: Intelligent history cycling


From: Stefan Monnier <address@hidden>
Subject: Re: Intelligent history cycling
Date: 21 Jun 2002 16:11:30 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Kai" == Kai Großjohann <address@hidden> writes:
> I use this:
> (mapcar
>  (function
>   (lambda (x)
>     (define-key x (kbd "ESC p") 'previous-complete-history-element)
>     (define-key x (kbd "ESC n") 'next-complete-history-element)))
>  (list minibuffer-local-completion-map minibuffer-local-isearch-map
>        minibuffer-local-map minibuffer-local-must-match-map
>        minibuffer-local-ns-map))
> I wish there was a default keybinding for this.

I also use it just like you.  Actually, if you look at simple.el you'll
see that there is code that does it as well, but it's commented out.
I wish we could turn it on again.

I think Richard didn't like it for some reason.  Maybe it was because
it fails when nothing matches or because C-x C-f M-p only lists the
previous file(s) in the same directory.
I've actually changed mine such that M-p only does search if the
user has already typed something (so that C-x C-f M-p behaves just
like it does now).  Also M-p reverts back to non-searching if the
search fails.


        Stefan



reply via email to

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