[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integration of Info manuals in programming modes, Re: Integration of
From: |
James Thomas |
Subject: |
Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes |
Date: |
Tue, 10 Dec 2024 06:38:08 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
James Thomas wrote:
> Eli Zaretskii wrote:
>
>>> Eli Zaretskii writes:
>>>
>>> >> One thing where Info is on-topic here are Emacs integrations.
>>> >>
>>> >> I remember how useful it was when I had texinfo links directly
>>> >> available in Emacs:
>>> >> https://www.draketo.de/light/english/free-software/read-your-python-module-documentation-emacs
>>> >
>>> > Sorry, I don't understand: info-look.el already supports "C-h S" for
>>> > Python code, assuming you have a Python manual in Info format
>>> > installed.
>>>
>>> Just wanna chime in that this is not perfect, for other reasons: For
>>> e.g. 'C-h S' on 'print' does not give the index item "* built-in
>>> function; print" because, as you can see, it's not named appropriately
>>> in Sphinx's generation.
>>
>> Please report that to whoever maintains the Python manual or Sphinx.
>> info-look.el can fix many problems in the manuals, but not all of
>> them.
>>
>> That said, if the "built-in function" part is a general pattern, we
>> could change the regexps in info-look.el to use that to our advantage;
>> patches welcome.
>
> Indeed, but I don't know this (FTR there's also 'module', 'operator' and
> a few others alongside).
FWIW I work around it now in the mode, with:
(info-lookup-add-help
:doc-spec
'(("(python3.12)Index" (lambda (item) (string-trim-left item ".*?; ")))))
I think I'll send in a patch (with a few tweaks) soon.
--
- Re: Integration of Info manuals in programming modes, (continued)
- Re: Integration of Info manuals in programming modes, Visuwesh, 2024/12/05
- Re: Integration of Info manuals in programming modes, Eli Zaretskii, 2024/12/05
- Re: Integration of Info manuals in programming modes, Visuwesh, 2024/12/05
- Re: Integration of Info manuals in programming modes, Eli Zaretskii, 2024/12/05
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, James Thomas, 2024/12/08
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, James Thomas, 2024/12/08
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Eli Zaretskii, 2024/12/08
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Björn Bidar, 2024/12/08
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Eli Zaretskii, 2024/12/08
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Richard Stallman, 2024/12/10
- Message not available
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes,
James Thomas <=
- Re: Integration of Info manuals in programming modes, Stephen Berman, 2024/12/05
- Re: Integration of Info manuals in programming modes, Dr. Arne Babenhauserheide, 2024/12/05
- Re: Integration of Info manuals in programming modes, Eli Zaretskii, 2024/12/05
- Re: Integration of Info manuals in programming modes; was: Making the GNU C Manual easier to find in Info, Richard Stallman, 2024/12/08
- Re: Integration of Info manuals in programming modes; was: Making the GNU C Manual easier to find in Info, Dr. Arne Babenhauserheide, 2024/12/09
- Re: Integration of Info manuals in programming modes; was: Making the GNU C Manual easier to find in Info, Richard Stallman, 2024/12/10
Re: Proposal: Include C Manual from RMS in Emacs git, and/or release, Arsen Arsenović, 2024/12/01
Re: Proposal: Include C Manual from RMS in Emacs git, and/or release, Richard Stallman, 2024/12/01