* bug#62747: 29.0.90; Invalid desktop file
@ 2023-04-10 9:27 Andreas Schwab
2023-04-10 13:34 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2023-04-10 9:27 UTC (permalink / raw)
To: 62747
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 ("\\$")
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 ("\\$")
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
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 reserved character '&' outside of a quote
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 reserved character ''' outside of a quote
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 reserved character ')' outside of a quote
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 reserved character ';' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a quote which is not closed
invalid-desktopfile /usr/share/applications/emacsc
c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ''' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character '(' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ')' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ';' outside of a quote
invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a quote which is not closed
invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
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
2023-04-10 14:05 ` Ulrich Mueller
0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2023-04-10 13:34 UTC (permalink / raw)
To: Andreas Schwab, Ulrich Müller; +Cc: 62747
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Mon, 10 Apr 2023 11:27:46 +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 ("\\$")
> 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 ("\\$")
> 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
> 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 reserved character '&' outside of a quote
> 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 reserved character ''' outside of a quote
> 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 reserved character ')' outside of a quote
> 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 reserved character ';' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a quote which is not closed
> invalid-desktopfile /usr/share/applications/emacsc
> c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ''' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character '(' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ')' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Entry" contains a reserved character ';' outside of a quote
> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a quote which is not closed
> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote
Thanks.
Ulrich, could you please look into this?
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 13:34 ` Eli Zaretskii
@ 2023-04-10 13:53 ` Ulrich Mueller
2023-04-10 14:48 ` Andreas Schwab
2023-04-10 16:30 ` Andreas Schwab
2023-04-10 14:05 ` Ulrich Mueller
1 sibling, 2 replies; 10+ messages in thread
From: Ulrich Mueller @ 2023-04-10 13:53 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 62747, Andreas Schwab
>> 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?
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 13:53 ` Ulrich Mueller
@ 2023-04-10 14:48 ` Andreas Schwab
2023-04-10 15:29 ` Ulrich Mueller
2023-04-10 16:30 ` Andreas Schwab
1 sibling, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2023-04-10 14:48 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: Eli Zaretskii, 62747
On Apr 10 2023, Ulrich Mueller wrote:
> Also, where does that log appear, and how can I reproduce it?
desktop-file-validate is available from
https://www.freedesktop.org/wiki/Software/desktop-file-utils/
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 14:48 ` Andreas Schwab
@ 2023-04-10 15:29 ` Ulrich Mueller
0 siblings, 0 replies; 10+ messages in thread
From: Ulrich Mueller @ 2023-04-10 15:29 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Eli Zaretskii, 62747
>>>>> On Mon, 10 Apr 2023, Andreas Schwab wrote:
> desktop-file-validate is available from
> https://www.freedesktop.org/wiki/Software/desktop-file-utils/
I had validated them with this. However, I cannot reproduce these errors
(with desktop-file-utils-0.26). All I get is one warning:
$ desktop-file-validate etc/emacsclient.desktop
etc/emacsclient.desktop: hint: value item "TextEditor" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Utility
$ desktop-file-validate etc/emacsclient-mail.desktop
$
This warning is already present in emacs.desktop of Emacs 23.4 (I don't
have any earlier versions at hand here) and is unrelated to the latest
series of changes.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 13:53 ` Ulrich Mueller
2023-04-10 14:48 ` Andreas Schwab
@ 2023-04-10 16:30 ` Andreas Schwab
2023-04-10 16:44 ` Eli Zaretskii
2023-04-10 16:47 ` Ulrich Mueller
1 sibling, 2 replies; 10+ messages in thread
From: Andreas Schwab @ 2023-04-10 16:30 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: Eli Zaretskii, 62747
As it turns out, this was processed with an outdated version of
desktop-file-validate.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 16:30 ` Andreas Schwab
@ 2023-04-10 16:44 ` Eli Zaretskii
2023-04-10 16:47 ` Ulrich Mueller
1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2023-04-10 16:44 UTC (permalink / raw)
To: Andreas Schwab; +Cc: ulm, 62747
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, 62747@debbugs.gnu.org
> Date: Mon, 10 Apr 2023 18:30:15 +0200
>
> As it turns out, this was processed with an outdated version of
> desktop-file-validate.
Does this mean we can close this bug?
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
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
1 sibling, 1 reply; 10+ messages in thread
From: Ulrich Mueller @ 2023-04-10 16:47 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Eli Zaretskii, 62747
>>>>> On Mon, 10 Apr 2023, Andreas Schwab wrote:
> As it turns out, this was processed with an outdated version of
> desktop-file-validate.
I can reproduce your report with desktop-file-utils-0.24.
The reported errors are due to this bug in the validator tool:
https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/56
Not a problem with the Emacs desktop files, so I suggest to close
this bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#62747: 29.0.90; Invalid desktop file
2023-04-10 13:34 ` Eli Zaretskii
2023-04-10 13:53 ` Ulrich Mueller
@ 2023-04-10 14:05 ` Ulrich Mueller
1 sibling, 0 replies; 10+ messages in thread
From: Ulrich Mueller @ 2023-04-10 14:05 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Ulrich Müller, 62747, Andreas Schwab
>> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
>> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
>> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a quote which is not closed
>> invalid-desktopfile /usr/share/applications/emacsclient.desktop value "sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote
BTW, emacsclient.desktop in 29.0.90 is identical to the file shipped
with Emacs 28.1 and 28.2, except for replacing "placeholder" by "sh"
for the command name.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-04-10 18:54 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).