GNU bug report logs - #62747
29.0.90; Invalid desktop file

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Mon, 10 Apr 2023 09:29:01 UTC

Severity: normal

Tags: notabug

Found in version 29.0.90

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 62747 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 62747 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#62747: 29.0.90; Invalid desktop file
Date: Mon, 10 Apr 2023 15:53:56 +0200
>> 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?




This bug report was last modified 2 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.