It concur that the desktop file should not be installed.  It has turned out that downstream does not install this file except as instructed by us.

<URL: https://gitlab.archlinux.org/archlinux/packaging/packages/emacs/-/issues/1#note_157822 >

We should stop installing it.  It lies to the desktop and disables one of the crucial functionalities, namely reporting a bug in Emacs, leaving the user perplexed and frustrated.

19 sty 2024 15:38 Eli Zaretskii <eliz@gnu.org> napisaƂ(a):

> Date: Fri, 19 Jan 2024 12:51:05 +0000
> Cc: manuel@ledu-giraud.fr, 68582@debbugs.gnu.org
> From: Christopher Yeleighton <giecrilj@stegny.2a.pl>
>


> Do you mean that the file emacs-mail.desktop should go to
> docs/emacs/examples instead of applications?

My opinion is and has always been that it is a mistake to distribute
emacs.desktop, because setting up applications on the user systems is
not something the Emacs project should be involved in.  But people
disagreed, so we now have this file, and sure enough it causes trouble
to users.  So from my POV, this file should go to the trash bin.