[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12456: 24.2.50; Completion in `Info-goto-node' (cross-manual jump)
From: |
Juri Linkov |
Subject: |
bug#12456: 24.2.50; Completion in `Info-goto-node' (cross-manual jump) |
Date: |
Sat, 29 Dec 2012 01:57:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
>> One question: if I do (from emacs -Q) `C-h r g ( e l i TAB TAB', I see
>> two completion candidates: "elisp" and "elisp.info". This is a bug,
>> no?
>
> I doubt its usefulness too because it doesn't allow TAB to add the
> closing paren automatically as it does for a single completion,
> but as a comment in `Info-read-node-name-2' says:
>
> ;; If the file name ends in a standard suffix,
> ;; add the unsuffixed name as a completion option.
>
> So code adds both "elisp.info" with a standard suffix ".info"
> and the unsuffixed name "elisp".
>
> This means this intentionally is a feature, and not a bug.
But this doesn't mean it is a good feature. Another similar command
`info-display-manual' doesn't add duplicates "elisp" and "elisp.info",
so when you do `M-x info-display-manual RET TAB' it displays a single
completion for every Info manual name without adding the suffix ".info".