GNU bug report logs - #9591
Buffer substring completion matches hidden buffers.

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sat, 24 Sep 2011 12:29:02 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 9591 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#9591: 24.0.50; buffer name completion
Date: Mon, 26 Sep 2011 09:56:12 +0200
On Mon, 26 Sep 2011 01:35:50 -0400 Eli Zaretskii <eliz <at> gnu.org> wrote:

>> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
>> Date: Sun, 25 Sep 2011 21:18:30 -0400
>> Cc: 9591 <at> debbugs.gnu.org
>> 
>> > If I type C-x k mes TAB, it completes to ` *message-viewer RMAIL'.
>> 
>> Hmm... that's probably a bug of the `substring' completion-style
>
> But `substring' is not in the default value of completion-styles.  So
> how does it come into play here?

Via completion-category-overrides; with emacs -Q:

,----
| completion-category-overrides is a variable defined in `minibuffer.el'.
| Its value is ((buffer
|   (styles basic substring)))
| 
| 
| Documentation:
| List of overrides for specific categories.
| Each override has the shape (CATEGORY . ALIST) where ALIST is
| an association list that can specify properties such as:
| - `styles': the list of `completion-styles' to use for that category.
| - `cycle': the `completion-cycle-threshold' to use for that category.
| 
| You can customize this variable.
`----

Steve Berman




This bug report was last modified 13 years and 235 days ago.

Previous Next


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