hi again

cant get to figure this out. any help would be really appreciated!

best

Z

On Sat, Oct 28, 2017 at 9:44 PM, Xebar Saram <zeltakc@gmail.com> wrote:
thx so much

that works well. i tried to add another org-global-property entry (i assume thats possible) but then i didnt get completion for the second one.
this is what i used

(setq org-global-properties '(("Cuisine_ALL". "- Indian Thai Vietnamese Asian Chinese Israeli Italian American EastEuro Mexican French Persian Austrian Greek Fusion")))
(add-to-list 'org-global-properties '(("Rating_ALL". "- 1 2 3 4 5")))

i assume my syntax is wrong?

thx!

Z

On Sat, Oct 28, 2017 at 12:37 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Xebar Saram <zeltakc@gmail.com> writes:

> ;; Effort and global properties
> (setq org-global-properties '(("Effort_ALL". "0 0:10 0:20 0:30 1:00 2:00
> 3:00 4:00 6:00 8:00")))
>
>
>
> (add-to-list 'org-capture-templates
> '("f" "Food"
> entry
> (file+headline (lambda () (concat pmm "/org/files/agenda/food.org"))
> "Inbox")
> "* COOK %^{Recipe Name}
> :PROPERTIES:
> :ID: %(org-id-uuid)
> :Effort_ALL: %^{Effort_ALL}p
> :END:
> "
> "Capture Template for food recipe"
> ))

"XYZ_ALL" is a special property defining allowed values for "XYZ". In
you case, you will get completion for "Effort" with:

  :Effort: %^{Effort}p


Regards,

--
Nicolas Goaziou