[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integration of Info manuals in programming modes
From: |
Eli Zaretskii |
Subject: |
Re: Integration of Info manuals in programming modes |
Date: |
Thu, 05 Dec 2024 16:26:36 +0200 |
> From: Visuwesh <visuweshm@gmail.com>
> Cc: arne_bab@web.de, rms@gnu.org, spwhitton@spwhitton.name,
> jb@jeremybryant.net, emacs-devel@gnu.org
> Date: Thu, 05 Dec 2024 18:09:39 +0530
>
> [வியாழன் டிசம்பர் 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.
Maybe it's deeper in the bowels of the code, maybe even in info.el.
E.g., info.el could bind case-fold-search non-nil when looking up
index items.
- Re: Making the GNU C Manual easier to find in Info, (continued)
- Re: Making the GNU C Manual easier to find in Info, Eli Zaretskii, 2024/12/05
- Integration of Info manuals in programming modes; was: Making the GNU C Manual easier to find in Info, 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, 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, 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 <=
- Re: Integration of Info manuals in programming modes, Visuwesh, 2024/12/15
- 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
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Björn Bidar, 2024/12/13
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Dr. Arne Babenhauserheide, 2024/12/14
- Re: Integration of Info manuals in programming modes, Re: Integration of Info manuals in programming modes, Richard Stallman, 2024/12/15