From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: org-search-view skips over commented subtrees Date: Tue, 07 May 2013 14:32:39 +0200 Message-ID: <86txmfug0o.fsf@somewhere.org> References: <87k3nb6oyl.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Bastien wrote: > Samuel Wales writes: > >> 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. > > There is such an option: > > (setq org-agenda-skip-comment-trees nil) > > It defaults to `t' which I think is a good default. 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. Best regards, Seb -- Sebastien Vauban