Re: Preferred Applications -> Mail Reader

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

 



On Fri, May 7, 2010 at 4:22 PM, Patrick O'Callaghan
<pocallaghan@xxxxxxxxx> wrote:
> On Fri, 2010-05-07 at 11:28 +0200, Henrik Frisk wrote:
>> Hi all,
>>
>> I've finally gotten around to trying to set up mystem so that clicking
>> on a mailto link open up a new buffer in emacs (mh-e). By choosing
>> 'Custom' in the Prefferd Application proferences pane I can add a
>> command to be run in a terminal. If I start the emacs server (M-x
>> server-start) I can now remotely create a new message to
>> to@xxxxxxxxxxxx in emacs by running the command:
>>
>> $ emacsclient -e '(mh-smail-batch "to@xxxxxxxxxxxx")'.
>>
>> However, i can't seem to figure out what the variable for the address
>> is in the Custom option in the Mail Reader preference. I tried %s but
>> that doesn't seem to work.
>
> I know there's a standard for this somewhere. Try
> "mailto:to@xxxxxxxxxxx";.
>
I'm not sure I understand what you mean or maybe I wasn't being clear.
What I want is to have something like

emacsclient -e '(mh-smail-batch "%s")'.

where %s gets substituted for the address that I clicked on somewhere.
If I put "mailto:to@xxxxxxxxxxx"; that's what I get regardless of what
I click on. I can see from other scripts (such as this:
http://xantus.vox.com/library/post/howto-use-gmail-for-mailto-links-linuxubuntu.html)
that %s should be working but it doesn't for me for some reason.

best,

/Henrik
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux