From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Integration of Info manuals in programming modes Date: Thu, 05 Dec 2024 11:14:07 +0200 Message-ID: <86ed2mxzj4.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29687"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arne_bab@web.de, rms@gnu.org, spwhitton@spwhitton.name, jb@jeremybryant.net, emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 05 10:15:25 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 1tJ7xD-0007VN-Um for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Dec 2024 10:15:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ7wT-0003IP-8W; Thu, 05 Dec 2024 04:14:37 -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 1tJ7wK-0003Hu-Bo for emacs-devel@gnu.org; Thu, 05 Dec 2024 04:14:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ7wJ-0001fQ-CJ; Thu, 05 Dec 2024 04:14:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=q3r/5d87/7na19kax03R3sLqMQx3cZhZhrZsquj2MG0=; b=qQVGafFZvmElkE1tQ74O 80hPzTeS3Sxg0L03U7zX4LRpdmp5HNUvO/W5WJyJu8SSHSbPNNP9fRnShYk1Ip8FQqllAAtI/WenL dbNFkNbZnOhGQDVgcTIDIGwAsC8fIrVO+j1qux58gnmc06kJHQ/hQ0huXw1wm7hu3TzSnAg7XiraN 56F+CVXSvYC2BERzXJ63zulMbfXfe1ScC8OJBsyYZ5LGTkuKZs/V7GMXDMGFrBEOEkJvYhrVSqj4v aclPeto7lmn0bXSnDEP5RHuRjaq2Nh7ZIJ1wW2Uu393e1a/z0tiflGuquecNurwtnARiwAzM4Vh7M Qp1pdMTk5Ovg6w==; In-Reply-To: <877c8ey0iu.fsf@gmail.com> (message from Visuwesh on Thu, 05 Dec 2024 14:22:41 +0530) 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:326081 Archived-At: > 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 > > [வியாழன் டிசம்பர் 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? > 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? 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?