From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#60032: 30.0.50; [WISH] Customizing Info directories Date: Tue, 13 Dec 2022 13:43:50 +0000 Message-ID: <87r0x3beqx.fsf@localhost> References: <87zgbrbfva.fsf@localhost> <83a63rpgzd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13854"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60032@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 14:45:16 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 1p55at-0003OM-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 14:45:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p55ak-0006WZ-VK; Tue, 13 Dec 2022 08:45:06 -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 1p55ag-0006W5-Pm for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:45: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 1p55ag-0005fh-HK for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p55ag-0003u5-4Z for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 13:45: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.167093904714964 (code B ref 60032); Tue, 13 Dec 2022 13:45:02 +0000 Original-Received: (at 60032) by debbugs.gnu.org; 13 Dec 2022 13:44:07 +0000 Original-Received: from localhost ([127.0.0.1]:60480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55Zm-0003tI-L2 for submit@debbugs.gnu.org; Tue, 13 Dec 2022 08:44:07 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:36301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55Zk-0003so-0P for 60032@debbugs.gnu.org; Tue, 13 Dec 2022 08:44:04 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CE2F0240107 for <60032@debbugs.gnu.org>; Tue, 13 Dec 2022 14:43:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670939037; bh=Wp/EjRAAsSTrwc8EzpZAIS1wf8m1dKtQAghwkwCIyek=; h=From:To:Cc:Subject:Date:From; b=MqsBivdf2lUywWffEL5ES7vUeI8wg0V426ITWy/NMWjdEn2r+AWdkzlzSs+9phCtn D9XpgEfVdHKW6Fk1MVq+UQPD1aNfHZkRhgCXxblGFO9AcH0l1s2s1nYcwk5bVq1NIE i2fylVPFtpYcxOjZr/azwK2RPza7P/m+/ub1q1jU6+5f7CAlxu4eX6uItoqIlJ1wD1 DV0wz//d4HF/6H+DMNgEMF16m9Mm08RMcn7mi4yM5ycTytm66fKs4ug2cFP7kTo+J/ ROia5ccBapvdCtHJejA1nUN7bvlF37lPQ2p9Yv6AwI2jaMJ0BBrfV7J7boaQHy/mGi QF028+YZk09HA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NWfpy45GQz9rxN; Tue, 13 Dec 2022 14:43:51 +0100 (CET) In-Reply-To: <83a63rpgzd.fsf@gnu.org> 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:250836 Archived-At: Eli Zaretskii writes: > Please describe your use case, because I don't think I see why another > variable would be needed. I guess you have INFOPATH defined (by > someone who is not you?), but you don't like its value or something? > It's not clear which problems you are trying to solve. We had a user confused about how to force Emacs info command use Org manual from git repo: https://list.orgmode.org/87359jcuoi.fsf@localhost/T/#mde65bfe981036a6ff2e1faa750670d9af648bad8 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. I also had a similar confusion and gave up customizing Info directories at some point. Not because it is not documented, but because the setting is so unusual that I do not think about finding it. > In general, I can say 2 things, which I'm sure you already know: > > . environment variables can be set inside Emacs > . you can hack Info-directory-list in any number of ways, and do > whatever you want with it, in Lisp > > While the above two methods are not exactly what I'd suggest to an > Emacs an Info newbie, I definitely can see you using them. So again, > I'm unsure what kind of awkwardness is bothering you. Please > elaborate. I do agree that it is possible to set Info directories to desired value. 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. Changing `Info-directory-list' is difficult because one needs to run (info-initialize), which can only be found by reading the source code. 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. Conclusion: Current customization state is not a game breaker, but something I find confusing. That's why WISH. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at