all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mekeor Melire <mekeor@posteo.de>
To: Mekeor Melire <mekeor@posteo.de>
Cc: 67736@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#67736: 30.0.50; emacsclient.desktop fails with quoting-related error
Date: Sun, 10 Dec 2023 11:28:37 +0000	[thread overview]
Message-ID: <871qbus35s.fsf@posteo.de> (raw)
In-Reply-To: <875y16s3i2.fsf@posteo.de>

2023-12-10 11:14 mekeor@posteo.de:

> 2023-12-10 08:17 eliz@gnu.org:
> Actually, I have the feeling that this is a bug in xdg-utils. I will
> file a bug report there.

Actually, there are already bug-reports on xdg-utils for this, also
mentioning emacsclient.desktop explicitely:

https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/236
https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/174

> In the mean time, should we work-around this bug by just using this or
> something similar?:
>
>     Exec=emacsclient --alternate-editor= --create-frame %F

Should we close this very bug or should we implement a work-around?

E.g we could stop using a complex, nested invokation of sh, and instead
just execute emacsclient with some arguments, without any need for
quoting, as I mentioned.

Altenatively, we could ship an executable.sh which invokes emacsclient
appropriately. [1] But the quoting of Exec= lines in .desktop-files is
just flawed right now.

[1] As suggested here: "The quicker fix will probably be having a script
     somewhere in the filesystem that handles that logic."
     https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/236#note_2169234





  reply	other threads:[~2023-12-10 11:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10  0:13 bug#67736: 30.0.50; emacsclient.desktop fails with quoting-related error Mekeor Melire
2023-12-10  6:17 ` Eli Zaretskii
2023-12-10 11:14   ` Mekeor Melire
2023-12-10 11:28     ` Mekeor Melire [this message]
2023-12-10 11:56       ` Eli Zaretskii
2023-12-17  0:14         ` Mekeor Melire
2023-12-17 14:24           ` Peter Oliver
2023-12-17 15:35             ` Ulrich Mueller
2023-12-17 23:06               ` Mekeor Melire
2023-12-18 10:17                 ` Ulrich Mueller
2023-12-18 12:14                   ` Mekeor Melire
2023-12-10 11:54     ` Eli Zaretskii

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=871qbus35s.fsf@posteo.de \
    --to=mekeor@posteo.de \
    --cc=67736@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 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.