From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.devel Subject: Re: buffer name completion is case-sensitive now Date: Sun, 8 Jun 2008 22:21:28 +0100 Message-ID: <312B0551-782A-4E7B-BFF9-8D511D9398AA@pobox.com> References: <002201c8c986$68802b90$0200a8c0@us.oracle.com><002501c8c98f$d66552d0$0200a8c0@us.oracle.com><85lk1f94vr.fsf@lola.goethe.zz><85hcc39455.fsf@lola.goethe.zz> <000101c8c99c$db56a930$0200a8c0@us.oracle.com> <000301c8c9a1$486e87a0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212960136 5116 80.91.229.12 (8 Jun 2008 21:22:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 21:22:16 +0000 (UTC) Cc: Richard G Riley , Emacs-Devel To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 08 23:22:58 2008 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.50) id 1K5SLm-00047Y-4S for ged-emacs-devel@m.gmane.org; Sun, 08 Jun 2008 23:22:54 +0200 Original-Received: from localhost ([127.0.0.1]:41380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5SKy-0003YL-Ih for ged-emacs-devel@m.gmane.org; Sun, 08 Jun 2008 17:22:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5SKs-0003Xj-T0 for emacs-devel@gnu.org; Sun, 08 Jun 2008 17:21:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5SKr-0003X0-0P for emacs-devel@gnu.org; Sun, 08 Jun 2008 17:21:58 -0400 Original-Received: from [199.232.76.173] (port=58338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5SKq-0003Ww-T1 for emacs-devel@gnu.org; Sun, 08 Jun 2008 17:21:56 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:52291 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5SKr-000330-5g for emacs-devel@gnu.org; Sun, 08 Jun 2008 17:21:57 -0400 Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 5EFF6390C; Sun, 8 Jun 2008 17:21:56 -0400 (EDT) Original-Received: from mini.home (host81-158-23-41.range81-158.btcentralplus.com [81.158.23.41]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 998C3390B; Sun, 8 Jun 2008 17:21:51 -0400 (EDT) In-Reply-To: <000301c8c9a1$486e87a0$0200a8c0@us.oracle.com> X-Mailer: Apple Mail (2.919.2) X-Pobox-Relay-ID: EC234BC2-35A0-11DD-993A-F9737025C2AA-02562057!a-sasl-fastnet.pobox.com X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:98729 Archived-At: On 8 Jun 2008, at 20:53, Drew Adams wrote: > I said: > >> I think we should add a user option for this, similar to >> `read-file-name-completion-ignore-case': >> `buffer-name-completion-ignore-case'. > > Implementation of respect for such an option would likely be limited > to > `read-buffer' and `interactive' buffer specs ("B" and "b"). > > Unlike the case for `read-file-name' and > `read-file-name-completion-ignore-case', it is impossible for > `completing-read' > to reliably determine whether its completion candidates are (all) > buffer names. Hm. I guess people should call `read-buffer' when they want a buffer name and frob `read-buffer-function' to change its behaviour. I'll propose a simple `read-buffer-completion-ignore-case' change in a minute.