From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 11:51:36 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c033afa85c30f053dc9d1f5 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqG1D-0007Ht-Td for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 04:51:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqG1B-0006zc-HT for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 04:51:38 -0400 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:35009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqG1B-0006zH-BE for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 04:51:37 -0400 Received: by mail-yw0-x22c.google.com with SMTP id t193so3019098ywc.2 for ; Sat, 01 Oct 2016 01:51:37 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org mode --94eb2c033afa85c30f053dc9d1f5 Content-Type: text/plain; charset=UTF-8 Hi all so i have this useful to me capture template (add-to-list 'org-capture-templates '("un" "resturant" entry (file+headline "/home/zeltak/org/files/agenda/travel.org" "NYC") "* TOVISIT %^{Description} %u :PROPERTIES: :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|Japan} :Fav: %^{Fav|-|yes|no} :END: %? " )) as you can see im constructing a capture template that will add a propery drawer. i must be doping something wrong in my syntax as after a while when other input are added to the created header down the road (org-id, date etc) these create another property drawer. this looks like this **** TOVISIT Ample hill ice cream :PROPERTIES: :ID: 06a84670-baa9-4925-be93-b18252d6b684 :END: [2016-10-01 Sat] :PROPERTIES: :Rating: - :price: 0-10 :Source: http://www.amplehills.com/ :Type: dessert :Cuisine: American :Fav: :END: is there anyway to solve this issue? is my capture syntax wrong? best Z --94eb2c033afa85c30f053dc9d1f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all

so i have this useful to me capt= ure template

(add-to-list 'org-capture-te= mplates
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0'("un" "resturant"
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (file+headline "/home/zeltak/org/files/agenda/travel.org" "NYC")
=C2=A0 =C2=A0 = "* TOVISIT %^{Description} =C2=A0=C2=A0
=C2=A0 =C2=A0 %u
=C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 =C2=A0 :Rating: %^{ratin= g?|-|1|2|3|4|5}
=C2=A0 =C2=A0 =C2=A0 :price: %^{price in local cu= rrancy?|-|0-10|10-20|20-30|30-50|50+}
=C2=A0 =C2=A0 =C2=A0 :Sourc= e: %^{Source?}
=C2=A0 =C2=A0 =C2=A0 :Type: %^{Type?|meal|breakfea= st|dessert|street}
=C2=A0 =C2=A0 =C2=A0 :Cuisine: %^{Cuisine?|-|I= ndian|Thai|Vietnamese|Asian|Chinese|Israeli|Italian|American|EastEuro|Mexic= an|French|Persian|Austrian|Japan}
=C2=A0 =C2=A0 =C2=A0 :Fav: %^{F= av|-|yes|no}
=C2=A0 =C2=A0 =C2=A0 :END:
=C2=A0 =C2=A0 %= ?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0))


as you c= an see im constructing a capture template that will add a propery drawer. i= must be doping something wrong in my syntax as after a while when other in= put are added to the created header down the road (org-id, date etc) these = create another property drawer. this looks like this

**** TOVISIT Ample hill ice cream
=C2=A0 =C2=A0 =C2=A0:PR= OPERTIES:
=C2=A0 =C2=A0 =C2=A0:ID: =C2=A0 =C2=A0 =C2=A0 06a84670-= baa9-4925-be93-b18252d6b684
=C2=A0 =C2=A0 =C2=A0:END:
= =C2=A0 =C2=A0 =C2=A0 =C2=A0[2016-10-01 Sat]
=C2=A0 =C2=A0 =C2=A0:= PROPERTIES:
:Rating: -
:price: 0-10
:Type= : dessert
:Cuisine: American
:Fav:=C2=A0
:END:

is there anyway to solve this issue? is my capture = syntax wrong?

best

Z




