Rüdiger Sonderfeld <ruedi...@c-plusplus.de> writes: > On Wednesday 02 September 2015 21:58:17 Nicolas Goaziou wrote: >> Rüdiger Sonderfeld <ruedi...@c-plusplus.net> writes: >> > + (let ((prop (org-find-property "DATE_WEEK_TREE"))) >> >> I don't think we need to introduce a new property for that. DATE_TREE is >> enough. > > Since DATE_TREE and DATE_WEEK_TREE (or WEEK_TREE instead?) are structured > differently it might make sense to keep the property separated.
If you want both a date tree and a week tree in the same, you probably want them to start at the same level, don't you? >> > + ;; ISO 8601 week format is %G-W%V(-%u) >> > + (org-datetree--find-create "^\\*+[ >> > \t]+\\([12][0-9]\\{3\\}\\)\\(\\s-*?\\([ >> > \t]:[[:alnum:]:_@#%%]+:\\)?\\s-*$\\)" >> Isn't this line too long? > > What's the limit? Because if it's 80 char then I'd need to do some `concat' > ugliness because the regex is over 80 char long. You can use continuation markup, i.e., "\\n". Regards,