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: Wed, 07 Feb 2024 16:51:57 +0200 Message-ID: <867cjgz5rm.fsf@gnu.org> References: <87fry44bz6.fsf@posteo.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16760"; 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 Wed Feb 07 15:53:08 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 1rXjIR-00047e-MA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Feb 2024 15:53:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXjID-0004qF-Fz; Wed, 07 Feb 2024 09:52:53 -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 1rXjI9-0004pX-1b for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 09:52:49 -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 1rXjI8-0001rR-Eq for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 09:52:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXjIM-0005DF-6E for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 09:53: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: Wed, 07 Feb 2024 14:53: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.170731754719986 (code B ref 68970); Wed, 07 Feb 2024 14:53:02 +0000 Original-Received: (at 68970) by debbugs.gnu.org; 7 Feb 2024 14:52:27 +0000 Original-Received: from localhost ([127.0.0.1]:55987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXjHn-0005CI-8Y for submit@debbugs.gnu.org; Wed, 07 Feb 2024 09:52:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXjHk-0005Bz-D3 for 68970@debbugs.gnu.org; Wed, 07 Feb 2024 09:52:25 -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 1rXjHN-0001gA-FO; Wed, 07 Feb 2024 09:52:04 -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=DMPJiqpZh68V747Ho9sXGf9N3CJD1zD+dDaxIaJwYo4=; b=IZBE4Lh/sZte 1oe9RoTTuJboff4A/9lx5/84MmIpvceeqXNXAXeGN4DzRx+LH3y9XjWKPGvDlszmyuDUWsI+jzTrZ IctUCcWYfedNqOf2PoHGTZ635ADUCvv5aoKQWx9dMippxBAl+DOPRVcEIakRYdcqh8XCQKf64cuUS Z46Os635DqriYyKc1M/wujQv6O675N1R7v+4XzdHT97FVLh0ZHQqiB8uDbJosZrc8BIKpvmpzwbPX Y4X37MucNgjSKlfhS5Ir1yKQn6QzonyrSdfVOXgxLKIoi6v2OTlg9kuYafk55cnniC92TmZXU1zbU rbar1lj5jR0NYTXHo4ozsQ==; In-Reply-To: <87fry44bz6.fsf@posteo.de> (message from Mekeor Melire on Wed, 07 Feb 2024 13:27:35 +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:279553 Archived-At: > From: Mekeor Melire > Date: Wed, 07 Feb 2024 13:27:35 +0000 > > The new option Info-url-alist allow users to add custom mappings from > manual-names to URLs. When the URL-SPEC is provided as string, users may > use the %e format-sequence. But in the most common case, namely when > URLs need to use a .html-suffix, this is not usable: > > In the case of the special "Top" node, the %e format-sequence resolves > to "", i.e. the empty string. It is thus not possible to use a URL-SPEC > like "https://example.com/%e.html" because "https://example.com/.html" > is invalid. The user rather wants "https://example.com/index.html" in > this case. Sorry, I don't think I understand: "https://example.com/" stands for "https://example.com/index.html", AFAIK. This is why %e produces an empty string for the Top node. So why would users want to specify "https://example.com/%e.html" instead of just "https://example.com/%e"? IOW, I don't see why users will need to use the .html extension in the alist, it works without the extension. What am I missing?