From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: read-buffer-completion-ignore-case Date: Tue, 5 May 2009 10:46:22 -0700 Message-ID: <002501c9cda9$68ef7360$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241545673 20842 80.91.229.12 (5 May 2009 17:47:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 17:47:53 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 19:47:46 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 1M1Oj9-00034a-62 for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 19:46:47 +0200 Original-Received: from localhost ([127.0.0.1]:56631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Oj8-0000Iy-Op for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 13:46:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1Oiy-0000EC-FU for emacs-devel@gnu.org; Tue, 05 May 2009 13:46:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1Oit-0000C2-O1 for emacs-devel@gnu.org; Tue, 05 May 2009 13:46:36 -0400 Original-Received: from [199.232.76.173] (port=34000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Oit-0000By-G6 for emacs-devel@gnu.org; Tue, 05 May 2009 13:46:31 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:59636) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1Oit-00020j-1Y for emacs-devel@gnu.org; Tue, 05 May 2009 13:46:31 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n45Hke2W029936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 May 2009 17:46:41 GMT Original-Received: from abhmt008.oracle.com (abhmt008.oracle.com [141.146.116.17]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n45HkgSs013984 for ; Tue, 5 May 2009 17:46:42 GMT Original-Received: from dradamslap1 (/141.144.66.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 May 2009 10:46:23 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcnNqWdJ0AXDiECsRhGRJUY8KAwiQQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: abhmt008.oracle.com [141.146.116.17] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020A.4A007B6F.0344:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:110684 Archived-At: There is no real use of `read-buffer-completion-ignore-case' in the Emacs Lisp files, and I haven't bothered to download the C source code to check all the places it might be used (besides `read-buffer'). Question: How can Emacs-Lisp code know whether completion involves buffer names? Suppose I want to do something depending on the value of `read-buffer-completion-ignore-case', but only when completion is for buffer names - how can I test that? It's relatively easy to test for file-name completion, but how to do that for buffer-name completion?