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

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

bug#31405: 25.3; Python.el doesn't provide infos to info-lookup-symbol


From: Basil L. Contovounesios
Subject: bug#31405: 25.3; Python.el doesn't provide infos to info-lookup-symbol
Date: Thu, 12 Aug 2021 16:42:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> In my case I have to override it as
>>
>>   (with-eval-after-load 'info-look
>>     (info-lookup-add-help
>>      :mode 'python-mode
>>      :doc-spec '(("(python3.9)Index"))))
>>
>> to match the name and version of the manual installed by Debian.
>
> I've now adjusted the code to look for the 3.9 manual, but I haven't
> actually tested.

Thanks, I just tweaked it there and it works OOTB for me.

> And perhaps it should ... look even more for newer
> versions,

And older versions - an update to Debian Stable is imminent, but for now
it still ships Python 3.7 (I run Debian Testing).

> but I don't know quite how -- just loop over a bunch of
> version numbers?

Ideally the info/info-look machinery would match a regexp, no?  Perhaps
that's already supported, but I'm unfamiliar with those libraries.

Thanks,

-- 
Basil





reply via email to

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