i had an idea of using lisp to solve the header issue like
with %(org-insert-heading) , but that dosent seem do to anything. here is
the code:
(add-to-list 'org-capture-templates
'("uu" "resturant"
entry
(file+headline "/home/zeltak/org/files/agenda/travel.org"
"Inbox")
"* %^{Description}
:PROPERTIES:
:ID: %(org-id-uuid)
:Rating: %^{rating?|-|1|2|3|4|5}
:price: %^{price in local currancy?|-|0-10|10-20|20-30|30-50|50+}
:Source: %^{Source?}
:Type: %^{Type?|meal|breakfeast|dessert|street}
:Cuisine:
%^{Cuisine?|-|Indian|Thai|Vietnamese|Asian|Chinese|Israeli|Italian|American|EastEuro|Mexican|French|Persian|Austrian|Jewish|Japan}
:Fav: %^{Fav|yes|no}
:END:
%(org-insert-heading)
%?
"
))
anyone?
On Sat, Oct 1, 2016 at 6:55 PM, Xebar Saram <[email protected]> wrote:
> thx phil
>
> i now remember why i indented the sub headers. i use a init.el file thats
> an org file (that is i tangle my setting.org) into settings.el at startup
> thus the above capture you kindly shared:
>
> #+BEGIN_SRC emacs-lisp :results none
>
> ** TODO Finalize %?%^{item}
> SCHEDULED: <%(my-next-next-working-day)>
> *** TODO Process %\1
> SCHEDULED: <%(my-next-working-day)>
> **** TODO Prepare %\1
> SCHEDULED: %t
> #+END_SRC
>
> will break the actual lisp code blocks.
>
> Does anyone know how to get around in org lisp code blocks in an org
> config?
>
> best
>
> Z
>