GNU bug report logs -
#20105
25.0.50; Emacs manual, `i HOME RET' sends you to `Moving Point', which is wrong
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sat, 14 Mar 2015 02:37:01 UTC
Severity: minor
Found in version 25.0.50
Done: Drew Adams <drew.adams <at> oracle.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > 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
This bug report was last modified 10 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.