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.bugs Subject: bug#60190: 29.0.50; Improve `Info-goto-node-web' Date: Mon, 19 Dec 2022 17:27:42 +0200 Message-ID: <83359be7m9.fsf@gnu.org> References: <87a63jdi8r.fsf@mbork.pl> <83r0wvefrx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60190@debbugs.gnu.org, mbork@mbork.pl To: Eduardo Ochs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 19 16:28:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1p7I42-0006He-Bp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Dec 2022 16:28:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7I3k-00032R-Bo; Mon, 19 Dec 2022 10:28:08 -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 1p7I3e-00031h-UO for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2022 10:28:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7I3e-0003ym-9o for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2022 10:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p7I3d-0003cM-OD for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2022 10:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2022 15:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60190 X-GNU-PR-Package: emacs Original-Received: via spool by 60190-submit@debbugs.gnu.org id=B60190.167146366213893 (code B ref 60190); Mon, 19 Dec 2022 15:28:01 +0000 Original-Received: (at 60190) by debbugs.gnu.org; 19 Dec 2022 15:27:42 +0000 Original-Received: from localhost ([127.0.0.1]:38768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7I3K-0003c1-Da for submit@debbugs.gnu.org; Mon, 19 Dec 2022 10:27:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7I3I-0003bv-Ck for 60190@debbugs.gnu.org; Mon, 19 Dec 2022 10:27:41 -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 1p7I3B-0003pi-UH; Mon, 19 Dec 2022 10:27:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XgWMohwJDKQJSujc5Nd+ggE1N/+xW9CVpK+F7oYXmnI=; b=OLdC+8H8MhH8 8GBjw11+SMW1RO9f5cw42qpMXf4E2OK1IkxCwo5EoQ33yG5kgqiDDfyLEKwkhvd2/dEAyDkr+/iI7 cHc2E+RFbgfjNZ632KCgvqQDQ3Kuf9M/Is/mTEilgOfcR38ANPmJaxscovvuTsbX5pCsfT58lvb2t z0z57VEFmQ0WrPBz2SvfaGRyb0GMWOeEN0Sy2bHgxRbhst+6UGPmGQF3THRceQVUdJB0MUKRJA8RB 1+TX+g7mkUeaLlzyPusmWfEFyO/AMxDhAg05uiqBAqaVutz+ufE42NfVI+RhfF0ZL0gxnJjn6ax5z ML4+tFV9Hfgzl8jccY4oEg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7I3B-0004Bg-6R; Mon, 19 Dec 2022 10:27:33 -0500 In-Reply-To: (message from Eduardo Ochs on Mon, 19 Dec 2022 12:05:53 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251438 Archived-At: > From: Eduardo Ochs > Date: Mon, 19 Dec 2022 12:05:53 -0300 > Cc: mbork@mbork.pl, 60190@debbugs.gnu.org > > On Mon, 19 Dec 2022 at 09:31, Eli Zaretskii wrote: > > > > > Cc: 60190@debbugs.gnu.org > > > From: Eduardo Ochs > > > Date: Mon, 19 Dec 2022 04:02:47 -0300 > > > > > > (defvar Info-url-base > > > '(("emacs" . "http://www.gnu.org/software/emacs/manual/html_node/emacs/") > > > ("elisp" . "http://www.gnu.org/software/emacs/manual/html_node/elisp/") > > > ("eintr" . > > > "http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/") > > > ("efaq" . "https://www.gnu.org/software/emacs/manual/html_node/efaq/") > > > ("cl" . "http://www.gnu.org/software/emacs/manual/html_node/cl/") > > > ("eshell" . "https://www.gnu.org/software/emacs/manual/html_node/eshell/") > > > ("org" . "http://www.gnu.org/software/emacs/manual/html_node/org/"))) > > > > Aren't these mappings trivial? You seem to be prepending the same > > prefix to the exact name of the Info file (sans extension). Or what > > did I miss? > > No, look at the case of the eintr... Why is that necessary? If you go to this page: https://www.gnu.org/software/emacs/manual/ you will see there a link to eintr which is this: https://www.gnu.org/software/emacs/manual/eintr.html And if you follow it, you will find the manual itself at this URL: https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html which AFAIU doesn't require any database to generate. Right? > And if we use a table for the conversion then users can add new > entries to it easily, including entries that don't follow that > pattern. I'm not against the table, I'm saying that for the manuals that come with Emacs we don't need any entries in the table. IOW, the table could be provided, but only for extensions by users, if they want to extend this to manuals which don't come as part of the Emacs distribution.