unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: 10770@debbugs.gnu.org
Subject: bug#10770: info-display-manual replaces existing *info* buffer
Date: Thu, 09 Feb 2012 20:43:16 +0200	[thread overview]
Message-ID: <83mx8ralvf.fsf@gnu.org> (raw)
In-Reply-To: <87ipjggxuk.fsf@mail.jurta.org>

> From: Juri Linkov <juri@jurta.org>
> Date: Thu, 09 Feb 2012 11:28:03 +0200
> Cc: 10770@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.





  reply	other threads:[~2012-02-09 18:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09  6:33 bug#10770: info-display-manual replaces existing *info* buffer Glenn Morris
2012-02-09  9:28 ` Juri Linkov
2012-02-09 18:43   ` Eli Zaretskii [this message]
2012-02-09 18:36 ` Eli Zaretskii
2012-02-09 18:46   ` Glenn Morris
2012-02-09 18:53     ` Glenn Morris
2012-02-09 19:05       ` Eli Zaretskii
2012-02-09 19:16         ` Drew Adams
2012-02-09 19:19         ` Glenn Morris
2012-02-09 22:04           ` Eli Zaretskii
2012-02-09 19:23       ` Glenn Morris
2012-02-10 10:14         ` Juri Linkov
2012-02-10 15:13         ` Stefan Monnier
2012-02-09 19:04     ` Eli Zaretskii
2012-12-02  6:24       ` Chong Yidong
2012-02-10 15:15     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mx8ralvf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10770@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).