From: John Kitchin <johnrkitchin@gmail.com>
To: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: mailto link with a subject and a content
Date: Thu, 15 Jan 2015 19:25:53 -0500 [thread overview]
Message-ID: <m2r3uvpo4u.fsf@johns-air.wv.cc.cmu.edu> (raw)
In-Reply-To: <A2A20EC3B8560D408356CAC2FC148E53B1FE0186@SUN-DAG3.synchrotron-soleil.fr>
I don't think a link is what you want here. You only get one piece of
information out of box when you click on a link,
e.g. mailto:jkitchin@andrew.cmu.edu (in my org-mode) will open a message
addressed to me. It is conceivable you could use syntax like
[[mailto:some@email.com][Some subject]], but you would need to get the
element at point to get to the Some subject part.
It is easier to use a headline as the subject, and properties of the
headline to store the email address. See the function here:
https://github.com/jkitchin/jmax/blob/master/email.el#L51
Which sends an org-headline as an email with the headline as the
subject, and contents as the body. After you send the email, it stores
who you sent it to, and when as properties of that headline.
There are some other simpler email functions in there too.
PICCA Frederic-Emmanuel writes:
> Hello, I would like to create a link (exported as html) which allow to prefill the content of the emai when we click on it.
>
> Something like
>
> To: submit@bugs.debian.org
> Subject: My problem with hkl...
>
> Package: hkl
> Version: @VERSION@
>
> I found this problem in hkl...
>
> Is it possible to do this kind of things with org-mode ?
>
> thanks
>
> Frederic
>
> PS: I found nothing about the content in the documentation
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
next prev parent reply other threads:[~2015-01-16 0:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 17:19 mailto link with a subject and a content PICCA Frederic-Emmanuel
2015-01-16 0:25 ` John Kitchin [this message]
2015-01-16 1:16 ` Eric Abrahamsen
2015-01-16 8:23 ` Christian Moe
2015-01-16 8:34 ` PICCA Frederic-Emmanuel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r3uvpo4u.fsf@johns-air.wv.cc.cmu.edu \
--to=johnrkitchin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=frederic-emmanuel.picca@synchrotron-soleil.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.