When I search for a {regexp}, using the agenda, with restriction set to the current file, I get entries that contain matching text in ordinary lines and entries that contain matching text in commented lines. This is desired.
However, the COMMENT keyword on a headline stops results from showing. This is not desired. It is also inconsistent with commented lines. I strongly prefer for all matches to show up, whether commented or not. However, in principle there could be an option to not match anything that is commented. If such an option is desired, however, I suggest the safer value of nil as a default. Thanks. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it.