unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43120: 28.0.50; fido-mode: M-j before completions appear selects wrong choice
@ 2020-08-30 21:00 Sean Whitton
  2020-08-30 23:50 ` João Távora
  2020-09-01 14:19 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 39+ messages in thread
From: Sean Whitton @ 2020-08-30 21:00 UTC (permalink / raw)
  To: 43120; +Cc: larsi, joaotavora

Hello,

The recent change to fix #19032 has broken my fido-mode workflow in a
way which I think reveals a bug.

When starting from an empty minibuffer, icomplete-fido-exit now selects
a different match depending on whether the completions have appeared
yet.  So if you hit keys fast enough then you get different behaviour
than if you hit them a bit slower.

For example:

1. emacs -q
2. M-x fido-mode RET
3. C-x b foo M-j (type slowly)
4. C-x b bar M-j (type slowly)
5. C-x b M-j (type quickly)

This will take you to *GNU Emacs* but it should take you to foo (the
minibuffer prompt is "Switch to buffer (default foo)").  If you wait for
the completions to appear before hitting M-j, you go to the right place.

I think the fix would be to clear completion-content-when-empty when the
minibuffer exits, instead of leaving data from the last completion
there.  Or possibly M-j should call icomplete-completions to popular
completion-content-when-empty with the correct information.

-- 
Sean Whitton





^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-09-10 19:15 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 21:00 bug#43120: 28.0.50; fido-mode: M-j before completions appear selects wrong choice Sean Whitton
2020-08-30 23:50 ` João Távora
2020-08-31 16:37   ` Sean Whitton
2020-09-01 14:16   ` Lars Ingebrigtsen
2020-09-01 18:27     ` João Távora
2020-09-03 12:40       ` João Távora
2020-09-03 13:11         ` Lars Ingebrigtsen
2020-09-03 13:13           ` João Távora
2020-09-03 13:51             ` Lars Ingebrigtsen
2020-09-03 13:55               ` João Távora
2020-09-01 14:19 ` Lars Ingebrigtsen
2020-09-03 23:23   ` Sean Whitton
2020-09-04  2:11     ` Lars Ingebrigtsen
2020-09-04  3:22       ` Sean Whitton
2020-09-04  3:27         ` Lars Ingebrigtsen
2020-09-04 14:47           ` Sean Whitton
2020-09-05 12:25             ` Lars Ingebrigtsen
2020-09-05 15:32               ` Sean Whitton
2020-09-05 21:12                 ` Lars Ingebrigtsen
2020-09-06 18:26                   ` bug#19032: " João Távora
2020-09-07 10:30                     ` Lars Ingebrigtsen
2020-09-07 10:37                       ` bug#19032: " João Távora
2020-09-07 11:43                         ` Lars Ingebrigtsen
2020-09-07 17:30                     ` Stefan Monnier
2020-09-08  6:52                       ` João Távora
2020-09-08  8:59                       ` bug#19032: " João Távora
2020-09-09 14:01                         ` OGAWA Hirofumi
2020-09-09 16:11                           ` bug#19032: " João Távora
2020-09-09 17:52                             ` Stefan Monnier
2020-09-09 19:13                               ` bug#19032: " João Távora
2020-09-09 19:52                                 ` Stefan Monnier
2020-09-09 19:54                                   ` bug#19032: " João Távora
2020-09-09 19:57                                     ` João Távora
2020-09-09 20:35                                       ` bug#19032: " Stefan Monnier
2020-09-09 22:08                                         ` João Távora
2020-09-10  4:36                                           ` Stefan Monnier
2020-09-10 18:51                                           ` bug#19032: " Juri Linkov
2020-09-10 19:15                                             ` João Távora
2020-09-09 18:58                           ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).