From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: How to select one of the buffers that match a substring in "switch-to-buffer"? Date: Mon, 08 Jun 2015 21:19:11 +0200 Message-ID: <873822knyo.fsf@gnu.org> References: <87fv62kow8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433791188 27663 80.91.229.3 (8 Jun 2015 19:19:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 19:19:48 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: "KARR\, DAVID" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 21:19:35 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z22a4-0001a2-JF for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 21:19:32 +0200 Original-Received: from localhost ([::1]:59928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z22a4-00077s-2f for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 15:19:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z22Zs-00077X-TB for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 15:19:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z22Zm-00056t-LV for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 15:19:20 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z22Zm-00056X-HU for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 15:19:14 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 21E0F212DC for ; Mon, 8 Jun 2015 15:19:14 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 08 Jun 2015 15:19:14 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=0YdB+g3SQyiJDWq cHC2QlfqTJT4=; b=Z1lNNv3+s64KtJiWah12FgR7t+D8hyVmOYnH8Va8WTzj+Uw lFCLHScxp0uLwL5brl4Njb1PajrCkApAeyem1NLYFkjfmYGgPOkpAXobeANOLK9d S0ACUQwXaHZV73iQEYH26gdD/pAQRqxmQz0UdbdR9amwSvtvIVurRnhOBucI= X-Sasl-enc: VhceaUjrIFW7h958MUd3Wa91ZssW/+rW1a92BIqZKety 1433791153 Original-Received: from thinkpad-t440p (unknown [2.162.161.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DE1BC0001E; Mon, 8 Jun 2015 15:19:13 -0400 (EDT) Mail-Followup-To: "KARR\, DAVID" , Drew Adams , "help-gnu-emacs\@gnu.org" In-Reply-To: (DAVID KARR's message of "Mon, 8 Jun 2015 19:09:22 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104857 Archived-At: "KARR, DAVID" writes: >> ,----[ C-h v completion-category-overrides RET ] >> | completion-category-overrides is a variable defined in >> =E2=80=98minibuffer.el=E2=80=99. >> | Its value is nil. >> | >> | Documentation: >> | List of category-specific user overrides for completion styles. >> | Each override has the shape (CATEGORY . ALIST) where ALIST is >> | an association list that can specify properties such as: >> | - =E2=80=98styles=E2=80=99: the list of =E2=80=98completion-styles=E2= =80=99 to use for that >> category. >> | - =E2=80=98cycle=E2=80=99: the =E2=80=98completion-cycle-threshold=E2= =80=99 to use for that >> category. >> | Categories are symbols such as =E2=80=98buffer=E2=80=99 and =E2=80=98f= ile=E2=80=99, used when >> | completing buffer and file names, respectively. >> | This overrides the defaults specified in =E2=80=98completion-category- >> defaults=E2=80=99. >> `---- > > Would this variable have changed after I installed Icicles? No. I just told you in case you want to give icomplete another try. > Its present value is "((buffer (styles basic substring)))". Yes. And its meaning is that with buffer completion, the basic and substring completion styles are used. If you also wanted substring completion for file names, you'd add a similar entry, e.g., (add-to-list 'completion-category-overrides '(file (styles basic substring))) > In any case, installing Icicles appears to give me what I need. Yes, that's another option. Bye, Tassilo