emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug with icomplete-mode


From: Stephen Leake
Subject: Re: Bug with icomplete-mode
Date: Sun, 17 May 2015 07:36:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt)

Dmitry Gutov <address@hidden> writes:

> On 05/16/2015 02:49 PM, Slawomir Nowaczyk wrote:
>
>> Emacs switches to "*Messages*", not the "aaa" buffer I have selected.
>
> Yep, looks like a problem. But next time please do M-x report-emacs-bug.
>
>> As far as I can tell, it's because of this part in the 
>> minibuffer-force-complete-and-exit
>>    (if (and (eq (minibuffer-prompt-end) (point-max))
>>             minibuffer-default)
>>        ;; Use the provided default if there's one (bug#17545).
>
> And this part is due to the bug that is referenced in the comment.
>
> Looking at it, it seems that a better way to resolve it would be to
> always make the default value the first item, even when it's not in
> the collection passed to completing-read.

+1
-- 
-- Stephe



reply via email to

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