Bastien wrote: > Sebastien Vauban writes: > >> Isn't here the problem that the OP makes a difference between "agenda >> generation" and "results for a search". I guess he agrees COMMENTed trees >> should not participate in agendas, but well in regexp searches. > > But Samuel *is* using the agenda, no?
I understand from his description: >>> 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. that he's using "C-c a < s" to make his search. I understand, maybe wrongly though, that he agrees not seeing COMMENTed headlines in "C-c a a", but not in "C-c a s" results. He'll tell us... Best regards, Seb -- Sebastien Vauban