On Wed., Sep. 18, 2019, 9:42 p.m. John Kitchin,
wrote:
> You can get an alist of all the properties in an entry with
> org-entry-properties, and then you can let-alist these, or do something
> else. Here is an example that might be related.
>
> * test
> :PROPERTIES:
> :some-random-property: T
You can get an alist of all the properties in an entry with
org-entry-properties, and then you can let-alist these, or do something
else. Here is an example that might be related.
* test
:PROPERTIES:
:some-random-property: True
:END:
#+BEGIN_SRC emacs-lisp :results code
(org-entry-propertie
Matt Price writes:
> OK, this is pretty cool, thank you. I took John's excellent
> suggestion of using a headline property to store the appropriate
> actions, but it makes sense to switch to org-ql if I can master the
> syntax (which seems awfully powerful). One questions: does
> org-ql-se
Sorry, replied to Adam directly by accident.
On Wed, Sep 18, 2019 at 8:32 PM Matt Price wrote:
>
>
> On Wed, Sep 18, 2019 at 5:31 PM Adam Porter wrote:
>
>> Matt Price writes:
>>
>> > Is there a lisp trick for adding arguments to the function called by
>> > `org-map-entries`?
>> >
>> > I have
I guess this information should be accessible in the entry where the
function is called, e.g. by a property (that may be inherited or set in the
file). then in your function just get the property values and do what you
want. Alternatively, you can probably do this with global (or maybe
lexically le
Matt Price writes:
> Is there a lisp trick for adding arguments to the function called by
> `org-map-entries`?
>
> I have the following function:
>
> (cl-defun org-lms-return-all-assignments (&optional (send-all nil) (also-mail
> nil) (post-to-lms t) )
> "By default mail all subtrees 'READY' t
Is there a lisp trick for adding arguments to the function called by
`org-map-entries`?
I have the following function:
(cl-defun org-lms-return-all-assignments (&optional (send-all nil)
(also-mail nil) (post-to-lms t) )
"By default mail all subtrees 'READY' to student recipients, unless
SEND-AL