bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17545: 24.4.50; icomplete conflicts with minibuffer default


From: Stefan Monnier
Subject: bug#17545: 24.4.50; icomplete conflicts with minibuffer default
Date: Wed, 21 May 2014 13:52:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> "Kill buffer (default: foo)". If you type C-j to trigger icomplete
> without having actually typed any characters, icomplete will terminate
> an unrelated buffer and won't even tell you which it was.

Good point.

> This is confusing because the minibuffer prompt suggests a completely
> different default. Here's a function that fixes the behavior:

I think a better fix is to change icomplete such that if the default is
among the possible completions, then it appears first.


        Stefan





reply via email to

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