Subject: Re: bug#54961: 28.1; info-display-manual completions issues

From: Howard Melman <[email-masked]>
Date: Sat, 16 Apr 2022 07:27:44 -0400

Lars Ingebrigtsen <[email-masked]> writes:

> Howard Melman <[email-masked]> writes:
>
>> I'm happy to see info-display-manual added to Emacs 28.1
>
> It was added to Emacs 24.1, apparently?

Ah, the 28.1 NEWS says: *** New keybinding 'C-h R' prompts
for an Info manual and displays it.  so it's just the
binding that's new, or maybe the completion?

>> Third it would be really nice if there were an
>> affixation-function that added the one line description of
>> the manual for a completions framework to show when
>> completions-detailed is t.  Perhaps it could get the info
>> from Info-dir-contents?
>
> That would indeed be nice, but it would require opening
> and partially parsing hundreds of info files, so it would
> be painfully slow, I think.

Agreed, though on my system it's more like tens of files so
might not be so bad.  Hence, my suggestion of using
Info-dir-contents if it was non-nil, though this wouldn't
work before there was an *info* buffer.

-- 

Howard