Re: [O] org-element-property syntax (turning strings into keyword symbols)

2013-11-09 Thread Matt Price
On Sat, Nov 9, 2013 at 2:48 AM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > >> This works fine. Now when I come back to this buffer I want to check >> whether any of the properties are actually there. So I am trying >> something like this: >> >> (let ((hasprops nil)) >> (dolist p

Re: [O] org-element-property syntax (turning strings into keyword symbols)

2013-11-08 Thread Nicolas Goaziou
Hello, Matt Price writes: > This works fine. Now when I come back to this buffer I want to check > whether any of the properties are actually there. So I am trying > something like this: > > (let ((hasprops nil)) > (dolist prop org-writers-room-properties > (if (org-element-property (c

[O] org-element-property syntax (turning strings into keyword symbols)

2013-11-08 Thread Matt Price
Hi, I'm trying to write a query that will check to see if the current element has any of several properties set; the properties are defined in a defcustom so I don't know in advance which properties I'm interested in. So I have the following code which INSERTS properties: (defcustom org-writers-