bug-gnu-emacs
[Top][All Lists]
Advanced

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

22.2.1 desktop / uniquify: wrong buffer naming for multiple files of the


From: Martin Fischer
Subject: 22.2.1 desktop / uniquify: wrong buffer naming for multiple files of the same name
Date: Thu, 24 Apr 2008 08:42:03 +0100
User-agent: Emacs Gnus

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

######################################################################

Consider the attached .emacs in an otherwise empty home directory.

Edit files of the same name residing in different directories.

For example:

  c:\emacs-22.2\bin\runemacs.exe c:\test\a\jack.txt c:\test\b\jack.txt

  M-x list-buffers RET

  .   jack.txt\b               0  Text            c:/test/b/jack.txt
      jack.txt\a               0  Text            c:/test/a/jack.txt
      *scratch*                0  Lisp Interaction
    * *Messages*             243  Fundamental

  C-x C-c

The resulting .emacs.desktop is attached.

Restart emacs like this:

  c:\emacs-22.2\bin\runemacs.exe

  M-x list-buffers

  .   jack.txt\b               0  Text            c:/test/b/jack.txt
      jack.txt                 0  Text            c:/test/a/jack.txt
      *scratch*                0  Lisp Interaction
    * *Messages*             280  Fundamental


Note the different naming of file c:/test/a/jack.txt.

If you edit more than two files of the same name every other buffer is
named the conventional way like jack.txt<2> and so on.

######################################################################

Attachment: .emacs
Description: Binary data

Attachment: .emacs.desktop
Description: Binary data


reply via email to

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