From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: How to use case sensitive org-search-view? Date: Thu, 16 Nov 2017 08:14:26 +1100 Message-ID: <878tf7jlcd.fsf@gmail.com> References: <22975.53875.671661.416361@frac.u-strasbg.fr> <874lrzl1gr.fsf@fastmail.fm> <87lgl963jf.fsf@nicolasgoaziou.fr> <22986.5564.583945.909910@frac.u-strasbg.fr> <877ewl4u8s.fsf@nicolasgoaziou.fr> <22986.19586.309718.302611@frac.u-strasbg.fr> <87h8vmopww.fsf@nicolasgoaziou.fr> <22989.25593.198323.807112@frac.u-strasbg.fr> <87k20imrzb.fsf@nicolasgoaziou.fr> <22997.60031.814843.407658@frac.u-strasbg.fr> <23045.57473.573321.290325@frac.u-strasbg.fr> <87efp1vsuq.fsf@fastmail.fm> <87shdgzjhx.fsf@nicolasgoaziou.fr> <87a7zok2as.fsf@gmail.com> <877eury718.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF50z-00033j-Mh for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 16:14:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF50y-0000lo-Vl for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 16:14:33 -0500 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:51939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eF50y-0000lR-Oi for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 16:14:32 -0500 Received: by mail-pf0-x234.google.com with SMTP id j28so15586058pfk.8 for ; Wed, 15 Nov 2017 13:14:32 -0800 (PST) In-reply-to: <877eury718.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Alain.Cochard@unistra.fr 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 writes: > Hello, > > Tim Cross 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