[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prefer application on Gnome Desktop
From: |
Richard Riley |
Subject: |
Re: prefer application on Gnome Desktop |
Date: |
Tue, 14 Jul 2009 10:59:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Daniel Pittman <daniel@rimspace.net> writes:
> Byung-Hee HWANG <bh@izb.knu.ac.kr> writes:
>
>> Hi, i use Emacs on Gnome Desktop (FreeBSD 7.2-RELEASE). In Gnome, there is
>> the config named "prefer application" in which we can decide the best
>> application for us such as mailer, webbrowser. The default value in mailer
>> is "Evolution". By the way i would like to switch to Gnus from Evolution. So
>> how can i change without any errors?
>>
>> First time, i tried as like "emacs -f gnus". But there is no action with
>> "mailto:" link. The tried "emacs -f gnus-no-server %s". Still problems..
>
> I wrote a small shell script to handle this, because there wasn't a trivial
> mechanism to wire up Gnus and the desktop environment:
>
> #!/bin/sh
> # Send a 'mailto:' link into my mail client...
> exec gnuclient -batch -eval \
> "(compose-mail-other-frame \"$1\" \"$2\" nil nil '((delete-frame)))"
>
> The system was configured to pass the 'to' address as argument one, and the
> 'subject' as argument two — Opera supported the later, but KDE didn't.
>
> You might want to use a different interface; I had that create and destroy a
> frame so that it behaved the way I liked.
>
> Regards,
> Daniel
related : a solution for firefox urls
http://emacs.wordpress.com/2007/02/23/emacs-friendly-firefox/
And this solution prompts for the posting-style if you use
gnus-posting-styles:
http://journal.wjsullivan.net/185095.html