Emacs does not handle mailto requests
Description:
When Emacs detects that it has been invoked to handle a mailto request and it is configured to outsource the job, which is the default nowadays and rightfully so, it should refuse and instruct the user to configure their default mailto handler otherwise. Failing to do this results in an endless loop of Emacs composer launching another instance of Emacs composer.
However, upstream is → unwilling to do so and claims that desktop files are not their thing.
It seems we have 2 choices:
- patch Emacs start-up code to do the right thing,
- remove the file
/usr/share/applications/emacs-mail.desktop
. -
- I understand that this will violate our packaging rule that upstream desktop files shall be installed.
Additional info:
- package version(s): emacs 29.1-4
- config and/or log files: see → upstream
- link to upstream bug report, if any: as above ↑
Steps to reproduce:
M-x mail a@b.com C-n test C-c C-c