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#60032: 30.0.50; [WISH] Customizing Info directories Date: Tue, 13 Dec 2022 16:39:42 +0200 Message-ID: <834jtzpdu9.fsf@gnu.org> References: <87zgbrbfva.fsf@localhost> <83a63rpgzd.fsf@gnu.org> <87r0x3beqx.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60032@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 15:40:21 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 1p56SD-0005Bt-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 15:40:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p56Rw-0005ca-6Q; Tue, 13 Dec 2022 09:40:04 -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 1p56Ru-0005cK-Nn for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 09:40:02 -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 1p56Ru-00005w-Fb for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 09:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p56Ru-0004cq-8u for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 09:40: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: Tue, 13 Dec 2022 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60032 X-GNU-PR-Package: emacs Original-Received: via spool by 60032-submit@debbugs.gnu.org id=B60032.167094239617770 (code B ref 60032); Tue, 13 Dec 2022 14:40:02 +0000 Original-Received: (at 60032) by debbugs.gnu.org; 13 Dec 2022 14:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:60831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p56Rn-0004cY-RR for submit@debbugs.gnu.org; Tue, 13 Dec 2022 09:39:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p56Rm-0004cP-E8 for 60032@debbugs.gnu.org; Tue, 13 Dec 2022 09:39:54 -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 1p56Rg-0008SE-La; Tue, 13 Dec 2022 09:39:48 -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=NXAyRPkYV0hPEDJlVIkg4djRoQItvy5QtpI2c5Vura4=; b=REzLnhc1BtR4 EWX6rwl9WekYFe30iAdcRpukfBf2zSjYB9ggmnJI33LC91lNUHsyDxX3tzQ7d3xST0BI/aIDdEpll 8JeVwp0PmrqlrmUeld4LlrLU4yYUiqenjHFxaXjA2VHSqdGEORhWkFahiS5ti7gZz8vFQDdyfkIaK oM272UTwcvQYKfqoRojXzzjSc+ROV0t0Dqm+ygTmaxUFHS9Zx78uuikdppJ3m+Eq6U/Chph6LQ1uJ mw5XsAzMvd81tUE3866rjZZPh+CgHGfec1zcrs9RI2uFjQwBwqrpNF3FwvJoW2HDeA3UjnbVTjD1e 1O8jSqz7zFOOfYPp6/d8UQ==; 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 1p56RX-0001ny-Az; Tue, 13 Dec 2022 09:39:46 -0500 In-Reply-To: <87r0x3beqx.fsf@localhost> (message from Ihor Radchenko on Tue, 13 Dec 2022 13:43:50 +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:250844 Archived-At: > From: Ihor Radchenko > Cc: 60032@debbugs.gnu.org > Date: Tue, 13 Dec 2022 13:43:50 +0000 > > The user attempted to customize `Info-default-directory-list' and got > surprised that it was ignored. > > Upon my further investigation, `Info-default-directory-list' is indeed > ignored when INFOPATH is set by OS. Yes. But why didn't that user modify INFOPATH? > However, `Info-default-directory-list' being ignored is rather > surprising, especially given that setting the other defcustom > (`Info-additional-directory-list') does not allow overriding system > settings. It is done for a good reason. Setting up the list correctly is difficult enough, what with the requirement that Emacs's own manuals should sometimes be before the system-wide installation, and sometimes after it (to support different use cases). When INFOPATH is defined, and used by the stand-alone Info reader, install-info, and other stuff, it becomes impossible to DTRT. So we punt, in effect saying: if you have INFOPATH, you should already know what you are doing. If you want the gory details (which I happily forgot), run "git log -L" (or vc-region-history) on the area where Info-default-directory-list is defined and used, and read the discussions related to the changes and bugs reported against that. > Changing environment variables is something I never ever needed to > customize Emacs' behaviour. Once I see it, my thinking goes: "Surely, > there should be some custom variable.", but no such variable exists. Does this include PATH? If not, why not? IME, the *PATH variables are quite special: they should generally be set from outside Emacs, and doing the same via customization options is usually not a good idea.