From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: read-buffer-completion-ignore-case Date: Wed, 06 May 2009 12:00:43 +0900 Message-ID: <87zldrgckk.fsf@catnip.gol.com> References: <002501c9cda9$68ef7360$0200a8c0@us.oracle.com> <87k54vhskw.fsf@catnip.gol.com> <000e01c9cdf3$b810b720$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241578888 13011 80.91.229.12 (6 May 2009 03:01:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 03:01:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 06 05:01:18 2009 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 1M1XNg-0004lY-LC for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 05:01:13 +0200 Original-Received: from localhost ([127.0.0.1]:45035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1XNg-0000hi-Ay for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 23:01:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1XNZ-0000gW-SP for emacs-devel@gnu.org; Tue, 05 May 2009 23:01:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1XNV-0000en-16 for emacs-devel@gnu.org; Tue, 05 May 2009 23:01:05 -0400 Original-Received: from [199.232.76.173] (port=56516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1XNU-0000ei-RT for emacs-devel@gnu.org; Tue, 05 May 2009 23:01:00 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:55145 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1XNU-00074q-84 for emacs-devel@gnu.org; Tue, 05 May 2009 23:01:00 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M1XNO-00049r-OW for emacs-devel@gnu.org; Wed, 06 May 2009 03:00:54 +0000 Original-Received: from 218.231.212.123.eo.eaccess.ne.jp ([218.231.212.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 03:00:54 +0000 Original-Received: from miles by 218.231.212.123.eo.eaccess.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 03:00:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 218.231.212.123.eo.eaccess.ne.jp System-Type: x86_64-unknown-linux-gnu Cancel-Lock: sha1:12N9BQ9yMT72vmPsR7HmcoOhffk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:110709 Archived-At: "Drew Adams" writes: >> Do you really need to know explicitly? Could you instead just test >> `completion-ignore-case', which is let-bound to the value of >> read-buffer-completion-ignore-case inside of read-buffer? > > Not sure I follow you. Do you mean compare the values of > `completion-ignore-case' and `read-buffer-completion-ignore-case', and > assume that a buffer name is being read if (and only if) they are > different? No, I mean, make your code generic, and only pay attention to `completion-ignore-case', as it will have the correct value in the various different circumstances. > For what I have in mind that test wouldn't be sufficient. I really > want to know whether buffer-name completion is happening. Why? Maybe the fact that you want to know indicates the completion interface is missing something... -Miles -- Selfish, adj. Devoid of consideration for the selfishness of others.