I am glad you like the suggestion!
>>>> "n" == nix <nix(a)esperi.demon.co.uk>
writes:
n> This is still not ideal, because the real criterion is
n> `buffers whose mode is Info-mode'; this will still break
n> people who rename their Info buffers themselves.
You are right. I included your patch to my uniquify.el and it works
for me so far.
One more idea (for generality): One could restrict uniquify to
change only buffers for which the basename corresponds to the
visited file. Example:
buffer-base-name file-name change-allowed
-----------------------------------------------------------
*info* new-users-guide.info-1 no
*info* dir no
foo ~/bar1/foo yes
foo ~/bar2/foo yes
I think this would solve the problem without having to explicitly
specify which modes (or files) should be excluded... But I do not know
how much coding effort this would be (and unfortunately will have no
time to check during the next weeks :-(
Volker
--