--94eb2c033afa85c30f053dc9d1f5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: Re: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 11:26:47 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHVL-0005qI-1Y for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 06:26:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqHVI-0000fU-HN for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 06:26:49 -0400 Received: from mail-ua0-x229.google.com ([2607:f8b0:400c:c08::229]:35890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHVI-0000fG-DX for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 06:26:48 -0400 Received: by mail-ua0-x229.google.com with SMTP id n13so114464161uaa.3 for ; Sat, 01 Oct 2016 03:26:48 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram Cc: emacs orgmode-mailinglist You need to put the timestamp (%u) /after/ the drawer in the template. On 01/10/2016, Xebar Saram wrote: > Hi all > > so i have this useful to me capture template > > (add-to-list 'org-capture-templates > '("un" "resturant" > entry > (file+headline > "/home/zeltak/org/files/agenda/travel.org" > "NYC") > "* TOVISIT %^{Description} > %u > :PROPERTIES: > :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|Japan} > :Fav: %^{Fav|-|yes|no} > :END: > %? > " > )) > > > as you can see im constructing a capture template that will add a propery > drawer. i must be doping something wrong in my syntax as after a while when > other input are added to the created header down the road (org-id, date > etc) these create another property drawer. this looks like this > > **** TOVISIT Ample hill ice cream > :PROPERTIES: > :ID: 06a84670-baa9-4925-be93-b18252d6b684 > :END: > [2016-10-01 Sat] > :PROPERTIES: > :Rating: - > :price: 0-10 > :Source: http://www.amplehills.com/ > :Type: dessert > :Cuisine: American > :Fav: > :END: > > is there anyway to solve this issue? is my capture syntax wrong? > > best > > Z > -- phil.hudson@iname.com PGP/GnuPG ID: 0x887DCA63 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 14:05:29 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114e4b1657565f053dcbb07f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqI6n-0001tm-5F for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 07:05:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqI6k-0003Yy-HB for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 07:05:31 -0400 Received: from mail-yw0-x234.google.com ([2607:f8b0:4002:c05::234]:35714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqI6k-0003Ym-B3 for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 07:05:30 -0400 Received: by mail-yw0-x234.google.com with SMTP id t193so3992372ywc.2 for ; Sat, 01 Oct 2016 04:05:30 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Philip Hudson Cc: emacs orgmode-mailinglist --001a114e4b1657565f053dcbb07f Content-Type: text/plain; charset=UTF-8 got it thx Phillip, appreciate it! in a related continued issue, how does one define a sub header in the capture that will translate correctly to a lower level header than the main orc capture? i have tried both this inside a capture: %^{prompt|*** Ingredients} and also just using 2 stars ** sub header yet none of them create a sub header. any clue guys? Z On Sat, Oct 1, 2016 at 1:26 PM, Philip Hudson wrote: > You need to put the timestamp (%u) /after/ the drawer in the template. > > On 01/10/2016, Xebar Saram wrote: > > Hi all > > > > so i have this useful to me capture template > > > > (add-to-list 'org-capture-templates > > '("un" "resturant" > > entry > > (file+headline > > "/home/zeltak/org/files/agenda/travel.org" > > "NYC") > > "* TOVISIT %^{Description} > > %u > > :PROPERTIES: > > :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|Japan} > > :Fav: %^{Fav|-|yes|no} > > :END: > > %? > > " > > )) > > > > > > as you can see im constructing a capture template that will add a propery > > drawer. i must be doping something wrong in my syntax as after a while > when > > other input are added to the created header down the road (org-id, date > > etc) these create another property drawer. this looks like this > > > > **** TOVISIT Ample hill ice cream > > :PROPERTIES: > > :ID: 06a84670-baa9-4925-be93-b18252d6b684 > > :END: > > [2016-10-01 Sat] > > :PROPERTIES: > > :Rating: - > > :price: 0-10 > > :Source: http://www.amplehills.com/ > > :Type: dessert > > :Cuisine: American > > :Fav: > > :END: > > > > is there anyway to solve this issue? is my capture syntax wrong? > > > > best > > > > Z > > > > > -- > phil.hudson@iname.com PGP/GnuPG ID: 0x887DCA63 > --001a114e4b1657565f053dcbb07f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
got it thx Phillip, appreciate it!

in a= related continued issue, how does one define a sub header in the capture t= hat will translate correctly to a lower level header than the main orc capt= ure?

i have tried both this inside a capture:

=C2=A0 %^{prompt|*** Ingredients}


and also just using 2 stars

** sub header

yet none of them create a s= ub header. any clue guys?

Z



On Sat, Oct 1, 2016 at 1:26 PM, Philip Hudson <phil.hudson@iname.com= > wrote:
You need to put th= e timestamp (%u) /after/ the drawer in the template.

On 01/10/2016, Xebar Saram <zeltakc= @gmail.com> wrote:
> Hi all
>
> so i have this useful to me capture template
>
> (add-to-list 'org-capture-templates
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &= #39;("un" "resturant"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 entry
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0(file+headline
> "/home/zeltak/org/files/agenda/travel.org"
> "NYC")
>=C2=A0 =C2=A0 =C2=A0"* TOVISIT %^{Description}
>=C2=A0 =C2=A0 =C2=A0%u
>=C2=A0 =C2=A0:PROPERTIES:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:Rating: %^{rating?|-|1|2|3|4|5}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:price: %^{price in local currancy?|-|0-10|1= 0-20|20-30|30-50|50+}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:Source: %^{Source?}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:Type: %^{Type?|meal|breakfeast|dessert= |street}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:Cuisine:
> %^{Cuisine?|-|Indian|Thai|Vietnamese|Asian|Chinese|Israeli|I= talian|American|EastEuro|Mexican|French|Persian|Austrian|Japan} >=C2=A0 =C2=A0 =C2=A0 =C2=A0:Fav: %^{Fav|-|yes|no}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:END:
>=C2=A0 =C2=A0 =C2=A0%?
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ))
>
>
> as you can see im constructing a capture template that will add a prop= ery
> drawer. i must be doping something wrong in my syntax as after a while= when
> other input are added to the created header down the road (org-id, dat= e
> etc) these create another property drawer. this looks like this
>
> **** TOVISIT Ample hill ice cream
>=C2=A0 =C2=A0 =C2=A0 :PROPERTIES:
>=C2=A0 =C2=A0 =C2=A0 :ID:=C2=A0 =C2=A0 =C2=A0 =C2=A006a84670-baa9-4925-= be93-b18252d6b684
>=C2=A0 =C2=A0 =C2=A0 :END:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 [2016-10-01 Sat]
>=C2=A0 =C2=A0 =C2=A0 :PROPERTIES:
> :Rating: -
> :price: 0-10
> :Source: http://www.amplehills.com/
> :Type: dessert
> :Cuisine: American
> :Fav:
> :END:
>
> is there anyway to solve this issue? is my capture syntax wrong?
>
> best
>
> Z
>


