|
From: | Juri Linkov |
Subject: | Re: C-r and C-s in minibuffer should search completion |
Date: | Mon, 31 Mar 2008 02:50:57 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> The special code should be in C-x b, C-x 4 b, and C-x 5 b. > Checking the caller inside the minibuffer is *bad*. I already > suggested a much better solution: use a minibuffer-completion-predicate. > That's what it's for. C-x b switch-to-buffer has an interactive spec in buffer.c "BSwitch to buffer: ". Do you mean replacing it with an expression that uses `minibuffer-with-setup-hook' to bind `minibuffer-completion-predicate' to a new predicate that rules out the current-buffer? -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |