--- Begin Message ---
Subject: |
27.0.50; Substring icomplete broken for M-x switch-to-buffer |
Date: |
Wed, 16 Jan 2019 00:11:38 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Hi maintainers,
In my newfound icomplete adventures, I've come across a very annoying
bug I just cannot catch:
Emacs -Q
M-x icomplete-mode
M-: (setq completion-styles '(substring)) RET
M-: (generate-new-buffer "Messages") RET
C-x b
Now type "M". The minibuffer suggest the buffer "Messages", but what
about "*Messages"? Why isn't it considered?
If, instead of "M", I type "essa", then "Messages" and "*Messages*"
_are_ both considered, correctly.
Tracing completion-substring-try/all-completion shows that it is not
being called in the first situation: why???
João
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#34089: 27.0.50; Substring icomplete broken for M-x switch-to-buffer |
Date: |
Wed, 16 Jan 2019 06:48:25 +0000 |
Not sure how to write the code that combines category-default-styles and
global styles in order to get that behavior.
Delete everything and try again?
I kid, I kid... :-) Thanks Stefan, I was hoping for such an easy answer!
BTW how do you debug this stuff? Edebug is akward because of the minibuffer usage (and the second frame technique doesn't always work).
João
--- End Message ---