[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-r and C-s in minibuffer should search completion
From: |
Stefan Monnier |
Subject: |
Re: C-r and C-s in minibuffer should search completion |
Date: |
Thu, 03 Apr 2008 21:18:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Actually, looking at the code some more, I'd suggest to add
>> a `predicate' arg to `read-buffer' and then use it in switch-to-buffer
>> (which would clearly need to be changed not to use a string-spec but
>> a lisp-spec for its interactive spec).
> Adding a new argument to `read-buffer' will cause the argument list
> mismatch between `read-buffer' and `read-buffer-function', and
> calling `read-buffer-function' with an additional argument will
> break existing code.
Then lets fix the existing code.
> But I now have an idea how to accomplish this task without adding a
> new argument to `read-buffer'. The patch below adds a new function
> `read-buffer-to-switch' that binds `minibuffer-default-add-function' to
> `minibuffer-default-add-buffers' that omits the current buffer from the
> list of defaults before calling `read-buffer':
That's ugly.
Stefan
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/03
- Re: C-r and C-s in minibuffer should search completion,
Stefan Monnier <=
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/06
- Re: C-r and C-s in minibuffer should search completion, Stefan Monnier, 2008/04/07
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/15
- Re: C-r and C-s in minibuffer should search completion, Stefan Monnier, 2008/04/15
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/16
- Re: C-r and C-s in minibuffer should search completion, Stefan Monnier, 2008/04/16
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/17
- Re: C-r and C-s in minibuffer should search completion, Stefan Monnier, 2008/04/17
- Re: C-r and C-s in minibuffer should search completion, Juri Linkov, 2008/04/19
- Re: C-r and C-s in minibuffer should search completion, Stefan Monnier, 2008/04/19