emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default of send-mail-function


From: Jason Rumney
Subject: Re: Default of send-mail-function
Date: Tue, 08 Apr 2008 09:24:57 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

David De La Harpe Golden wrote:
On vaguely recent desktops following freedesktop.org ,
"xdg-email" should be a command that will open and populate a new mail
in the user's "preferred email composer".

xdg-email --subject foo --body bar address@hidden

Emacs presumably could/should try to use that on gnu/linux...

http://portland.freedesktop.org/wiki/XdgUtils
http://portland.freedesktop.org/wiki/EmailConfig

How about a new `unconfigured-send-it', for use as the default `send-mail-function', which checks for the existence of xdg-email, and uses it if found. If not available, it could fall back on `sendmail-send-it'. Alternately we could modify `mailclient-send-it' to use xdg-email when it exists rather than browse-url (which will only work if browse-url-browser-function is set to an external program that recognizes mailto: URLs).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]