GNU bug report logs - #10770
info-display-manual replaces existing *info* buffer

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10770 <at> debbugs.gnu.org, rgm <at> gnu.org
Subject: bug#10770: info-display-manual replaces existing *info* buffer
Date: Thu, 09 Feb 2012 20:43:16 +0200
> From: Juri Linkov <juri <at> jurta.org>
> Date: Thu, 09 Feb 2012 11:28:03 +0200
> Cc: 10770 <at> debbugs.gnu.org
> 
> > 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?

How would that help?

> 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*")))))

Thanks.




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.