emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to put into a journal info about the email sent
@ 2014-10-24 14:36 David Belohrad
  2014-10-24 15:43 ` Eric Abrahamsen
  0 siblings, 1 reply; 7+ messages in thread
From: David Belohrad @ 2014-10-24 14:36 UTC (permalink / raw)
  To: notmuch@notmuchmail.org, mailing-list-org-mode

Dear All,

i'm using org. And I'm using notmuch (that's why I address both mailing
lists). Now, writing an email in everyday bussiness requires a
non-significant time of your workhours. So I'd like to have this event
in my org agenda. So any time I send some email with a given subject,
I'd like to 'automatically' entry the information about it into
e.g. sentmails.org in form of a diary entry, with appropriate tag.

In example:

I'm sending a mail to Tom, with subject 'dealing vme register
mapping'. 

At the moment I send this email (using smtpmail), I'd like an entry in
the sentmails.org as follows:

--------------------------------------------------------------------------------
** 2014-10 October
*** 2014-10-02 Thursday
**** dealing vme register mapping                                                 :mail:
[[notmuch:id:7a97bb93e66a41878edd4c04fa764963-uuKonhrYUq+qwiivBfVWcw@public.gmane.org][dealing
vme register mapping]]
--------------------------------------------------------------------------------

I thought that I can use following

(add-hook 'message-send-hook '<mysuperfunction>)

to hook on sending and generate a capture entry. In fact this works
pretty well _EXCEPT_ the link to the mail sent. The org-store-link
cannot apparently store a link to an email, which so far was not sent
(and not received?) because it claims that

'org-gnus-store-link: Can not create link: No Gcc header found'

Hence this is pretty fatal for my diary entry. My question is: is there
any way how to link not-yet-sent/received email as an org-link? Or is
there any way to generate Gcc header before the email is sent and use
this header during sending? Or is
there any other way how to put into my agenda sent emails?

many thanks

david

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-29 13:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-24 14:36 how to put into a journal info about the email sent David Belohrad
2014-10-24 15:43 ` Eric Abrahamsen
     [not found]   ` <87ppdhh3rh.fsf-5ibeKGLO59aIK5dEoMBc7KxOck334EZe@public.gmane.org>
2014-10-24 15:46     ` David Edmondson
2014-10-24 17:02       ` Eric Abrahamsen
     [not found]         ` <87a94lh04t.fsf-5ibeKGLO59aIK5dEoMBc7KxOck334EZe@public.gmane.org>
2014-10-29 13:09           ` David Belohrad
     [not found]             ` <uaxd29bt43r.fsf-l29r6ovuLp4041QeWSbL1u1GAupnlqi7@public.gmane.org>
2014-10-29 13:41               ` David Edmondson
     [not found]                 ` <cuny4rzngbr.fsf-cKoGAlAyRl4B6mVx8Gbmpr8CxMaF4oN5@public.gmane.org>
2014-10-29 13:49                   ` David Belohrad

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).