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:21:44 +0200 Message-ID: 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 1520853631 14124 195.159.176.226 (12 Mar 2018 11:20:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 11:20:31 +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:20:27 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 1evLVA-0003VH-SW for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 12:20:24 +0100 Original-Received: from localhost ([::1]:57826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLXD-0004sp-Qg for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 07:22:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLWZ-0004rE-HZ for emacs-devel@gnu.org; Mon, 12 Mar 2018 07:21:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evLWV-0007hZ-Kj for emacs-devel@gnu.org; Mon, 12 Mar 2018 07:21:51 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evLWV-0007hK-H8; Mon, 12 Mar 2018 07:21:47 -0400 Original-Received: from [176.13.4.90] (port=56211 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 1evLWU-0003at-Rj; Mon, 12 Mar 2018 07:21:47 -0400 In-Reply-To: <87r2opk2yl.fsf@gmail.com> 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:223637 Archived-At: 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 The completion styles are documented in the Emacs user manual, node "Completion Styles"=2E