[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: Tue, 22 Apr 2008 22:28:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> Ah, I accidentally tested this with a Lisp version of
>>> `internal-complete-buffer' that I created earlier.
>>> But when I restored the C version of `internal-complete-buffer',
>>> it doesn't work with it.
>>> I don't understand why it works with with the equivalent
>>> Lisp version, but not with the C version.  The C version
>>> returns a full buffer list disregarding the `predicate' arg.
>>> This is a working Lisp version for your reference:
>> That is strange indeed.  Could you investigate?

> It is very inconvenient to debug higher-order functions when part
> of functionality is implemented in C.  This is another reason to
> move completion functions to Lisp.

> Nevertheless, I've found that this was caused by internal-complete-buffer
> that really uses a cons pair of (buffer-name . buffer) for the
> buffer name argument.  I installed a fixed version of
> internal-complete-buffer-except.



reply via email to

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