diff options
author | Peter Oliver <git@mavit.org.uk> | 2021-06-09 12:44:32 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-02 13:09:08 +0200 |
commit | b1b05c828d67930bb3b897fe98e1992db42cf23c (patch) | |
tree | cf2a4680f85517f4a2912f8af144676f4a40baf8 /etc/emacs-mail.desktop | |
parent | 9eadcfdfe6f7b26ba44360db9f828fdbe7a78fe7 (diff) | |
download | emacs-b1b05c828d67930bb3b897fe98e1992db42cf23c.tar.gz |
Provide an emacsclient-mail.desktop
We provide both an emacs.desktop and an emacsclient.desktop, so for
consistency let’s do the same with mail.
* etc/emacs-mail.desktop: Extract suggestions for using emacsclient
from comments to create emacsclient-mail.desktop.
* etc/emacsclient-mail.desktop: Send mail using an existing Emacs
rather than starting a new one.
Diffstat (limited to 'etc/emacs-mail.desktop')
-rw-r--r-- | etc/emacs-mail.desktop | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/etc/emacs-mail.desktop b/etc/emacs-mail.desktop index 251afa100cd..3a96b9ec8c7 100644 --- a/etc/emacs-mail.desktop +++ b/etc/emacs-mail.desktop @@ -1,22 +1,10 @@ [Desktop Entry] Categories=Network;Email; Comment=GNU Emacs is an extensible, customizable text editor - and more +Exec=emacs -f message-mailto %u Icon=emacs Name=Emacs (Mail) MimeType=x-scheme-handler/mailto; NoDisplay=false Terminal=false Type=Application - -Exec=emacs -f message-mailto %u -# # If you prefer to use emacsclient, use this instead: -# Exec=sh -c 'emacsclient --alternate-editor= --display="$DISPLAY" --eval "(message-mailto \"%u\")"' -# Actions=new-window;new-instance; - -# [Desktop Action new-window] -# Name=New Window -# Exec=emacsclient --alternate-editor= --create-frame --eval '(message-mailto "%u")' - -# [Desktop Action new-instance] -# Name=New Instance -# Exec=emacs -f message-mailto %u |