GNU bug report logs -
#42101
icomplete-fido-ret doesn't always use minibuffer-default when input is empty
Previous Next
Full log
Message #17 received at 42101 <at> debbugs.gnu.org (full text, mbox):
Andrew Schwartzmeyer <andrew <at> schwartzmeyer.com> writes:
> Hi,
>
> Funny bug, haven’t figured out the cause. It may be hard to repro.
>
> If you have some amount of minibuffer history, you can cause
> icomplete-fido-ret to not accept the minibuffer-default. An example is
> having history such that 'C-h v' when point is on ‘completion-styles’
> causes ‘completion-styles-alist’ to be the first history
> element. Since the minibuffer-default shows ‘completion-styles’ (being
> that it’s under point, and I’ve not entered any text into the
> minibuffer), I’d expect RET to choose ‘completion-styles’, but instead
> it choses ‘completion-styles-alist’ (the head of the presented
> candidates, ‘completion-styles’ is instead the second candidate).
>
> This repros in fido-mode, but not icomplete-mode. I took a look at the
> relevant functions called on RET for these modes but am having trouble
> finding the issue.
I can't reproduce this. I think the first step is for you to try to
identify which sequence of actions as performed from an Emacs
session started with -Q lead to the problem. For the record, I tried
Emacs -Q (master of around two weeks ago)
C-h v completion-styles RET
C-h v completion-styles-alist RET
type "completion-styles" in *scratch* buffer. With cursor on word.
C-h v RET (quickly, before the completions appear)
C-h v RET (slowly, letting the completions appear)
Both approaches lead to the variable `completion-styles` being
described.
João
This bug report was last modified 4 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.