--
phil.hudson@iname.com=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PGP/G= nuPG ID: 0x887DCA63

--001a114e4b1657565f053dcbb07f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: Re: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 14:25:33 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqKIe-0003Lx-El for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 09:25:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqKIc-0004fF-1c for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 09:25:55 -0400 Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:36810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqKIb-0004f8-Rx for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 09:25:53 -0400 Received: by mail-vk0-x22f.google.com with SMTP id y190so95163803vkd.3 for ; Sat, 01 Oct 2016 06:25:53 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram Cc: emacs orgmode-mailinglist Your target location defines how many stars you need at the top-level of your capture template. Each successive level of sub-heading then starts on its own line with one more leading star, just the same as anywhere else in org-mode. I use a certain capture template for a type of task with required subtasks. That template could be massively simplified as: ** TODO Finalize %?%^{item} SCHEDULED: <%(my-next-next-working-day)> *** TODO Process %\1 SCHEDULED: <%(my-next-working-day)> **** TODO Prepare %\1 SCHEDULED: %t WFM with target heading "* Captures" in file "Todo.org" On 1 October 2016 at 12:05, Xebar Saram wrote: > got it thx Phillip, appreciate it! > > in a related continued issue, how does one define a sub header in the > capture that will translate correctly to a lower level header than the main > orc capture? > > i have tried both this inside a capture: > > %^{prompt|*** Ingredients} > > > and also just using 2 stars > > ** sub header > > yet none of them create a sub header. any clue guys? > > Z > > > > On Sat, Oct 1, 2016 at 1:26 PM, Philip Hudson wrote: >> >> You need to put the timestamp (%u) /after/ the drawer in the template. >> >> On 01/10/2016, Xebar Saram wrote: >> > Hi all >> > >> > so i have this useful to me capture template >> > >> > (add-to-list 'org-capture-templates >> > '("un" "resturant" >> > entry >> > (file+headline >> > "/home/zeltak/org/files/agenda/travel.org" >> > "NYC") >> > "* TOVISIT %^{Description} >> > %u >> > :PROPERTIES: >> > :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|Japan} >> > :Fav: %^{Fav|-|yes|no} >> > :END: >> > %? >> > " >> > )) >> > >> > >> > as you can see im constructing a capture template that will add a >> > propery >> > drawer. i must be doping something wrong in my syntax as after a while >> > when >> > other input are added to the created header down the road (org-id, date >> > etc) these create another property drawer. this looks like this >> > >> > **** TOVISIT Ample hill ice cream >> > :PROPERTIES: >> > :ID: 06a84670-baa9-4925-be93-b18252d6b684 >> > :END: >> > [2016-10-01 Sat] >> > :PROPERTIES: >> > :Rating: - >> > :price: 0-10 >> > :Source: http://www.amplehills.com/ >> > :Type: dessert >> > :Cuisine: American >> > :Fav: >> > :END: >> > >> > is there anyway to solve this issue? is my capture syntax wrong? >> > >> > best >> > >> > Z >> > >> >> >> -- >> phil.hudson@iname.com PGP/GnuPG ID: 0x887DCA63 > > -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 18:55:58 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c19e6ae30d126053dcfbfde Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMdt-00021u-FY for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 11:56:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqMds-00007H-Im for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 11:56:01 -0400 Received: from mail-yb0-x22a.google.com ([2607:f8b0:4002:c09::22a]:36370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMds-000073-Ec for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 11:56:00 -0400 Received: by mail-yb0-x22a.google.com with SMTP id z8so37703994ybh.3 for ; Sat, 01 Oct 2016 08:55:59 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Philip Hudson Cc: emacs orgmode-mailinglist --94eb2c19e6ae30d126053dcfbfde Content-Type: text/plain; charset=UTF-8 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 --94eb2c19e6ae30d126053dcfbfde Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx phil

