* sparse tree search still hides matching drawers (bug?)
@ 2016-05-05 2:06 Samuel Wales
2016-05-06 10:08 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2016-05-05 2:06 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sparse tree search still hides matching drawers (bug?)
2016-05-05 2:06 sparse tree search still hides matching drawers (bug?) Samuel Wales
@ 2016-05-06 10:08 ` Nicolas Goaziou
2016-05-07 1:07 ` Samuel Wales
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-05-06 10:08 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
Hello,
Samuel Wales <samologist@gmail.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sparse tree search still hides matching drawers (bug?)
2016-05-06 10:08 ` Nicolas Goaziou
@ 2016-05-07 1:07 ` Samuel Wales
2016-05-20 12:18 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2016-05-07 1:07 UTC (permalink / raw)
To: Samuel Wales, emacs-orgmode
On 5/6/16, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sparse tree search still hides matching drawers (bug?)
2016-05-07 1:07 ` Samuel Wales
@ 2016-05-20 12:18 ` Nicolas Goaziou
2016-05-20 19:28 ` Samuel Wales
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-05-20 12:18 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
Hello,
Samuel Wales <samologist@gmail.com> writes:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-05-20 19:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 2:06 sparse tree search still hides matching drawers (bug?) Samuel Wales
2016-05-06 10:08 ` Nicolas Goaziou
2016-05-07 1:07 ` Samuel Wales
2016-05-20 12:18 ` Nicolas Goaziou
2016-05-20 19:28 ` Samuel Wales
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.