On Wed May 15, 2024 at 4:51 PM BST, Max Nikulin wrote: > On 07/05/2024 23:24, Max Nikulin wrote: > >> On 2024-05-06 17:04, Max Nikulin wrote: > >>> So doubled backslashes (as in .desktop files) are correct. > >>> > >>> What is wrong is lack of backslashes added before ";" and it is a bug. > > I have filed > https://bugs.debian.org/1071036 > update-mime does not escape semicolon in .desktop Exec entries
Thanks for persevering with this! Re-reading your bug report I'm struck by how hard to reason about (and test) the emacs .desktop Exec= line is. Personally I'd break that out to a separate wrapper script, which wouldn't fix the root issue you've identified, but wouldn't trigger it. -- Please do not CC me for listmail. 👱🏻 Jonathan Dowland ✎ j...@debian.org 🔗 https://jmtd.net