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 15:19:13 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

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

>> From: Visuwesh <visuweshm@gmail.com>
>> Cc: "Dr. Arne Babenhauserheide" <arne_bab@web.de>,  rms@gnu.org,
>>   spwhitton@spwhitton.name,  jb@jeremybryant.net,  emacs-devel@gnu.org
>> Date: Thu, 05 Dec 2024 14:22:41 +0530
>> 
>> [வியாழன் டிசம்பர் 05, 2024] Eli Zaretskii wrote:
>> 
>> > What other GNU programming packages which have Info manuals and
>> > suitable Emacs major modes are not supported by info-look.el?
>> 
>> f90-mode could look up intrinsic procedures in the gfortran Info manual.
>> Maybe there is a better for Fortran that I am unaware of.  A start would
>> be
>> 
>>     (info-lookup-maybe-add-help
>>      :mode 'f90-mode
>>      :ignore-case t
>>      :regexp "[A-Za-z0-9_]+"
>>      :doc-spec '(("(gfortran)Keyword Index")))
>
> We could definitely add something like that, but is it specific to
> f90-mode?  What about other Fortran modes?

I am ignorant in that regard.  I only ever look at Fortran 90 code, I
rarely, if ever, need to look at Fortran 77 code (so I'm saved in that
regard).

>> but I do not understand how info-lookup works really.  C-h S RET on
>> 'read' jumps to the FGET page which is not we want.
>
> Look at the index node you mentioned: what other menu item that
> matches "read" there is more appropriate?  And what did you expect to
> see instead?

I would rather see a complain about no matches.  If someone could figure
out how to reject non-exact matches, that would be do the job.

> The gfortran manual doesn't seem to describe the Fortran language,
> only the GNU-specific extensions or something.  It lacks basic Fortran
> keywords.  Perhaps that is the source of your confusion?

It documents intrinsic functions and subroutines.  It is by no means a
complete manual for the Fortran language though.  It is no small wonder
that keywords are not documented.  I have been looking for such a manual
to no avail.




reply via email to

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