emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* capture template sexp
@ 2012-10-18 21:53 Skip Collins
  2012-12-18 11:33 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Skip Collins @ 2012-10-18 21:53 UTC (permalink / raw)
  To: emacs-orgmode

I have not been able to find good examples of how to use the %(sexp)
construct in capture templates. I have a use case in which I would
like to retrieve some information from the capture target file to
include in the template. Can someone suggest a way construct a sexp
that returns a regular expression found in the target file? Say I need
to find the first headline that begins with the string "* Topic: " and
return the remainder of the line.

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

end of thread, other threads:[~2012-12-18 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 21:53 capture template sexp Skip Collins
2012-12-18 11:33 ` Bastien

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