From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: How to view two info files at the same time? Date: Fri, 9 Apr 2004 15:57:48 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16503.7260.313696.171759@ihs.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1081548366 11686 80.91.224.253 (9 Apr 2004 22:06:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Apr 2004 22:06:06 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 10 00:05:58 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BC48M-0003cj-00 for ; Sat, 10 Apr 2004 00:05:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BC46Y-00065w-0k for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Apr 2004 18:04:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BC45L-0005MP-T8 for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2004 18:02:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BC44Y-0004Xr-I6 for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2004 18:02:34 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BC43j-0003vq-1o for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2004 18:01:11 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BC43i-0000on-Rc for gnu-emacs-bug@gnu.org; Fri, 09 Apr 2004 18:01:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BC42r-0003KI-6C for gnu-emacs-bug@gnu.org; Fri, 09 Apr 2004 18:00:49 -0400 Original-Received: from [170.207.70.222] (helo=mail1.ihs.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BC42q-0003J8-59 for gnu-emacs-bug@gnu.org; Fri, 09 Apr 2004 18:00:16 -0400 Original-Received: from briard.ihs.com (esd80.ihs.com [170.207.51.80]) by mail1.ihs.com (8.12.10/8.12.10) with SMTP id i39LvZ1o008737 for ; Fri, 9 Apr 2004 15:57:35 -0600 (MDT) Original-To: gnu-emacs-bug@gnu.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.bug Original-Followup-To: gnu.emacs.bug Original-Lines: 26 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: news.uni-berlin.de 1079022225 66562360 I 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-IHS-MailScanner-Envelope-Sender: kevinr@ihs.com X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:7544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7544 [Followup-To: gnu.emacs.bug] Jesper Harder wrote: > Press `M-n' (clone-buffer) in the Info buffer -- then you can browse > two Info files at the same time. `C-h i M-n' gives me a frame split into 2 windows, with the top window displaying the *info* buffer and the bottom selected window displaying the *info*<2> buffer. Then I type `C-u C-h i /foo/bar.info RET' expecting to replace the contents of *info*<2> with /foo/bar.info, but instead both windows now display the *info* buffer, which now contains /foo/bar.info (the contents of *info*<2> are unchanged and it's not displayed). I think (pop-to-buffer "*info*") when FILE is specified for `M-x info' should be (or (eq major-mode 'Info-mode) (pop-to-buffer "*info*")), just like it is in Info-find-node. And I don't know why the same change could not be made to Info-goto-emacs-command-node, which contains this: ;; FIXME It would be cool if this could use a buffer other ;; than *info*. (pop-to-buffer "*info*") -- Kevin Rodgers