bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to view two info files at the same time?


From: Kevin Rodgers
Subject: Re: How to view two info files at the same time?
Date: Fri, 9 Apr 2004 15:57:48 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]