emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgmode capture template how to add entry under org header
@ 2014-08-10  0:07 jenia.ivlev
  2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
  0 siblings, 1 reply; 5+ messages in thread
From: jenia.ivlev @ 2014-08-10  0:07 UTC (permalink / raw)
  To: emacs-orgmode


Hello:

I added a custom template for the capture-mode:

    
The problem is that the default "Tasks" template is not there anymore.
So I tried to add this:
    
    ("t" "Tasks" entry
        (file "~/Documents/org/notes.org"))

Now, when I press `M-x org-capture`, the "Tasks" option appears in the
template options list.

The default behaviour for the default Tasks template is to add the new
entries under the "* Tasks" headline.

How do I achieve that same feature?

How to add all new entries under a specific header in the .org file?

Thanks in advance for your kind help and time.

Jenia

P.S.

This is how I add the custom template to the org-capture templates list:

    (setq org-capture-templates '(
        ("c" "Class" entry
           (file "~/Documents/org/class.txt")
           #'org-capture-class)
        ("n" "Exercise session" entry
            (file "~/Documents/org/notes.org"))
        ("t" "Tasks" entry
            (file "~/Documents/org/notes.org"))
    ))

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

end of thread, other threads:[~2014-08-20 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-10  0:07 orgmode capture template how to add entry under org header jenia.ivlev
2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
2014-08-10 16:31   ` Charles Berry
2014-08-13  6:19   ` Aaron Ecay
2014-08-20 15:48   ` tumashu

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).