unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Bruce Korb'" <bruce.korb@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: How can I select a .info file for info mode?
Date: Sun, 28 Dec 2008 10:07:37 -0800	[thread overview]
Message-ID: <003b01c96917$2afc6c80$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <000b01c968c1$01ac3690$0200a8c0@us.oracle.com>

I wrote:

> > It used to be the case that ``ESC-2 CTL-h i'' gave me the 
> > opportunity to select the .info file to use for info mode.
> > Not any more. Plowing through the docs doesn't give me a
> > good enough hint about how to do it either.  Please tell
> > me there is still a way to do this?
> > Searching keybindings did not yield anything promising either.
> > I guess I could read the elisp for the previous emacs and my current
> > one, but that is too far over the top for me.  I don't grok elisp
> > very well anyway.
> 
> Yes, `ESC-2 C-h i' (or `M-2 C-h i') works in Emacs before the 
> Emacs 22 release. Dunno if this change was intentional or is
> a bug - you might check the NEWS file to see. If it was not
> intentional, then you might want to report a bug using
> `M-x report-emacs-bug'.
> 
> In any case, you can still use `C-u C-h i' to do the same 
> thing - it prompts you
> for the Info file to use.

I replied separately to the bug report you filed, but I reply here as well, to
help others who might be interested.

My suggestion above was incomplete. I should have suggested to first, before
reading NEWS, look at the doc for the key you're using. `C-h k C-h i' says this
as part of the description of command `info':

"In interactive use, a non-numeric prefix argument directs
this command to read a file name from the minibuffer.
A numeric prefix argument selects an Info buffer with the prefix number
appended to the Info buffer name."

This means:

* `C-u C-h i' (using a non-numeric prefix arg) does what you were looking for:
prompts for the Info file to use.

* `M-2 C-h i' (using a numeric prefix arg) opens Info with the buffer named
`*info*<2>'.





      reply	other threads:[~2008-12-28 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-27 22:56 How can I select a .info file for info mode? Bruce Korb
2008-12-28  7:50 ` Drew Adams
2008-12-28 18:07   ` Drew Adams [this message]

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='003b01c96917$2afc6c80$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=bruce.korb@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).