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

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

bug#20105: 25.0.50; Emacs manual, `i HOME RET' sends you to `Moving Poin


From: Drew Adams
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)

> > 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






reply via email to

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