From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 20105@debbugs.gnu.org
Subject: bug#20105: 25.0.50; Emacs manual, `i HOME RET' sends you to `Moving Point', which is wrong
Date: Sat, 14 Mar 2015 08:59:29 -0700 (PDT) [thread overview]
Message-ID: <9fe72841-fa75-4bbe-bb92-c14e68e0cd7a@default> (raw)
In-Reply-To: <<834mpn38iu.fsf@gnu.org>>
> > > > For `i home TAB' you see these candidates:
> > > > HOME
> > > > home directory shorthand
> > > >
> > > > In my setup I see also these two, but for some reason I don't see them
> > > > with `emacs -Q':
> > > > HOME directory on MS-Windows
> > > > HOME directory under MS-DOS
> > >
> > > I see all 4 of them in "emacs -Q". Not sure why you don't; perhaps
> > > because your build is very old (but I doubt that).
> > No, I see only 2, even in this recent build (see end of this message).
> > > Do you have INFOPATH set in the environment, perhaps?
> > Nope.
>
> Strange. I have no idea why you see only 2 candidates. I see all 4
> in both the master and emacs-24 branch.
I hear you. I don't know why. I'm on Windows 7 64-bit. Other than
that, I don't know what else I can add here.
But see below. I do have those two missing candidates as explicit
entries in the manual indexes. It is completion that, for some reason,
fails to pick them up. I don't see how you get different behavior, if
we're both using `emacs -Q'.
> > I agree about (a) case-insensitive "in general" and (b) users might not
> > know about `<home>' vs `home' vs `HOME'.
> >
> > But why is `HOME' capitalized as a candidate if it points to info about
> > the key?
>
> Don't know. Looks like some feature of completion.
Really? My guess is instead that it comes from this explicit index
entry (which I see in Emacs 24 but not 23): (I removed some whitespace.)
* HOME: Moving Point. (line 57)
That's from the Key Index. However, note that there are also these
two entries in the Variable Index, which seem not to be used when
I do `i home TAB':
* HOME: General Variables. (line 59)
* HOSTNAME: General Variables. (line 70)
(Got this from an Emacs 24.4 build. I assume things are similar
for more recent builds.)
> > And we don't seem to have any entry currently for the env var (?).
> > Shouldn't a user be able to find some info about it?
> > `HOME environment variable', for example.
>
> That's one of the 2 "HOME" entries. They belong to different indices,
> so they are identical (and collapsed by completion into a single
> completion candidate, I presume).
Sorry, I don't know what you mean here. I'm guessing that you're
saying something (?) about these entries (again, from Emacs 24.4):
* HOME directory on MS-Windows: Windows HOME. (line 6)
* home directory shorthand: Minibuffer File. (line 38)
* HOME directory under MS-DOS: MS-DOS File Names. (line 35)
From what I see, the only explicit index entries that include `HOME'
(capitalized) refer to the home directory, not to the <home> key.
So it seems to me that Emacs is not correctly dealing with its own
index entries. It also seems that the Key Index somehow overrides
the Variable Index (instead of being augmented by it), for completion.
HTH.
next prev parent reply other threads:[~2015-03-14 15:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<265aed11-7056-45f2-afbf-1b5f8b3b0a05@default>
[not found] ` <<83egos2df6.fsf@gnu.org>
2015-03-14 14:46 ` bug#20105: 25.0.50; Emacs manual, `i HOME RET' sends you to `Moving Point', which is wrong Drew Adams
2015-03-14 15:26 ` Eli Zaretskii
[not found] ` <<b15373cd-5f12-4dde-b999-d0b54c82aa52@default>
[not found] ` <<834mpn38iu.fsf@gnu.org>
2015-03-14 15:59 ` Drew Adams [this message]
2015-03-14 16:15 ` Eli Zaretskii
[not found] ` <<9fe72841-fa75-4bbe-bb92-c14e68e0cd7a@default>
[not found] ` <<83zj7f1rox.fsf@gnu.org>
2015-03-14 16:44 ` Drew Adams
2015-03-14 17:39 ` Eli Zaretskii
2015-03-14 17:41 ` Drew Adams
[not found] <<1cf950ce-96bf-4a06-b104-581af13b6b74@default>
[not found] ` <<83twxn1nsx.fsf@gnu.org>
2015-03-14 17:44 ` Drew Adams
2015-03-14 2:23 Drew Adams
2015-03-14 8:25 ` 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
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=9fe72841-fa75-4bbe-bb92-c14e68e0cd7a@default \
--to=drew.adams@oracle.com \
--cc=20105@debbugs.gnu.org \
--cc=eliz@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).