From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: file path in buffer name Date: Tue, 17 Nov 2009 16:17:29 +0100 Message-ID: References: <87pr7ib39f.fsf@gmail.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 1258471340 20297 80.91.229.12 (17 Nov 2009 15:22:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 15:22:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sean Sieger Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 16:22: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 1NAPrd-0008NW-Qt for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 16:21:06 +0100 Original-Received: from localhost ([127.0.0.1]:36442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAPrc-00057H-Cj for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 10:21:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAPoZ-0003wU-FX for help-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:17:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAPoU-0003uj-5b for help-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:17:55 -0500 Original-Received: from [199.232.76.173] (port=42886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAPoU-0003ue-1M for help-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:17:50 -0500 Original-Received: from mail-gx0-f224.google.com ([209.85.217.224]:48271) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAPoT-0005Gt-Pb for help-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:17:49 -0500 Original-Received: by gxk24 with SMTP id 24so94835gxk.6 for ; Tue, 17 Nov 2009 07:17:49 -0800 (PST) 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=2phjaW9uSqjJDgf3SHoqEUSIGKLMLdvC79uu4amcvHU=; b=YpcDX+QohWSM3CFSMlCSavGZtIipeLttdN9ajS2uiXv67hI2/3XCQzrc2XJyT5RWs+ qiYde/QqMZweq+9yd7wgoHuskqY3H7vc+mDuK8u8/sgN6lfGVwSfJxlZ8q3fBvmznDV4 ye/R4uF3Q9JijcChtldZnYZxbaPMEuzhBT5ps= 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=Yq00OsO5UM2SMC6oPICeLVeVydDp5Ro47CsqgcCIHLn3O1IRB1H9CHOtmugl2vckQE mvP5QkHIAuVkYseCuPEpshBFwMZJ/0XO3nZPA9vGb3WFN+xE/CwzFdN3X4QCss7yjBL+ r3B5J07alsJvFIhvEwafgy0wr1uA6VCpc4q5Q= Original-Received: by 10.101.27.20 with SMTP id e20mr723618anj.137.1258471069181; Tue, 17 Nov 2009 07:17:49 -0800 (PST) In-Reply-To: <87pr7ib39f.fsf@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69830 Archived-At: On Mon, Nov 16, 2009 at 9:53 PM, Sean Sieger wrote: > Lennart Borgman writes: > > =C2=A0 =C2=A0On Mon, Nov 16, 2009 at 8:10 PM, Joost Kremers wrote: > =C2=A0 =C2=A0> matlantis wrote: > =C2=A0 =C2=A0>> So what i need is a method to say emacs to make the buffe= r name looking like > =C2=A0 =C2=A0>> "CMakeLists.txt in ". Even better would be if could be > =C2=A0 =C2=A0>> abbreviated to 30 characters, but thats not important. > =C2=A0 =C2=A0> > =C2=A0 =C2=A0> do M-x customize-variable RET uniquify-buffer-name-style R= ET and select the > =C2=A0 =C2=A0> style you prefer. > > > =C2=A0 =C2=A0Where is that variable defined? It does not seem to be autol= oaded. > > One has to (require 'uniquify), right? =C2=A0It still isn't in the manual= . Yes, currently you have to do (require 'uniquify). However we are talking on Emacs Devel about changing this so that you do not have to do that. You can currently do "M-x customize-group RET uniquify RET" without doing (require 'uniquify). In the future the same may be possible with customize-variable.