all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruce Korb <bruce.korb@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: how do I visit a file in info mode?
Date: Mon, 1 Mar 2010 17:21:55 -0800	[thread overview]
Message-ID: <668c430c1003011721v7dce4de7x7f6582959fe99f8c@mail.gmail.com> (raw)
In-Reply-To: <938FD473372B43A9A6EE53B2DFA3E3EA@us.oracle.com>

Hi Drew,

Thanks.

On Mon, Mar 1, 2010 at 5:03 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> > So try `C-u C-h i' instead of `M-2 C-h i'.
>>
>> That was it.  Thank you!!
>> Completely unclear why it was necessary to change it, though.
>
> Most changes are not strictly necessary. ;-)

Yeah, I know.  As a developer, I am acutely sensitive to both sides of the
issue.  The result:  never change things unless there's a real reason,
and when there is a real reason, leave around some bread crumbs
so nobody has to go Googling to figure things out.  Here, the new code
just quietly ignores the numeric prefix (a technique I've been using for
30 years now).  It left me grumpy.  :)  Thank you.  I will now retrain
my fingers to prefix this particular command with Ctl-u.  Ick.  :(
"non-numeric prefix" is a new feature that must have cropped up in the
last 20 years.  :-D

> The more common use of a prefix arg is as `C-u'. A numeric prefix arg sometimes
> serves, like here, to provide a numeric value (or to provide some other
> alternative behavior).
>
> In this case, from the doc string (`C-h k C-h i'):
>
> "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."

I know the stuff is always documented somewhere.  The problem is
finding it.  Thank you again.  Regards, Bruce




  reply	other threads:[~2010-03-02  1:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02  0:12 how do I visit a file in info mode? Bruce Korb
2010-03-02  0:27 ` Thien-Thi Nguyen
2010-03-02  0:28 ` Drew Adams
2010-03-02  0:52   ` Bruce Korb
2010-03-02  1:03     ` Drew Adams
2010-03-02  1:21       ` Bruce Korb [this message]
2010-03-02  3:54         ` Kevin Rodgers
2010-03-02  4:17         ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=668c430c1003011721v7dce4de7x7f6582959fe99f8c@mail.gmail.com \
    --to=bruce.korb@gmail.com \
    --cc=drew.adams@oracle.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.