emacs-devel
[Top][All Lists]
Advanced

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

Re: Integration of Info manuals in programming modes


From: Visuwesh
Subject: Re: Integration of Info manuals in programming modes
Date: Thu, 05 Dec 2024 18:09:39 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[வியாழன் டிசம்பர் 05, 2024] Eli Zaretskii wrote:

>> > However, maybe the regexp should only match keywords in upper-case,
>> > and ignore-case should not be used?
>> 
>> But Fortran is a case-insensitive language and recent style-guides ask
>> you to use lower case lettering for everything.  Other code that I've
>> seen use upper case lettering for keywords, not for functions and
>> subroutines so we cannot opt for this route unfortunately.
>
> What is important in this context is not whether Fortran is
> case-insensitive, but how the index of the manual spells the keywords.

I do not really understand how info-lookup does its job but 'read' still
matches if I use

    (info-lookup-maybe-add-help
     :mode 'f90-mode
     :parse-rule "[A-Za-z0-9_]+"
     :regexp "[A-Z0-9_]+"
     :doc-spec '(("(gfortran)Keyword Index")))

instead.  Perhaps I do not understand what you have in mind.



reply via email to

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