unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sean Sieger <sean.sieger@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: file path in buffer name
Date: Mon, 16 Nov 2009 14:38:47 -0500	[thread overview]
Message-ID: <87tywub6pk.fsf@gmail.com> (raw)
In-Reply-To: 26369589.post@talk.nabble.com

matlantis <matlantis@gmx.de> writes:

    So what i need is a method to say emacs to make the buffer name
    looking like "CMakeLists.txt in <path>". Even better would be if
    <path> could be abbreviated to 30 characters, but thats not
    important.

    I have no experience in elisp programming, please can anybody
    explain to me, what to put in my .emacs file to give emacs the
    desired behavior?

I have

(require 'uniquify)
(setq uniquify-buffer-name-style 'forward)

in my dotemacs.  It gives me enough in buffer names to discern the
difference between two identically named files.

But see (info "(emacs) Uniquify")
                                 ^
                                  do C-x C-e here.





  parent reply	other threads:[~2009-11-16 19:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 10:21 file path in buffer name matlantis
2009-11-16 18:42 ` Drew Adams
2009-11-16 19:48   ` suvayu ali
2009-11-16 19:38 ` Sean Sieger [this message]
2009-11-16 19:44 ` Peter Dyballa
2009-11-17 10:39 ` matlantis
     [not found] ` <mailman.10881.1258454397.2239.help-gnu-emacs@gnu.org>
2009-11-29  7:19   ` Barrie
     [not found] <mailman.10818.1258395337.2239.help-gnu-emacs@gnu.org>
2009-11-16 19:10 ` Joost Kremers
2009-11-16 20:07   ` Lennart Borgman
2009-11-16 20:21     ` Peter Dyballa
2009-11-16 20:53     ` Sean Sieger
2009-11-16 21:23       ` Xavier Maillard
2009-11-17 15:17       ` Lennart Borgman
2009-11-17 15:31         ` Sean Sieger
2009-11-17 15:36           ` Lennart Borgman
2009-11-17 16:12             ` Sean Sieger
2009-11-17 16:22               ` Lennart Borgman
2009-11-17 16:49                 ` Sean Sieger
2009-11-17 16:55                   ` Lennart Borgman
2009-11-17 20:54                     ` Sean Sieger
2009-11-17 21:16                       ` Lennart Borgman
2009-11-17 21:40                         ` Drew Adams
2009-11-17 22:01                           ` Sean Sieger
2009-11-17 22:16                             ` Drew Adams
2009-11-17 23:02                               ` Sean Sieger
     [not found]     ` <mailman.10847.1258404828.2239.help-gnu-emacs@gnu.org>
2009-11-17  7:31       ` Joost Kremers
2009-11-17 14:43         ` Sean Sieger
     [not found]   ` <mailman.10839.1258402065.2239.help-gnu-emacs@gnu.org>
2009-11-17  7:27     ` Joost Kremers
2009-11-16 19:11 ` Alain Ketterlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tywub6pk.fsf@gmail.com \
    --to=sean.sieger@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).