From: Lin Jian via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 68807@debbugs.gnu.org
Subject: bug#68807: 29.1; Can bindir used for emacsclient(-mail).desktop in Makefile.in be removed?
Date: Tue, 30 Jan 2024 22:08:47 +0800 [thread overview]
Message-ID: <87sf2ekisb.fsf@linj.tech> (raw)
In-Reply-To: <86plxj2eu9.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
> Yes, because the Emacs's upstream installation procedure installs
> emacsclient in ${bindir}. So "our "make install" wants to make sure
> the desktop file will reference the correct emacsclient, not the one
> found first on PATH.
Since (I think) emacs and emacsclient are installed to the same
directory, why is not bindir used for emacs in *.desktop files? Why are
emacs and emacsclient treated differently in *.desktop files? Is this a
bug? The related code is as follows:
sed -e "/^Exec=emacs/ s/emacs/${EMACS_NAME}/"
sed -e "/^Exec=/ s|emacsclient|${bindir}/$${client_name}|"
> My understanding is that you are asking this because some downstream
> distro will find it more convenient for its users. If so, why cannot
> the distro modify the top-level Makefile.in according to what you
> prefer? There's no need to propagate distro-specific solutions to the
> upstream project, is there?
>
> Since different distros can have different needs and preferences, I'd
> prefer not to make changes in the setup of the desktop files we
> distribut in favor of one particular distro. We distribute these
> desktop files as a service to distros, and would not want to take
> responsibility for understanding the needs of the various distros and
> desktops, so as not to increase our maintenance burden in areas where
> we have no real domain expertise.
Makes senses.
next prev parent reply other threads:[~2024-01-30 14:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 22:34 bug#68807: 29.1; Can bindir used for emacsclient(-mail).desktop in Makefile.in be removed? Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-30 12:19 ` Eli Zaretskii
2024-01-30 14:08 ` Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-30 14:25 ` Eli Zaretskii
2024-02-05 23:36 ` Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=87sf2ekisb.fsf@linj.tech \
--to=bug-gnu-emacs@gnu.org \
--cc=68807@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=me@linj.tech \
/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.