[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 22.2.1 desktop / uniquify: wrong buffer naming for multiple files of
From: |
Stefan Monnier |
Subject: |
Re: 22.2.1 desktop / uniquify: wrong buffer naming for multiple files of the same name |
Date: |
Tue, 29 Apr 2008 03:10:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
ELISP> (find-file-noselect "c:/test/a/jack.txt")
> #<buffer a/jack.txt>
ELISP> (with-current-buffer (get-buffer "a/jack.txt")
> (rename-buffer "jack.txt" t))
> "a/jack.txt"
ELISP> (find-file-noselect "c:/test/b/jack.txt")
> #<buffer b/jack.txt>
ELISP> (with-current-buffer (get-buffer "b/jack.txt")
> (rename-buffer "jack.txt" t))
> "b/jack.txt"
> However:
ELISP> (find-file-noselect "c:/test/b/jack.txt")
> #<buffer b/jack.txt>
ELISP> (with-current-buffer (get-buffer "b/jack.txt")
> (rename-buffer "jack.txt" t))
> "b/jack.txt"
ELISP> (find-file-noselect "c:/test/a/jack.txt")
> #<buffer a/jack.txt>
ELISP> (with-current-buffer (get-buffer "a/jack.txt")
> (rename-buffer "jack.txt" t))
> "jack.txt"
> Stefan, can you take a look at it?
I believe this case now works correctly,
Stefan