On 06/05/2024 20:27, Greg Wooledge wrote:
On Mon, May 06, 2024 at 02:53:10PM +0200, Jesper Dybdal wrote:s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"The question (one of the questions) is what's putting them there, and I would guess one of the emacs packages is doing it.
update-mime(8) § DESKTOP ENTRIES In addition to the abovementioned mechanism update-mime also parses desktop entries in /usr/share/applications/ to generate mailcap entries. These entries are given a lower priority than those in /usr/lib/mime/packages. It seems there are a couple of bugs in update-mime:1. It does not perform an unquote pass that should retain only a half of backslashes from Exec field of .desktop file. 2. It does not skip x-scheme-handler/* entries. Are there applications that may use such entries?
Perhaps there is a bug in s-nail as well.