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 16:26:36 +0200 Message-ID: <868qsumcir.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> <86ed2mxzj4.fsf@gnu.org> <87y10uwjc6.fsf@gmail.com> <865xnyxtsv.fsf@gnu.org> <87ttbiweqx.fsf@gmail.com> <86a5damj8c.fsf@gnu.org> <87plm6wbg4.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="38464"; 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 15:27:29 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 1tJCpF-0009nj-5g for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Dec 2024 15:27:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJCoa-0003Cp-3v; Thu, 05 Dec 2024 09:26:48 -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 1tJCoY-0003Cb-NQ for emacs-devel@gnu.org; Thu, 05 Dec 2024 09:26:46 -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 1tJCoY-0002LA-6K; Thu, 05 Dec 2024 09:26:46 -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=RSWGZZ8JUxhnB53C30vomWgM1y4/8qFQdPVlX7ODiWc=; b=BgQ25Ex14aZh4pODM0Z+ YXF/9GJcObC1H5BlqthX4WJUaFKXc7F1zXQh0GhW/LrETJXDmNUqq5ygJUEIrMCx9ujhdhRQvWvmQ m/iMVIV7NScyXGYFfyIA13vCB0iMhXm+iJMgObXwdp3HsVulOQAtnu2n11NkOfwnw3daO8OoZDx/C mwJSaQM1getykP2rHlSqpGmaeIaH0pcYFVnbTLmOpxC46gDT0ZI8WgbO9+A3x1tD1KnhBbnSl3LH3 KzuyzjyszPI0qZYepgJbrW+0+x9AAxexsyBGHCbW14CTcl+2zjeeZIKory+y9JGeqMrl973wjjNxp cn8Y5u1RlDxgxQ==; In-Reply-To: <87plm6wbg4.fsf@gmail.com> (message from Visuwesh on Thu, 05 Dec 2024 18:09:39 +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:326091 Archived-At: > From: Visuwesh > 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.