From: Ihor Radchenko <yantar92@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 60032@debbugs.gnu.org
Subject: bug#60032: 30.0.50; [WISH] Customizing Info directories
Date: Tue, 13 Dec 2022 13:43:50 +0000 [thread overview]
Message-ID: <87r0x3beqx.fsf@localhost> (raw)
In-Reply-To: <83a63rpgzd.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2022-12-13 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 13:19 bug#60032: 30.0.50; [WISH] Customizing Info directories Ihor Radchenko
2022-12-13 13:31 ` Eli Zaretskii
2022-12-13 13:43 ` Ihor Radchenko [this message]
2022-12-13 14:39 ` Eli Zaretskii
2022-12-14 10:27 ` Ihor Radchenko
2022-12-17 12:55 ` Eli Zaretskii
2022-12-15 0:23 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0x3beqx.fsf@localhost \
--to=yantar92@posteo.net \
--cc=60032@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).