From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie <acm@muc.de> Newsgroups: gmane.emacs.bugs Subject: bug#5529: `uniquify-buffer-name-style' doesn't exist Date: Sat, 6 Feb 2010 18:17:48 +0000 Message-ID: <20100206181748.GB2157@muc.de> References: <20100205151859.GA7866@muc.de> <e01d8a51002050756v21f49824xaeb9cc5ba8ef048e@mail.gmail.com> <20100205181742.GB7866@muc.de> <e01d8a51002051018p3aeafadcoa428dcc405a2e407@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265480897 15282 80.91.229.12 (6 Feb 2010 18:28:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2010 18:28:17 +0000 (UTC) Cc: 5529@debbugs.gnu.org To: Lennart Borgman <lennart.borgman@gmail.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 06 19:28:14 2010 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org> Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>) id 1NdpO9-0002xD-Gr for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Feb 2010 19:28:13 +0100 Original-Received: from localhost ([127.0.0.1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdpO8-0002Gy-Te for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Feb 2010 13:28:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdpNm-00022o-LS for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 13:27:50 -0500 Original-Received: from [199.232.76.173] (port=36250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdpNm-00022D-4l for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 13:27:50 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1NdpNi-0007Fr-07 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 13:27:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35983) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1NdpNh-0007Fb-Ds for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 13:27:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1Ndp7W-0000UJ-1Z; Sat, 06 Feb 2010 13:11:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Alan Mackenzie <acm@muc.de> Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2010 18:11:02 +0000 Resent-Message-ID: <handler.5529.B5529.12654798561867@debbugs.gnu.org> Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5529 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5529-submit@debbugs.gnu.org id=B5529.12654798561867 (code B ref 5529); Sat, 06 Feb 2010 18:11:02 +0000 Original-Received: (at 5529) by debbugs.gnu.org; 6 Feb 2010 18:10:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1Ndp7Q-0000U4-1t for submit@debbugs.gnu.org; Sat, 06 Feb 2010 13:10:56 -0500 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <acm@muc.de>) id 1Ndp7O-0000Tv-17 for 5529@debbugs.gnu.org; Sat, 06 Feb 2010 13:10:54 -0500 Original-Received: (qmail 51455 invoked by uid 3782); 6 Feb 2010 18:10:48 -0000 Original-Received: from acm.muc.de (pD9E52661.dip.t-dialin.net [217.229.38.97]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 06 Feb 2010 19:10:47 +0100 Original-Received: (qmail 3497 invoked by uid 1000); 6 Feb 2010 18:17:48 -0000 Content-Disposition: inline In-Reply-To: <e01d8a51002051018p3aeafadcoa428dcc405a2e407@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 06 Feb 2010 13:11:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe> Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34930 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/34930> Hi, Lennart, On Fri, Feb 05, 2010 at 07:18:28PM +0100, Lennart Borgman wrote: > On Fri, Feb 5, 2010 at 7:17 PM, Alan Mackenzie <acm@muc.de> wrote: > > On Fri, Feb 05, 2010 at 04:56:20PM +0100, Lennart Borgman wrote: > >> On Fri, Feb 5, 2010 at 4:18 PM, Alan Mackenzie <acm@muc.de> wrote: > >> > On the Emacs manual page "Uniquify" ("Making Buffer Names > >> > Unique"), it says you can change the style of buffer names like > >> > foo.c<2> by customising the variable > >> > `uniquify-buffer-name-style'. > >> > This variable doesn't exist. It didn't exist in Emacs 22 or > >> > Emacs 21 either. > >> > My feeling is that it is the code rather than the manual which is > >> > at fault. :-) > >> Something is wrong... ;-) > >> On line 95 in uniquify.el there is something looking pretty much > >> like that variable... > > Yes, thanks. I found that variable by grepping all the sources. > > To get access to it, you've got to do M-: (require uniquify), > > which is surely something a "mere" user shouldn't have to do. > > There also seems to be something about it in menu-bar.el, but I > > haven't quite figured out what. > > It just seems very, very strange. > Yes, I know. We have been discussing this problem here: > http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00504.html > It seems like it is up to me to continue with this. As I have said > before I would appreciate some help. Seems to me that what's wanted is an autoload for variables, just like we've got for functions/macros. Or have we got this already? Then when anybody tries to access this variable in any way, uniquify.elc would get loaded. -- Alan Mackenzie (Nuremberg, Germany).