emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iswitchb


From: Eli Zaretskii
Subject: Re: iswitchb
Date: Mon, 12 Mar 2018 13:44:10 +0200
User-agent: K-9 Mail for Android

On March 12, 2018 1:21:44 PM GMT+02:00, Eli Zaretskii <address@hidden> wrote:
> On March 12, 2018 12:22:58 PM GMT+02:00, Robert Pluim
> <address@hidden> wrote:
> > Stefan Monnier <address@hidden> writes:
> > 
> > > (superseded by the default use of substring completion in C-x b,
> > 
> > If that's documented somewhere, I've not been able to find it in the
> > docstring for `switch-to-buffer'. etc/NEWS.24 just says:
> > 
> > *** New completion style `substring'.
> > 
> > *** Completion of buffer names uses `substring' completion by
> default.
> > 
> > without explaining what substring means. It certainly has surprising
> > behaviour (with emacs-26):
> > 
> > src/emacs -Q
> > C-x C-f src/xdisp.c
> > C-x b di
> > C-x b sc TAB => *scratch*
> > C-x b di TAB => di [sole completion] ; I expected xdisp.c as well.
> > 
> > Is the actual behaviour substring-unless-exact-match or something?
> > 
> > Robert
> 
> The completion styles are documented in the Emacs user manual, node
> "Completion Styles".

Btw, completion of buffer names uses '(basic substring), which is why you see
what you see.  See minibuffer.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]