From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: iswitchb Date: Mon, 12 Mar 2018 13:44:10 +0200 Message-ID: <1A9BA5E5-3700-4B32-9709-10B112F0E76F@gnu.org> References: <20180311031648.8003.90161@vcs0.savannah.gnu.org> <20180311031649.A9FBF20F52@vcs0.savannah.gnu.org> <87r2opk2yl.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1520854945 21663 195.159.176.226 (12 Mar 2018 11:42:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 11:42:25 +0000 (UTC) User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org, Robert Pluim , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 12 12:42:21 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evLqO-0005VC-RO for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 12:42:20 +0100 Original-Received: from localhost ([::1]:57908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLsR-0006Hj-JR for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 07:44:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLsH-0006GP-Kf for emacs-devel@gnu.org; Mon, 12 Mar 2018 07:44:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evLsE-00028F-F4 for emacs-devel@gnu.org; Mon, 12 Mar 2018 07:44:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLsE-000285-BP; Mon, 12 Mar 2018 07:44:14 -0400 Original-Received: from [176.13.4.90] (port=56219 helo=[10.131.31.179]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1evLsC-0003Yw-VP; Mon, 12 Mar 2018 07:44:13 -0400 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223638 Archived-At: On March 12, 2018 1:21:44 PM GMT+02:00, Eli Zaretskii wrot= e: > On March 12, 2018 12:22:58 PM GMT+02:00, Robert Pluim > wrote: > > Stefan Monnier writes: > >=20 > > > (superseded by the default use of substring completion in C-x b, > >=20 > > If that's documented somewhere, I've not been able to find it in the > > docstring for `switch-to-buffer'=2E etc/NEWS=2E24 just says: > >=20 > > *** New completion style `substring'=2E > >=20 > > *** Completion of buffer names uses `substring' completion by > default=2E > >=20 > > without explaining what substring means=2E It certainly has surprising > > behaviour (with emacs-26): > >=20 > > src/emacs -Q > > C-x C-f src/xdisp=2Ec > > C-x b di > > C-x b sc TAB =3D> *scratch* > > C-x b di TAB =3D> di [sole completion] ; I expected xdisp=2Ec as well= =2E > >=20 > > Is the actual behaviour substring-unless-exact-match or something? > >=20 > > Robert >=20 > The completion styles are documented in the Emacs user manual, node > "Completion Styles"=2E Btw, completion of buffer names uses '(basic substring), which is why you = see what you see=2E See minibuffer=2Eel=2E