From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Possible to hook into Emacs's buffer name generation? Date: Sun, 20 Feb 2011 20:32:24 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298252592 11507 80.91.229.12 (21 Feb 2011 01:43:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 01:43:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 21 02:43:08 2011 Return-path: Envelope-to: geh-help-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 ) id 1PrKnp-0002eT-Vl for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Feb 2011 02:43:07 +0100 Original-Received: from localhost ([127.0.0.1]:55161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrKlb-0002tv-8Z for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Feb 2011 20:40:47 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!newsfeed.freenet.ag!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Injection-Info: mx01.eternal-september.org; posting-host="8rJU2xv0SCbyr2uP0vLDYw"; logging-data="23651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19N2IsiRQEwZ16cI0yl48FL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NBd6oi4M3LaINiO4mZkHvLOa2Pc= sha1:jVb4TFM1s4xERtJsap2umzhLYzY= Original-Xref: usenet.stanford.edu gnu.emacs.help:185112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79273 Archived-At: > I hadn't known of uniquify, but after some experimentation it seems not > to offer everything I'd like. In particular, I want a trailing > component-x.y.z on the buffer name even when I'm not already visiting > the same file in a different directory. uniquify only steps in when > there's a name conflict. Depending on your needs, uniquify-min-dir-content might do the trick. Stefan