From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#10770: info-display-manual replaces existing *info* buffer Date: Thu, 09 Feb 2012 11:28:03 +0200 Organization: JURTA Message-ID: <87ipjggxuk.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328779934 662 80.91.229.3 (9 Feb 2012 09:32:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 09:32:14 +0000 (UTC) Cc: 10770@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 10:32:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvQMM-0001FY-Vd for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2012 10:32:11 +0100 Original-Received: from localhost ([::1]:50040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvQML-0005a1-RU for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2012 04:32:09 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvQMD-0005YQ-Tj for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 04:32:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvQM7-0001GK-Tz for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 04:32:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvQM7-0001GE-SX for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 04:31:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RvQNB-0000BU-Nz for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 04:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2012 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10770 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10770-submit@debbugs.gnu.org id=B10770.1328779925615 (code B ref 10770); Thu, 09 Feb 2012 09:33:01 +0000 Original-Received: (at 10770) by debbugs.gnu.org; 9 Feb 2012 09:32:05 +0000 Original-Received: from localhost ([127.0.0.1]:33232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvQMG-00009q-6o for submit@debbugs.gnu.org; Thu, 09 Feb 2012 04:32:04 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:55016 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvQMC-00009G-P3; Thu, 09 Feb 2012 04:32:02 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 299E6451C815; Thu, 9 Feb 2012 01:29:29 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Thu, 09 Feb 2012 01:33:40 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56714 Archived-At: 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*" and "*info*" 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)