From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Maxwell Newsgroups: gmane.emacs.help Subject: Re: Anything like this exist already? (buffer name intelligence) Date: Fri, 11 Jan 2008 11:19:07 -0800 (PST) Organization: http://groups.google.com Message-ID: <79a63fc3-58eb-4fd1-ac35-71cda0cefb41@t1g2000pra.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200080483 30523 80.91.229.12 (11 Jan 2008 19:41:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 19:41:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 20:41:44 2008 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.50) id 1JDPl8-0002Wn-Mh for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jan 2008 20:41:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDPkl-0003HP-0g for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jan 2008 14:41:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!t1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 69.181.186.20 Original-X-Trace: posting.google.com 1200079147 16224 127.0.0.1 (11 Jan 2008 19:19:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 11 Jan 2008 19:19:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t1g2000pra.googlegroups.com; posting-host=69.181.186.20; posting-account=lKQJagoAAADFns7VnRk3yYRQBSft9QhB User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155248 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:50664 Archived-At: On Jan 11, 11:08 am, Joost Kremers wrote: > Aaron Maxwell wrote: > mmm. i have the following in my .emacs: > > (toggle-uniquify-buffer-names) > which seems to do the same thing, only automatically. (it even renames the > buffer back to __init__.py when only one such file is left open.) Oh that's perfect. Exactly what I'm looking for. Automatic renaming was what I was going to add next, but now I don't have to. > > Am I reinventing the wheel here? > looks like it. ;-) At least I had fun doing it :) Thanks Joost. -Aaron