emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] %( in capture template


From: Samuel Wales
Subject: [O] %( in capture template
Date: Wed, 8 Feb 2017 21:41:23 -0700

with the new org maint code, i still occasionally get the literal string.

it occurs when the region spans a blank line.

like

  %(concat
"http://whatever.whatever/building-a-mold-free-house/whatever";
"Building a mold free house" "

these remplates [don't know if first does anything]

  (add-to-list 'org-capture-templates
               `("L" "Protocol L for link" entry
                 (file+headline ,org-default-notes-file "xyzzy-remember")
                 ;; fixme perhaps i do not need the %i, if it is for no text
                 "%(concat \"%:link\"
\"%:description\" \"%i\") L"
                 :prepend t :immediate-finish t :jump-to-captured t))
  ;; this seems to get called by org capture whether selection or not
  (add-to-list 'org-capture-templates
               `("p" "Protocol p" entry
                 (file+headline ,org-default-notes-file "xyzzy-remember")
                 "%(concat \"%:link\"
\"%:description\" \"%i\")"
                 :prepend t :immediate-finish t :jump-to-captured t))

-- 
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it -- at any time.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." --- very true words by Johanna Kaiser spoken to US NIH in
conference call with Walter Koroshetz, NINDS director
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>

Denmark: free Karina Hansen NOW.
  UPDATE 2016-10: home, but not fully free



reply via email to

[Prev in Thread] Current Thread [Next in Thread]