From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alain Ketterlin Newsgroups: gmane.emacs.help Subject: Re: file path in buffer name Date: Mon, 16 Nov 2009 20:11:26 +0100 Organization: Universites Paris VI/Paris VII - France Message-ID: <87einyl1y9.fsf@dpt-info.u-strasbg.fr> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258406481 6301 80.91.229.12 (16 Nov 2009 21:21:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 21:21:21 +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 Nov 16 22:21:13 2009 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 1NA90T-000713-6f for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Nov 2009 22:21:05 +0100 Original-Received: from localhost ([127.0.0.1]:41933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA90S-00056m-NI for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Nov 2009 16:21:04 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!news.ecp.fr!jussieu.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: mob22.u-strasbg.fr Original-X-Trace: vishnu.jussieu.fr 1258398686 98015 130.79.6.151 (16 Nov 2009 19:11:26 GMT) Original-X-Complaints-To: usenet@vishnu.jussieu.fr Original-NNTP-Posting-Date: Mon, 16 Nov 2009 19:11:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:7t4PgNk79QpPQxnyNEqzcx4DTc0= Original-Xref: news.stanford.edu gnu.emacs.help:174718 X-Mailman-Approved-At: Mon, 16 Nov 2009 16:20:43 -0500 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:69801 Archived-At: matlantis writes: > i have to edit multiple files with the same file name (CMakeLists.txt) and > since emacs gives the buffer the name of the file and adding a number to it, > it is very hard to decide with buffer has which file. > > So what i need is a method to say emacs to make the buffer name looking like > "CMakeLists.txt in ". Even better would be if could be > abbreviated to 30 characters, but thats not important. M-x customize-group RET uniquify RET should let you change and save the settings. -- Alain.