From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Confusing completion for buffer names Date: Fri, 18 Jun 2010 19:47:46 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1276904883 13945 80.91.229.12 (18 Jun 2010 23:48:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 23:48:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 19 01:48:00 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPlI0-0004zJ-7T for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 01:48:00 +0200 Original-Received: from localhost ([127.0.0.1]:43295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPlHy-0005Zt-Jl for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 19:47:58 -0400 Original-Received: from [199.232.76.173] (port=48128 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPlHu-0005Zo-3i for emacs-devel@gnu.org; Fri, 18 Jun 2010 19:47:54 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OPlHs-00049o-Tt for emacs-devel@gnu.org; Fri, 18 Jun 2010 19:47:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33102) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OPlHs-00049h-JA for emacs-devel@gnu.org; Fri, 18 Jun 2010 19:47:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OPlHm-0006ND-GF; Fri, 18 Jun 2010 19:47:46 -0400 In-reply-to: (message from Stefan Monnier on Fri, 18 Jun 2010 01:52:38 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126196 Archived-At: > If there is no buffer name starting with `*l', I want it to say > `[No match]' -- not give me `*mail*'. One way to do that would be to have read-buffer change `completion-styles'. E.g. it could replace partial-completion by substring (which I think is also more useful for buffer completion). That would do the job. However, I think the general change I proposed is better. It is, "If a * can be interpreted as a literal match, interpret it that way. Otherwise it can be the special completion feature."