org-java icon indicating copy to clipboard operation
org-java copied to clipboard

Ignore commented lines

Open holocronweaver opened this issue 5 years ago • 4 comments

I have many SCHEDULED and DEADLINE lines in my org files which are commented with a # at the beginning of the line. I would like these and all other commented lines to be ignored during parsing.

This was brought to my attention when orgzly erroneously included all my commented scheduled and deadline tasks in the agenda.

holocronweaver avatar Mar 17 '19 16:03 holocronweaver

Ignored, but preserved, presumably?

phrxmd avatar Sep 28 '19 10:09 phrxmd

Yep, ignored and preserved.

holocronweaver avatar Oct 13 '19 20:10 holocronweaver

Notice that the # can be at the start of the trimmed line, so just looking at the first char isn't enough.

SnarkBoojum avatar Apr 02 '20 12:04 SnarkBoojum

I just discovered I have this problem too. It doesn't work for #, COMMENT, or #+BEGIN_COMMENT

megodoonch avatar Jul 06 '22 21:07 megodoonch