[Top][All Lists]

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

[O] How to call org-set-property from a function

From: Julien Cubizolles
Subject: [O] How to call org-set-property from a function
Date: Tue, 05 Jan 2016 23:14:34 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

I have the following function to automate the creation of a new entry:

#+begin_src emacs-lisp

I'd like to add the possibility to set some properties through
(org-set-property) but I can't figure out how to call it in its
interactive way, so that it prompts me for a property and value ? Of
course adding (org-set-property) or (interactive (org-set-property))
doesn't work.

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 ?


reply via email to

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