Hi,
this might be a small and simple problem --- but (to be honest) it
took me almost a year to figure it out:
The problem
-----------
If you use uniquify, you can allow it to rename the buffer names after
a buffer has been killed:
(setq uniquify-after-kill-buffer-p t)
For example, if you had the buffers: <foo|bar1> and <foo|bar2>, and
now you killed <foo|bar2>, uniquify will automatically rename
<foo|bar1> to <foo>.
However, if you do this, info will be broken. This is because AFTER A
WHILE the *info* buffer is renamed to the name of the currently
visited info-file. A new call of F1-i then messes up everything, the
history is broken, links are broken, etc.
The problem is that uniquify renames ALL buffers after any buffer has
been killed, including the *info* buffer (it usually renames it to the
name of the info file).
The solution
------------
... is simple. One can exclude the info buffer from being renamed by
setting:
(setq uniquify-ignore-buffers-re "^\\*info\\*$")
I found this problem hard to track because it shows up only after a
while (when I killed some buffer) --- I always suspected my info-dir
settings to be somehow erroneous. Therefore, I would like to suggest
to make this setting the default for uniquify-ignore-buffers-re
(instead of nil):
======================================================================
--- uniquify.orig Mon Oct 1 22:51:41 2001
+++ uniquify.el Mon Oct 1 22:52:16 2001
@@ -127,7 +127,7 @@
:type 'boolean
:group 'uniquify)
-(defcustom uniquify-ignore-buffers-re nil
+(defcustom uniquify-ignore-buffers-re "^\\*info\\*$"
"*Regular expression matching buffer names that should not be uniquified.
For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename
draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the
======================================================================
???
Cheers
Volker
--
___________________________________________________________
Volker Franz
Max-Planck-Institut fuer biologische Kybernetik
Spemannstr. 38
72076 Tuebingen
Tel : ++49 (0)7071/601-606
Fax : ++49 (0)7071/601-616
mailto:volker.franz@tuebingen.mpg.de
http://www.kyb.tuebingen.mpg.de/bu
___________________________________________________________