Re: [O] sparse tree search still hides matching drawers (bug?)
thank you! On 5/20/16, Nicolas Goaziouwrote: > I added `org-occur-case-fold-search' variable in master. Setting it to > `smart' should mimic isearch when calling org-occur. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] sparse tree search still hides matching drawers (bug?)
Hello, Samuel Waleswrites: > that would only either allow case folding or no case folding. in > isearch, if you search for lowercase, it folds. if you search for > uppercase CATEGORY, it doesn't. I added `org-occur-case-fold-search' variable in master. Setting it to `smart' should mimic isearch when calling org-occur. Regards, -- Nicolas Goaziou
Re: [O] sparse tree search still hides matching drawers (bug?)
On 5/6/16, Nicolas Goaziouwrote: > 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. thanks for being thorough and for fixing it. > I guess you could set `case-fold-search' to an appropriate value before > searching. that would only either allow case folding or no case folding. in isearch, if you search for lowercase, it folds. if you search for uppercase CATEGORY, it doesn't. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] sparse tree search still hides matching drawers (bug?)
Hello, Samuel Waleswrites: > 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
[O] sparse tree search still hides matching drawers (bug?)
in maint, i wanted to show categories, so i did c-c / / for category. the properties drawers stayed closed. shouldn't they show matches? 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))) thanks. samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.