i now remember why i indented = the =C2=A0sub headers. i use a init.el file thats an org file (that is i ta= ngle my setting.org) into settings.el at= startup
thus the above capture you kindly shared:

=
=C2=A0#+BEGIN_SRC emacs-li= sp =C2=A0:results none

=C2=A0 ** TODO Finalize %?%^{item}
=C2=A0 =C2=A0 =C2=A0SCHEDULED: <%(= my-next-next-working-day)>
=C2=A0 *** TODO Process %\1
=C2=A0 =C2=A0 =C2=A0SCHEDUL= ED: <%(my-next-working-day)>
=C2=A0 **** TODO Prepare %\1
=C2=A0 =C2=A0 =C2=A0= =C2=A0SCHEDULED: %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 con= fig?

best

Z
--94eb2c19e6ae30d126053dcfbfde-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: Capture template creates multiple property drawers, help needed Date: Sat, 1 Oct 2016 20:52:26 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11492d92ba8ee0053dd15f83 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqOSb-0007QE-VU for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 13:52:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqOSZ-0001qt-O6 for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 13:52:28 -0400 Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]:36543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqOSZ-0001qn-Hg for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 13:52:27 -0400 Received: by mail-yw0-x230.google.com with SMTP id t67so86502942ywg.3 for ; Sat, 01 Oct 2016 10:52:27 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Philip Hudson Cc: emacs orgmode-mailinglist --001a11492d92ba8ee0053dd15f83 Content-Type: text/plain; charset=UTF-8 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 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 > --001a11492d92ba8ee0053dd15f83 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i had an idea of using lisp to solve the header issue like= with=C2=A0%(org-insert-heading) , but that dosent seem do to anything. her= e is the code:

(add-to-list 'org-capture-templa= tes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0'("uu" "resturant"
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (file+headline "/home/zeltak/org/files/agenda/travel.org" "Inbox")
=C2=A0 =C2=A0 &= quot;* %^{Description} =C2=A0=C2=A0
=C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 =C2=A0 :ID: %(org-id-uuid)
=C2=A0 =C2=A0 =C2=A0 :R= ating: %^{rating?|-|1|2|3|4|5}
=C2=A0 =C2=A0 =C2=A0 :price: %^{pr= ice in local currancy?|-|0-10|10-20|20-30|30-50|50+}
=C2=A0 =C2= =A0 =C2=A0 :Source: %^{Source?}
=C2=A0 =C2=A0 =C2=A0 :Type: %^{Ty= pe?|meal|breakfeast|dessert|street}
=C2=A0 =C2=A0 =C2=A0 :Cuisine= : %^{Cuisine?|-|Indian|Thai|Vietnamese|Asian|Chinese|Israeli|Italian|Americ= an|EastEuro|Mexican|French|Persian|Austrian|Jewish|Japan}
=C2=A0 = =C2=A0 =C2=A0 :Fav: %^{Fav|yes|no}
=C2=A0 =C2=A0 =C2=A0 :END:
%(org-insert-heading) =C2=A0
%?
"
))


anyone?

On Sat, Oct 1, 2016 at = 6:55 PM, Xebar Saram <zeltakc@gmail.com> wrote:
thx phil

i now re= member why i indented the =C2=A0sub 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 c= apture you kindly shared:

=C2=A0#+BEGIN_SRC emacs-lisp =C2=A0:results none
=

=C2=A0 ** = TODO Finalize %?%^{item}
=C2=A0 =C2=A0 =C2=A0SCHEDULED: <%(my-next-next-wor= king-day)>
=C2=A0 *** TODO Process %\1
<= span style=3D"font-size:12.8px">=C2=A0 =C2=A0 =C2=A0SCHEDULED: <%(my-nex= t-working-day)>

=C2=A0 **** TODO Prepare %\1
=C2=A0 =C2=A0 =C2=A0 =C2=A0SCHEDULED:= %t
#+END_SRC

will break the actual lisp code blocks.

Does an= yone know how to get around in org lisp code blocks in an org config?
=

best

Z

--001a11492d92ba8ee0053dd15f83--