GNU bug report logs - #34089
27.0.50; Substring icomplete broken for M-x switch-to-buffer

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Wed, 16 Jan 2019 00:12:02 UTC

Severity: normal

Found in version 27.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: João Távora <joaotavora <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#34089: closed (27.0.50; Substring icomplete broken for M-x
 switch-to-buffer)
Date: Wed, 16 Jan 2019 06:49:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 16 Jan 2019 06:48:25 +0000
with message-id <CALDnm53gp4pi8-Rg1EFRw3VcLqmoGHcNi4C3OyMPhR0Q7uH8AA <at> mail.gmail.com>
and subject line Re: bug#34089: 27.0.50; Substring icomplete broken for M-x switch-to-buffer
has caused the debbugs.gnu.org bug report #34089,
regarding 27.0.50; Substring icomplete broken for M-x switch-to-buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
34089: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34089
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: João Távora <joaotavora <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: monnier <at> iro.umontreal.ca
Subject: 27.0.50; Substring icomplete broken for M-x switch-to-buffer
Date: Wed, 16 Jan 2019 00:11:38 +0000
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






[Message part 3 (message/rfc822, inline)]
From: João Távora <joaotavora <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 34089 <at> debbugs.gnu.org, 34089-done <at> debbugs.gnu.org
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
[Message part 4 (text/plain, inline)]
On Wed, Jan 16, 2019, 02:04 Stefan Monnier <monnier <at> iro.umontreal.ca wrote:

> 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
[Message part 5 (text/html, inline)]

This bug report was last modified 6 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.