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

Re: sensible-mailer

Le 05/03/2010 15:43, Harald Braumann a écrit :
> On Fri, Mar 05, 2010 at 03:30:45PM +0100, Giacomo A. Catenazzi wrote:
>> On 05.03.2010 15:18, Josselin Mouette wrote:
>>> Le vendredi 05 mars 2010 à 15:06 +0100, Harald Braumann a écrit :
>>>> I'd like to propose a `sensible-mailer' command. The main usage would
>>>> be to handle `mailto' links. But maybe such functionality already exists
>>>> and I'm just not aware of it, or there are specific reasons for not
>>>> implementing this.
>>> xdg-open handles mailto links just fine.
>> not guaranteed:
>> from manpage: "xdg-open supports file, ftp, http and https URLs."
> It's xdg-email. It has exactly the interface that I would envision, but alas
> doesn't work. Not the whole world is a desktop. If it doesn't detect any of 
> the desktop environments, it will call sensible-browser, which leads you back
> to where you've started (the browser, where you clicked the link).
> So we would still need a sensible-mailer command, that can be called in such
> a case. It's also necessary to convert the link to command line options for
> mailers that don't support mailto links.
Please no, not another one or we'll end up with the browser situation
(sensible-browser, gnome-www-browser, www-browser, x-www-browser, WTF?).

xdg-email (or even xdg-open, fwiw) would definitely be the correct
solution, that way the user can set the mailer he wants. Make it have a
good default (a $MAILER better than a new command, imho) and you're done.


Reply to: