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: RE: make-variable-buffer-local change Date: Fri, 25 Sep 2009 10:35:48 -0700 Message-ID: <6A896C20C65941FE96D239B7E5A1C667@us.oracle.com> References: <200909251609.n8PG97YN020225@godzilla.ics.uci.edu> 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 1253900181 1209 80.91.229.12 (25 Sep 2009 17:36:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 17:36:21 +0000 (UTC) Cc: 'Dan Nicolaescu' , emacs-devel@gnu.org To: "'Juanma Barranquero'" , "'Lennart Borgman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 25 19:36:13 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 1MrEiJ-0002Zn-LS for ged-emacs-devel@m.gmane.org; Fri, 25 Sep 2009 19:36:11 +0200 Original-Received: from localhost ([127.0.0.1]:35092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrEiI-0000dw-Td for ged-emacs-devel@m.gmane.org; Fri, 25 Sep 2009 13:36:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrEiB-0000cn-VB for emacs-devel@gnu.org; Fri, 25 Sep 2009 13:36:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrEi7-0000XI-8r for emacs-devel@gnu.org; Fri, 25 Sep 2009 13:36:03 -0400 Original-Received: from [199.232.76.173] (port=52726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrEi7-0000X3-28 for emacs-devel@gnu.org; Fri, 25 Sep 2009 13:35:59 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:25787) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MrEi6-0001w4-Lb for emacs-devel@gnu.org; Fri, 25 Sep 2009 13:35:58 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8PHZsAx015660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Sep 2009 17:35:55 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8PHZtF6014047; Fri, 25 Sep 2009 17:35:55 GMT Original-Received: from dradamslap1 (/141.144.66.80) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 25 Sep 2009 10:35:50 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Aco+AVCAv+aLqqrtR86BCNQLaSlQfgAA+frQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4ABCFF78.012B: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:115623 Archived-At: > Documentation: > String to display in buffer listings for buffers not > visiting a file. > Dired, shell and other modes use this variable. Interesting that the doc string would say that Dired uses this. It does not, AFAICT - it _sets_ this var, so that others, such as buff-menu can use it. The same thing holds for shell, AFAICT. "Use" here should mean uses the variable to display its value in a buffer listing (as the first part of the doc string suggests). I had to grep the code to see if maybe Dired was now displaying non-file buffers also, a la buff-menu. ;-) IOW, the only modes the doc string mentions as examples of using this variable do not in fact use it - they do not display buffer listings at all. Instead, they merely set the value so that others can use it. The places where this is used are the places where buffers are listed: buff-menu, the menu-bar Buffers menu, and the `C-mouse-1' buffers menu. Please correct the doc string accordingly.