Jim Porter writes: > On 10/22/2023 12:53 PM, sbaugh@catern.com wrote: >> Andreas Schwab writes: >> >>> On Okt 22 2023, sbaugh@catern.com wrote: >>> >>>> +Exec=emacsclient --alternate-editor= --eval '(message-mailto (pop server-eval-args-left))' %u >>> >>> This line is not valid according to the specs. >> Is that because of the single quotes surrounding spaces? Are quoted >> strings not permitted? > > According to the spec[1], you should use double quotes instead: > >> Quoting must be done by enclosing the argument between double quotes and escaping the double quote character, backtick character ("`"), dollar sign ("$") and backslash character ("\") by preceding it with an additional backslash character. > > Otherwise, I think what you have above is ok. > > [1] > https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html Thanks. OK, spec-compliant version: