unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in uniquify-buffer-name-style's doc-string
@ 2007-07-18 12:40 Tassilo Horn
  2007-07-18 13:39 ` Tassilo Horn
  2007-07-18 19:00 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Tassilo Horn @ 2007-07-18 12:40 UTC (permalink / raw)
  To: emacs-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-18 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18 12:40 Bug in uniquify-buffer-name-style's doc-string Tassilo Horn
2007-07-18 13:39 ` Tassilo Horn
2007-07-18 19:00 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).