all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
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 10:41:23 -0700 (PDT)	[thread overview]
Message-ID: <5b27a533-e334-4de7-a72c-0638af15acbd@default> (raw)
In-Reply-To: <1cf950ce-96bf-4a06-b104-581af13b6b74@default>

> > HOME _is_ used, except that completion removes duplicates (I guess).
> 
> I guess so too.  That is a mistake.  The calling function should
> decide whether completion should remove duplicates (IMHO).  And in
> this case, it should not (IMHO).

That is done here, in `Info-complete-menu-item':

(setq completions (delete-dups completions))

Also, debugging a bit shows this, which returns "HOME".

Debugger entered--entering a function:
* try-completion("home" ("home directory shorthand" "HOME") nil)
* complete-with-action(nil ("home directory shorthand" "HOME") "home" nil)

And then (after a bit), it does this, which also returns "HOME":

Debugger entered--entering a function:
* try-completion("HOME" ("home directory shorthand" "HOME") nil)
* complete-with-action(nil ("home directory shorthand" "HOME") "HOME" nil)

Which leads to:

Debugger entered--returning value: t
  completion--done("HOME" exact "Complete, but not unique")

And a second `TAB' shows the candidates in *Completions*:

Possible completions are:
HOME
home directory shorthand






  parent reply	other threads:[~2015-03-14 17:41 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
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 [this message]
     [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

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

  git send-email \
    --in-reply-to=5b27a533-e334-4de7-a72c-0638af15acbd@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 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.