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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux