emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Miguel Ruiz <rbenit68@yahoo.es>
To: emacs-orgmode@gnu.org
Subject: Re: Org capture with predefined entries from a list?
Date: Mon, 13 Sep 2010 19:57:21 +0000 (GMT)	[thread overview]
Message-ID: <165618.97391.qm@web29015.mail.ird.yahoo.com> (raw)
In-Reply-To: <8739tdbmxc.wl%n.goaziou@gmail.com>

Thank you for your interest.

First: org.el 7/9/2010, org-capture.el 2/9/2010

Contents of .emacs:

(...)
(setq org-capture-templates
      '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
             "* TODO %?\n  %i\n  %a")
        ("j" "Journal" entry (file+datetree "~/org/journal.org")
             "* %?\nEntered on %U\n  %i\n  %a")))
(...)

So, let's start:

1. In any buffer: M-x org-capture
2. Appears a menu saying "Select a capture template". Of course, two options [t] and [j], and [C] Customize org-capture-templates and [q] Abort.
3. I press [t] and get a "capture buffer" with "* TODO" inserted, ready to accept more info
4. C-c C-c finish and save the entry in ~/org/gtd.org

Ok. That's what I would like:

1. In any buffer: M-x org-capture
2. Appears a menu saying "Select a capture template". Of course, two options [t] and [j], and [C] Customize org-capture-templates and [q] Abort.
3. I press [t] and get a "capture buffer" with "* TODO" inserted, ready to accept my entry
4. Appears another menu saying "Select task type or whatever": several options: [1] Task1 [2] Task2 [3] Task3 ...
5. I press [1] and  "capture buffer" updates with "* TODO Task1" inserted, ready to accept more info
6. Ideally appears another menu saying "Select comment or whatever": several options: [1] Comment1 [2] Comment2 [3] Comment3 ...
7. I press [1] and  "capture buffer" updates with "* TODO Task1 Comment1" inserted, ready to accept more info
8. Ideally steps 6 and 7 would be repeated (well, no more than 4 or 5 times)
4. C-c C-c finish and save the entry in ~/org/gtd.org


In the original post I said that if not possible, I would be happy with a shortkey launching a buffer showing the options of step 4, then I would select one of them and it would inserted after "* TODO"

I hope now it is more clear.

Miguel





  reply	other threads:[~2010-09-13 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11  7:37 Org capture with predefined entries from a list? Miguel Ruiz
2010-09-13 16:58 ` Nicolas Goaziou
2010-09-13 19:57   ` Miguel Ruiz [this message]
2010-09-21 23:00     ` Bastien
2010-09-22  5:26       ` Miguel Ruiz
2010-09-22  7:13         ` Bastien

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=165618.97391.qm@web29015.mail.ird.yahoo.com \
    --to=rbenit68@yahoo.es \
    --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).