emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in uniquify-buffer-name-style's doc-string


From: Tassilo Horn
Subject: Bug in uniquify-buffer-name-style's doc-string
Date: Wed, 18 Jul 2007 14:40:22 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Hi,

the documentation of that variable says:

,----[ C-h v uniquify-buffer-name-style RET ]
| uniquify-buffer-name-style is a variable defined in `uniquify.el'.
| Its value is forward
| 
| 
| Documentation:
| *If non-nil, buffer names are uniquified with parts of directory name.
| The value determines the buffer name style and is one of `forward',
| `reverse', `post-forward', or `post-forward-angle-brackets'.
| For example, files `/foo/bar/mumble/name' and `/baz/quux/mumble/name'
| would have the following buffer names in the various styles:
|   forward        bar/mumble/name  quux/mumble/name
|   reverse        name\mumble\bar  name\mumble\quux
|   post-forward   name|bar/mumble  name|quux/mumble
|   post-forward-angle-brackets   name<bar/mumble>  name<quux/mumble>
|   nil            name  name<2>
`----

I think that's wrong. Currently I have two open files

  /home/heimdall/uni/repos/st-ss07/tichy/comments/blatt09.txt
  /home/heimdall/uni/repos/st-ss07/torvalds/comments/blatt09.txt

According to the documentation the buffer names should be

  tichy/comments/blatt09.txt
  torvalds/comments/blatt09.txt

but instead they are

  tichy/blatt09.txt
  torvalds/blatt09.txt

I like the current behavior better than the documented one, because
it offers shorter buffer names. So fixing the doc string should be the
only thing that's needed.

Bye,
Tassilo
-- 
People say that  if you play Microsoft CD's  backwards, you hear satanic
things,  but that's  nothing, because  if you  play them  forwards, they
install Windows.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]