From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: sparse tree search still hides matching drawers (bug?) Date: Fri, 06 May 2016 12:08:16 +0200 Message-ID: <87eg9fijn3.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycgl-0006Ao-B4 for emacs-orgmode@gnu.org; Fri, 06 May 2016 06:08:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aycgZ-0003Pa-Mv for emacs-orgmode@gnu.org; Fri, 06 May 2016 06:08:45 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycgZ-0003LE-Gj for emacs-orgmode@gnu.org; Fri, 06 May 2016 06:08:39 -0400 In-Reply-To: (Samuel Wales's message of "Wed, 4 May 2016 19:06:51 -0700") 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@gnu.org Sender: "Emacs-orgmode" To: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > in maint, i wanted to show categories, so i did c-c / / for category. > > the properties drawers stayed closed. shouldn't they show matches? You already reported that bug, which was fixed in master branch. I didn't apply it to maint because it changes the default value of a defcustom, hence introducing a slight user-visible change. > also, is it possible to make it so that if you provide an uppercased > search string, only uppercase strings will be matched? this is how > isearch works for me. > > (setq org-show-context-detail > '( > ;; sparse tree regexp c-c / / > (occur-tree . minimal) > ;; sparse tree tags c-c / m > (tags-tree . minimal) > ;; everything else should always be canonical > (default . canonical))) I guess you could set `case-fold-search' to an appropriate value before searching. Regards, -- Nicolas Goaziou