[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] SCHEDULED in a comment line is not ignored by sparse-tree
From: |
Sebastien Vauban |
Subject: |
Re: [O] SCHEDULED in a comment line is not ignored by sparse-tree |
Date: |
Wed, 03 Dec 2014 15:54:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
James Harkins wrote:
> This appears to be buggy behavior, but I'm asking here first in case
> it might already have been fixed. [...]
>
> #+BEGIN_SRC org
> ,** TODO Update lesson grades 2
> :Comp:
> SCHEDULED: <2014-12-06 Sat 23:59 .+1w>
> :PROPERTIES:
> :STYLE: habit
> :LOGGING: TODO MAYBE INPROG MTG | DONE(!) POSTPONED CANCELED
> :END:
> # SCHEDULED: <%%(memq (calendar-day-of-week date) '(3 6))>
> #+END_SRC
>
> byte-code: Bad timestamp `%%(memq (calendar-day-of-week date) '(3 6))'
> Error was: (Not a standard Org-mode time string: %%(memq
> (calendar-day-of-week date) '(3 6)))
>
> This is the only occurrence of memq anywhere in this org file, so it
> *must* be coming from this line. So, whatever regexp is handling
> scheduled timestamp searches doesn't check whether the line is
> a comment or not.
I had reported that very same issue in May 2014:
http://lists.gnu.org/archive/html/emacs-orgmode/2014-05/msg00756.html
Still there...
Best regards,
Seb
--
Sebastien Vauban