Yes, that seems like a reasonable and consistent approach to me and most likely to keep consistency across org-* and core emacs search functions.
regards, Tim Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Tim Cross <theophil...@gmail.com> writes: > >> my 2 cents would vote for a variable which manages case folding. This >> would be in-line with how isearch works and something familiar to most >> Emacs users. I also prefer a single function which behaves differently >> depending on a config variable setting over separate functions as I >> think it makes key binding easier (though admittedly, it is trivial to >> define a lambda which selects between different functions depending on >> the setting of a config variable or prefix arg etc ). > > Thinking about it, we may simply drop `org-occur-case-fold-search' and > use `search-upper-case' wherever that makes sense. > > So far, "wherever that makes sense" includes: > - `org-occur' > - `org-search-view' > - what else? > > WDYT? > > Regards, -- Tim Cross