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#68970: 30.0.50; Info.el: Info-url-alist should support format-sequence that encodes "Top" node as "index" Date: Thu, 08 Feb 2024 08:26:21 +0200 Message-ID: <86bk8rxyia.fsf@gnu.org> References: <87fry44bz6.fsf@posteo.de> <867cjgz5rm.fsf@gnu.org> <87bk8s3usi.fsf@posteo.de> <86le7wxc3e.fsf@gnu.org> <8734u352rm.fsf@posteo.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31319"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68970@debbugs.gnu.org To: Mekeor Melire Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 08 07:26:56 2024 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 1rXxs7-0007uu-RY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Feb 2024 07:26:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXxs1-0004Cl-Cg; Thu, 08 Feb 2024 01:26:49 -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 1rXxs0-0004Cc-Se for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 01:26:48 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXxs0-0003Bl-L2 for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 01:26:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXxsE-0000jA-GE for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 01:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Feb 2024 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68970 X-GNU-PR-Package: emacs Original-Received: via spool by 68970-submit@debbugs.gnu.org id=B68970.17073736062769 (code B ref 68970); Thu, 08 Feb 2024 06:27:02 +0000 Original-Received: (at 68970) by debbugs.gnu.org; 8 Feb 2024 06:26:46 +0000 Original-Received: from localhost ([127.0.0.1]:58845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXxrx-0000ia-Nd for submit@debbugs.gnu.org; Thu, 08 Feb 2024 01:26:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXxrv-0000iO-Lm for 68970@debbugs.gnu.org; Thu, 08 Feb 2024 01:26:44 -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 1rXxrc-0003Aa-4x; Thu, 08 Feb 2024 01:26:24 -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=Cf5Kjh2wO5cmtZChI5SfYMzKcfYMETMXJJ8x/b03Wpg=; b=j1cbhm2DcA3s I0VNhJPm4dfVCxGvXC4as5bQx6R7oQ2Zffxv87N5j+cbGVbZAfwjAMIziEAN7uAnkz2lE4zXe1MT1 Y/H2Mut7eAobKxIP4SAgb02k/xiGmMXRm0fSfAdy07UDpxdNytRUEdcL3hkxmG+RwF67VE8FvX6P1 UXSS0bHO0LBZ/O4nKnv3ejvVJFoMEQJrFggktwu4XhDM+uEXEGZppfAWNMMXj8UxBHRMrvAp/dYKJ DLm42RejmduQhXtKV4WB4+/UMkST+K6vpJF1F1StpTev27w+6bIOTsW4M6zc5x12tqW5SKlyu9yS+ cyquwsZfn35sOusJ/rpcYw==; In-Reply-To: <8734u352rm.fsf@posteo.de> (message from Mekeor Melire on Wed, 07 Feb 2024 22:10:25 +0000) 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:279601 Archived-At: > From: Mekeor Melire > Cc: Eli Zaretskii > Date: Wed, 07 Feb 2024 22:10:25 +0000 > > 2024-02-07 22:18 eliz@gnu.org: > > > > Let's assume we have a manual with "Top" node as well as a node called > > > "Foo". Let's further assume the webserver is configured so that > > > example.com/Foo does not resolve to example.com/Foo.html but rather > > > results in "not found". > > > > Why would we assume a strange configuration like that? That's not > > what happens on gnu.org, for example. Which documentation sites that > > offer Texinfo-derived manuals have such configurations? > > Yes, gnu.org does allow to omit the .html suffix. > > I am working on an Emacs package that will provide more entries to > Info-url-alist. That's why I have a tentative list, as you requested, at > hand, indeed. Here's a list of entries that require a .html suffix: I tried several of those, and they all work without index.html. For example, these work for me: https://sourceware.org/gdb/current/onlinedocs/gdb https://sourceware.org/gdb/current/onlinedocs/annotate https://sourceware.org/gdb/current/onlinedocs/stabs https://cc-mode.sourceforge.net/html-manual https://orgmode.org/manual Some of them also work with a trailing slash, some don't. So I still don't see why we would need %i. > > I understand, but the overlap in functionality between %e and %i is > > got to cause some confusion, so if there's a way to avoid that, I'd > > prefer it. The code intentionally produces an empty string for "Top", > > and there's a good reason for it doing so. > > The "good reason" is only to keep URLs a little shorter, if possible, > for ease on eyes. :) > > Another idea would be to let users specify two URL-SPECs: One for the > Top-node; another for non-Top nodes. I'd prefer this latter alternative.