emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jenia.ivlev@gmail.com (jenia.ivlev)
To: emacs-orgmode@gnu.org
Subject: orgmode capture template how to add entry under org header
Date: Sat, 09 Aug 2014 20:07:42 -0400	[thread overview]
Message-ID: <87ppg9w6k1.fsf@gmail.com> (raw)


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

             reply	other threads:[~2014-08-10  0:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-10  0:07 jenia.ivlev [this message]
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

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppg9w6k1.fsf@gmail.com \
    --to=jenia.ivlev@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 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).