From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: make-variable-buffer-local change Date: Sat, 26 Sep 2009 03:42:15 +0200 Message-ID: References: <200909251609.n8PG97YN020225@godzilla.ics.uci.edu> <6A896C20C65941FE96D239B7E5A1C667@us.oracle.com> <83fxaau9hd.fsf@gnu.org> <9D911504D7AD429189A20B200265EC58@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253929378 14092 80.91.229.12 (26 Sep 2009 01:42:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2009 01:42:58 +0000 (UTC) Cc: Eli Zaretskii , dann@ics.uci.edu, lennart.borgman@gmail.com, Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 26 03:42:51 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 1MrMJF-0000TD-T5 for ged-emacs-devel@m.gmane.org; Sat, 26 Sep 2009 03:42:50 +0200 Original-Received: from localhost ([127.0.0.1]:57718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrMJF-0007hV-2K for ged-emacs-devel@m.gmane.org; Fri, 25 Sep 2009 21:42:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrMJB-0007hL-7b for emacs-devel@gnu.org; Fri, 25 Sep 2009 21:42:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrMJ6-0007fn-Q6 for emacs-devel@gnu.org; Fri, 25 Sep 2009 21:42:44 -0400 Original-Received: from [199.232.76.173] (port=52330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrMJ6-0007fk-LD for emacs-devel@gnu.org; Fri, 25 Sep 2009 21:42:40 -0400 Original-Received: from mail-fx0-f205.google.com ([209.85.220.205]:58471) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrMJ2-0003i0-V5; Fri, 25 Sep 2009 21:42:37 -0400 Original-Received: by fxm1 with SMTP id 1so2559083fxm.31 for ; Fri, 25 Sep 2009 18:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=J91F+bLc59uOZyfN7t7a01ApY4O8h4JvCO+V15DPLOc=; b=PL/vlmvcNqDaPYWTxAaMGqP/g/M3cOQCcnLNjTEO8KBqMJtkUBXVJfrcJEP/v02q49 9cZi8ct0B+dIpDpMrdzsTvo9hkk13X7VsbGmaZqMpoZ9ua1W1agN8Jtc3I6jwv78x6Zy 18OdTkDAkU3KOGS4UnnpNQ/XrU0Dqx5pS5hx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=FkeH5ytJVTQ/aBr4C2ovrnrUb7ij21PFCzDU3x0RXGUhr6csyAGrTVa8Y3BCm7TFW/ 9oLUSoLW4FOEV0ZH7KWg0R4ThwGe/2RYyJqWbHCKZXg+oJHC8SXefRXmbc59rFhWG3Gr VDV9AfL5WmKoWpY8KqgrLoYpGwTfFQjyMafBE= Original-Received: by 10.239.183.21 with SMTP id s21mr74879hbg.5.1253929355074; Fri, 25 Sep 2009 18:42:35 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:115648 Archived-At: On Sat, Sep 26, 2009 at 03:30, Stefan Monnier wr= ote: > I understand you. =C2=A0But currently, nobody really knows what > list-buffers-directory is for. The elisp ref says: -- Variable: list-buffers-directory This buffer-local variable specifies a string to display in a buffer listing where the visited file name would go, for buffers that don't have a visited file name. Dired buffers use this variable. and that's how list-buffers, ibuffer and now bs use it. It makes sense. > Then uniquify appeared and abused it for some slightly different purpose [...] > Maybe 2 variables are in order, or maybe the > shell-mode case (which shouldn't influence uniquify) should use > a different value than just a string, so uniquify can tell whether to > use the value or not without having to check the major-mode. I think uniquify should use another variable. > Also its name should be changed because it's not just for "list-buffers" > any more. =C2=A0Maybe buffer-file-name-replacement or > pseudo-buffer-file-name, or buffer-quasi-file-name, or ... The way it is used (other than in uniquify), it's more of a directory than a filename, I think. buffer-working-directory, something like that, perhaps. Juanma