Rasmus <ras...@gmx.us> writes:

> Does this do what you want:
>
>      (call-interactively 'org-set-property) 

Thanks, indeed it does, Marcin beat you to it though :-)

>> Also, I will sometimes need to include several different
>> properties. What would be the right way to run a loop where a new
>> property is set until the user answers something like C-return at the
>> promptĀ ?
>
> Here's naive approach.  Probably you can find a more elegant way.
>
>     (condition-case nil
>         (while t
>           (call-interactively 'org-set-property))
>       (quit nil))

That's working, I'm breaking out of the loop with C-g, is that what you
intendedĀ ?

Julien.



Reply via email to