From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: Integration of Info manuals in programming modes Date: Thu, 05 Dec 2024 15:19:13 +0530 Message-ID: <87y10uwjc6.fsf@gmail.com> References: <87ser8c230.fsf@jeremybryant.net> <86ser87rut.fsf@gnu.org> <87cyicuk25.fsf@melete.silentflame.com> <86jzcj6e4h.fsf@gnu.org> <87y10u6174.fsf@web.de> <86ldwuy3lu.fsf@gnu.org> <877c8ey0iu.fsf@gmail.com> <86ed2mxzj4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3380"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: arne_bab@web.de, rms@gnu.org, spwhitton@spwhitton.name, jb@jeremybryant.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 05 10:57:37 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJ8c5-0000fc-8p for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Dec 2024 10:57:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ8bK-0002qC-PS; Thu, 05 Dec 2024 04:56:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ8bJ-0002q4-42 for emacs-devel@gnu.org; Thu, 05 Dec 2024 04:56:49 -0500 Original-Received: from mail-oa1-x44.google.com ([2001:4860:4864:20::44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJ8bH-00029e-Lx; Thu, 05 Dec 2024 04:56:48 -0500 Original-Received: by mail-oa1-x44.google.com with SMTP id 586e51a60fabf-29654932226so404262fac.0; Thu, 05 Dec 2024 01:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733392605; x=1733997405; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uxEGWmo+5Ts101QsQjhqx9e5jfy9JBFxwZ8I5kbCE7A=; b=ivWnk3JRRLgkWrvxnuclnyB1yXRrTb+axXqRbMYhGwx6gVn2wfVosUJc7C9rqHU3Bb mLc52e2UmhLbs8QUJlXmwme8uewQfm8fJx7W0vlqRgbocMz4qocuh0tQdS/q0V4jTuuV 4cqtGPf4tFZeRJGonrxm+NgdWgun5XwauPPFEGqVO/b46xlUObPVmYL1lNJnSI1fDkmy PGRfgpH1AegYvAymm/JTEcsreUx55yz0hHOvqMl++jY8Q98vUtsaIjAejOjuniPnMm97 J6tsAlhiEDQ4xN5+gdgNOQHOoR1ZEsKOt/AaF7N4V1MgiK56YBK5Hl/1I4g4tLB3BgAR kN0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733392605; x=1733997405; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uxEGWmo+5Ts101QsQjhqx9e5jfy9JBFxwZ8I5kbCE7A=; b=Cah9fo40UiInGKV/8i1wrBJTmL0j5+E90z9ozbElbfJ3FP6+j/OB0orPi0ZFwxb1Yc cbjW6+B7pYtn4P+jAO1mAxRXhALaMsaSbBwxzbhr/+duNLLn8q/PWUsAVmdRhBB23nsm ux4L/DFFG3VrPQkjBUYB4w4Cc0gWFZWBJJZksMkZJHdv0Ez0Mw9gX5nNvbonRwQ6v5sh 62WBeWk7ZNNnbIhg/YamR9X5bUjOMIo55UrurMNcNrl/N1hZOQryDkVqmIY6jT24JV05 QiSvK0M9INQwYAQkUoYBsdd6qdxjqccsSibAK1QOsArR3rShCsMa+ODj40R4V5Xt8jn+ HWMQ== X-Forwarded-Encrypted: i=1; AJvYcCUDSC5+3g8Mh7w/kT0zT8FdVO8PtyHWGxmvTM8iHrBcL/wQjGqWTVPOMruI3Dok6CoJsS51@gnu.org, AJvYcCUY7i7tNhY7Y1SNqA2QrSfxt+nK7BwL0b1e05lzYcQ1bIiTNfiWgCCoJKK0oVeaNDaH+kVninq2jkU4Mw==@gnu.org X-Gm-Message-State: AOJu0YzmXlfivKNLdmZa4fGcr+0Tsc82YUTyxqLHowejoVk+mRfrv9Tv eHnlcGdqdwZAhTC5PgzxOEQRpA7Uw5rg8lNbvDvgfj2KSvwx5jpQF9/8A6fX X-Gm-Gg: ASbGncvNPh4ikVA6m6Dp/E4af/tgumoXhs22sOBjdpVc9Evcc2W7rkhMPIrIIYzre1C +LzJi1ZcDa04wV0sD1qTLEpRkakd5jzJTNz1TUl3Efpcbdu6ZyNIVolmTGBGAHUWsY8/DV7ivjU rCzW/FfB/NmM3Zx81KYXUpM/wRrL5SGsUuYsYU8IHVTimAMbyR3Sxq2TdF2zFqHmoUcQgeIqjKi k1g5APInARxcX1c70QYrP3UwrLSCzwb0WLTILDc4o54VNE= X-Google-Smtp-Source: AGHT+IGZWH7vXEXkaINdVAa2kHX7pgOW0i350PNG30lXnlHxAwDG4V3+ldoc5nr5hITMeF15VffC2g== X-Received: by 2002:a17:90a:bc8:b0:2ee:d9d4:64a8 with SMTP id 98e67ed59e1d1-2ef4191a28emr4231430a91.0.1733392159196; Thu, 05 Dec 2024 01:49:19 -0800 (PST) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ef45f7eaf8sm979422a91.11.2024.12.05.01.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 01:49:18 -0800 (PST) In-Reply-To: <86ed2mxzj4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Dec 2024 11:14:07 +0200") Received-SPF: pass client-ip=2001:4860:4864:20::44; envelope-from=visuweshm@gmail.com; helo=mail-oa1-x44.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326082 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=9F= =E0=AE=BF=E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 05, 2024] E= li Zaretskii wrote: >> From: Visuwesh >> Cc: "Dr. Arne Babenhauserheide" , rms@gnu.org, >> spwhitton@spwhitton.name, jb@jeremybryant.net, emacs-devel@gnu.org >> Date: Thu, 05 Dec 2024 14:22:41 +0530 >>=20 >> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =9F=E0=AE=BF=E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 05, 2024= ] Eli Zaretskii wrote: >>=20 >> > What other GNU programming packages which have Info manuals and >> > suitable Emacs major modes are not supported by info-look.el? >>=20 >> 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 >>=20 >> (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.