From: Eli Zaretskii <eliz@gnu.org>
To: stefankangas@gmail.com
Cc: 75123@debbugs.gnu.org
Subject: bug#75123: [PATCH] Set makeinfo-run-command to texi2any when possible
Date: Fri, 27 Dec 2024 14:55:48 +0200 [thread overview]
Message-ID: <86o70xwai3.fsf@gnu.org> (raw)
In-Reply-To: <86ed1ty4r8.fsf@gnu.org> (message from Eli Zaretskii on Fri, 27 Dec 2024 09:16:59 +0200)
> Cc: 75123@debbugs.gnu.org
> Date: Fri, 27 Dec 2024 09:16:59 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > In recent Texinfo, "makinfo" is an alias for "texi2any". Make
> > `makeinfo-run-command` heed this request in the texinfo documentation:
> >
> > "Going forward, we ask authors of Texinfo documents to use only
> > texi2any."
> >
> > See (info "(texinfo) History").
>
> Sorry, I'm against this change. People still have old versions of
> Texinfo installed, including those where texi2any was not even
> present. I understand what the Texinfo developers say as advice to
> people who install latest version of Texinfo, not as a general rule to
> other programs which invoke makeinfo.
>
> In practice, in latest versions, 'makeinfo' is just a copy (or even a
> symlink) to texi2any. So we gain absolutely nothing by this change,
> while the disadvantages for users who have old versions of makeinfo
> are clear and present.
A few more thoughts:
Some users could have local scripts named "makeinfo" somehow tailored
to DTRT for whatever reasons. Invoking texi2any instead will break
those users, for no good reason.
In addition, executable-find looks for files with extensions in the
order specified by exec-suffixes, which could be different from the
order the shell looks for executables. So this change might produce
subtle differences in behavior, at least in some cases.
I could support doing this the other way around: if "makeinfo" is not
found as an executable, fall back to texi2any (if that exists). But
in that case, we need to make sure makeinfo-run-command never ends up
being nil, because AFAICT the code is not prepared for that. IOW, if
neither "makeinfo" nor "texi2any" is found, the value should be
"makeinfo", as it was before, not nil.
next prev parent reply other threads:[~2024-12-27 12:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-26 20:12 bug#75123: [PATCH] Set makeinfo-run-command to texi2any when possible Stefan Kangas
2024-12-27 7:16 ` Eli Zaretskii
2024-12-27 12:55 ` Eli Zaretskii [this message]
2024-12-27 14:05 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86o70xwai3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=75123@debbugs.gnu.org \
--cc=stefankangas@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.