GNU bug report logs -
#10770
info-display-manual replaces existing *info* buffer
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 9 Feb 2012 06:35:01 UTC
Severity: wishlist
Tags: patch
Found in version 24.0.93
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at control <at> debbugs.gnu.org (full text, mbox):
tags 10770 patch
thanks
> M-x info-display-manual RET gnus RET
> M-x info-display-manual RET emacs RET
>
> Now my Gnus manual is gone, replaced by the Emacs manual.
> I expected it to use a new buffer for the Emacs manual.
Maybe it would be good to append manual names to buffer names
as suffixes like "*info*<gnu>" and "*info*<emacs>" to make
unique and recognizable buffer names?
But since currently uniqueness is provided by adding a number
like "*info*<2>", the following patch will work with the
current naming convention:
=== modified file 'lisp/info.el'
--- lisp/info.el 2012-01-25 17:54:01 +0000
+++ lisp/info.el 2012-02-09 09:27:10 +0000
@@ -4999,7 +5005,7 @@ (defun info-display-manual (manual)
(if found
(switch-to-buffer found)
(info-initialize)
- (info (Info-find-file manual)))))
+ (info (Info-find-file manual) (generate-new-buffer-name "*info*")))))
(provide 'info)
This bug report was last modified 12 years and 253 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.