[Top][All Lists]

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

Re: Bug with icomplete-mode

From: Dmitry Gutov
Subject: Re: Bug with icomplete-mode
Date: Sat, 16 May 2015 17:03:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

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 
   (if (and (eq (minibuffer-prompt-end) (point-max))
       ;; 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.

reply via email to

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