[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bookworm's /etc/mailcap seems to break s-nail



On 06/05/2024 21:41, David Wright wrote:
On Mon 06 May 2024 at 14:53:10 (+0200), Jesper Dybdal wrote:
* In Bookworm:
    mailcap/stable,now 3.70+nmu1 all [installed,automatic]
    j-nail/stable,now 14.9.24-2 amd64 [installed]
Has anyone else seen this?

Do you have emacs installed? Rare .desktop files have complex shell commands inside. emacsclient treats --display option in a quite specific way, so it needs --display="$DISPLAY". Moreover, there is no way to pass to emacs "server" arguments like URIs using something similar to argv. That is why it is necessary to escape arguments used in lisp expressions

    emacsclient --eval "(FUNCTION \"ARGUMENT\")"

Emacs developers are against helper scrips as dedicated files, so there are inline script in Exec filed of .desktop files.


Reply to: