unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62747@debbugs.gnu.org, Andreas Schwab <schwab@linux-m68k.org>
Subject: bug#62747: 29.0.90; Invalid desktop file
Date: Mon, 10 Apr 2023 15:53:56 +0200	[thread overview]
Message-ID: <ua5zfkfm3@gentoo.org> (raw)
In-Reply-To: <83o7nvc13q.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Apr 2023 16:34:33 +0300")

>> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --create-frame --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Action new-window" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")

Sorry, but I don't see any unescaped $ there, all are escaped as \\$.

>> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --create-frame --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Action new-window" contains a quote which is not closed

Same here, I don't see any unclosed quote.

Also, where does that log appear, and how can I reproduce it?





  reply	other threads:[~2023-04-10 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-10  9:27 bug#62747: 29.0.90; Invalid desktop file Andreas Schwab
2023-04-10 13:34 ` Eli Zaretskii
2023-04-10 13:53   ` Ulrich Mueller [this message]
2023-04-10 14:48     ` Andreas Schwab
2023-04-10 15:29       ` Ulrich Mueller
2023-04-10 16:30     ` Andreas Schwab
2023-04-10 16:44       ` Eli Zaretskii
2023-04-10 16:47       ` Ulrich Mueller
2023-04-10 18:54         ` Eli Zaretskii
2023-04-10 14:05   ` Ulrich Mueller

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=ua5zfkfm3@gentoo.org \
    --to=ulm@gentoo.org \
    --cc=62747@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=schwab@linux-m68k.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).