From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Capture/refile and file+headline inquiry
Date: Wed, 27 Jul 2011 13:43:16 -0500 [thread overview]
Message-ID: <CA+M2ft9p8EtGycVH-TRNc9_cKcgAfqgxxSVCAawKKMQvpgZtMQ@mail.gmail.com> (raw)
1) How might it be possible to set custom expansion headlines for
capture templates?
For example, using the symbols from the capture note itself (kind of),
something like this:
-----
(setq org-capture-templates
'(("j" "journal" entry (file+olp "~/org/refile.org" "Journals" "%yyyy-mm")
"* %u %? \n" :clock-in t :clock-resume t)))
-----
To produce something like:
* Journals
** 2011-Jul
*** [2011-07-27 Wed] thing I'm capturing
2) Also, it seems that capture needs a single target file (refile.org
above), but most of the time, I just like to use it as an interface to
quickly file to any file. The tree structure options seem to only
apply to the target file; when refiling within capture (C-c C-w to a
file vs. sending off to refile.org), it will just send the headline
itself to something I have to manually specify for the refile target.
In other words:
--- C-c C-c automatically puts it into a datetree or whatever in refile.org
--- C-c C-w requires that I have the same datetree structure manually
created in a file other than refile.org, and then I have to choose it
by typing some letters, tabbing to completion, typing the next level
headline, tab completing, etc.
How can I refile to a set tree structure across any number of files via capture?
Thanks,
John
reply other threads:[~2011-07-27 18:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CA+M2ft9p8EtGycVH-TRNc9_cKcgAfqgxxSVCAawKKMQvpgZtMQ@mail.gmail.com \
--to=jw.hendy@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).