emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Capture template expansion
@ 2014-08-24 17:41 Alexis Roda
  0 siblings, 0 replies; only message in thread
From: Alexis Roda @ 2014-08-24 17:41 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,
org newbie here, neither proficient with org nor english, please be patient.

I'm having a hard time figuring how to gather property values with 
completion from a capture template.

----------------8<-------------[ .emacs ]--------------------
   (setq org-capture-templates
       '(("t" "Todo" entry (file+headline "gtd.org" "Tasks")
          "* TODO %?
   :PROPERTIES:
   :TIPUS:     %^{TIPUS}p
   :END:
")))
----------------8<-------------------------------------------

----------------8<-------------[ gtd.org ]-------------------
#+PROPERTY: TIPUS_ALL foo bar

* Tasks
----------------8<-------------------------------------------

gtd.org defines the allowed values for TIPUS but M-x org-capture does 
not provides completion when evaluating %^{TIPUS}p. After expanding the 
template, C-c C-x p does provide completion.

That's intentional? a bug in my setup?



TIA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-24 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-24 17:41 Capture template expansion Alexis Roda

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