emacs-orgmode
[Top][All Lists]
Advanced

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

org-capture-templates: how to automatically insert the mail body


From: Uwe Brauer
Subject: org-capture-templates: how to automatically insert the mail body
Date: Sat, 28 Dec 2024 17:20:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi 

I decided to use org-capture and the corresponding org-capture-templates
to save mail into an org file.

For example the following works

#+begin_src emacs-lisp
(setq org-capture-templates
      '(("hi" "Hg Issues Discussions"
         entry (file+headline "~/Some-file.org" "Issues")
         "** %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: 
%:subject\n- Date :: %:date\n- Email :: %a\n\n%?\n%i")))
#+end_src


However the mail body is only included if I mark it before calling
org-capture.

Is there any function/variable I miss that would insert the body
automatically like 

%:body


Thanks 

Uwe Brauer

 
-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]