Hi,

> > On Mon, 04 Jul 2011 15:06:33 +0900
> > "Shigio YAMAGUCHI" <[email protected]> wrote:
> > 
> > I think,
> > It is better to refer both variable 'case-fold-search' and defcustom.
> > Because I would like to ignore case in 'isearch', but not in global.
> > 
> 
> I agree. It is more flexible.
> How about the following?
> 
> (defcustom gtags-ignore-case 'follow-case-fold-search
>   "*Controls whether or not ignore case in each search."
>   :type '(choice (const :tag "Follows 'case-fold-search variable" 
> follow-case-fold-search)
>                  (const :tag "Ignore case" t)
>                  (const :tag "Distinguish case" nil))
>   :group 'gtags)
> 
> 
> [Usage of gtags-ignore-case]
> 
> (setq gtags-ignore-case t)                              ; ignore case
> 
> (setq gtags-ignore-case nil)                            ; distinguish case
> 
> (setq gtags-ignore-case 'follow-case-fold-search)       ; follow 
> 'case-fold-search variable

Thank you.
It's a good idea.
Some people would like to distinguish case in 'isearch', but not in
'GLOBAL', that's no problem.

> The default is 'follow-case-fold-search.
> 
> What do you think?

I think it is better that gtags-ignore-case's default value is 'nil'.
Because it is compatible for previous release (before 6.0) of GLOBAL.
Isn't it comfortable for many old users?

-- 
Yushi Oka <[email protected]>


_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to