unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to set case-fold-search (back to) NON-nil, EVERYWHERE?
@ 2009-06-29 20:15 David Combs
  2009-06-29 20:36 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: David Combs @ 2009-06-29 20:15 UTC (permalink / raw)
  To: help-gnu-emacs


Darned if I know how it got set nil, but it has, 
apparently in every buffer, and it's just HORRIBLE.

How to set it to 1, THROUGHOUT emacs, without restarting emacs?

(No, (setq case-fold-search 1) doesn't seem to do it GLOBALLY.)


Thanks!

David

PS: am using NTemacs:

  GNU Emacs 23.0.0.1 (i386-mingw-nt5.1.2600) of 2007-08-18 on TPAD





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to set case-fold-search (back to) NON-nil, EVERYWHERE?
  2009-06-29 20:15 how to set case-fold-search (back to) NON-nil, EVERYWHERE? David Combs
@ 2009-06-29 20:36 ` Teemu Likonen
  2009-06-30 17:06   ` David Combs
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-06-29 20:36 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-06-29 16:15 (-0400), David Combs wrote:

> (No, (setq case-fold-search 1) doesn't seem to do it GLOBALLY.)

Try:

    (setq-default case-fold-search t)

It sets the global value but it won't have effect on buffer's which
already have buffer-local binding for the variable. You can execute

    (kill-local-variable 'case-fold-search)

in such buffers and then they start using the global value again.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to set case-fold-search (back to) NON-nil, EVERYWHERE?
  2009-06-29 20:36 ` Teemu Likonen
@ 2009-06-30 17:06   ` David Combs
  0 siblings, 0 replies; 3+ messages in thread
From: David Combs @ 2009-06-30 17:06 UTC (permalink / raw)
  To: help-gnu-emacs

In article <87ljnau6a3.fsf@iki.fi>, Teemu Likonen  <tlikonen@iki.fi> wrote:
>On 2009-06-29 16:15 (-0400), David Combs wrote:
>
>> (No, (setq case-fold-search 1) doesn't seem to do it GLOBALLY.)
>
>Try:
>
>    (setq-default case-fold-search t)
>
>It sets the global value but it won't have effect on buffer's which
>already have buffer-local binding for the variable. You can execute
>
>    (kill-local-variable 'case-fold-search)
>
>in such buffers and then they start using the global value again.

THANK YOU!

David




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-30 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 20:15 how to set case-fold-search (back to) NON-nil, EVERYWHERE? David Combs
2009-06-29 20:36 ` Teemu Likonen
2009-06-30 17:06   ` David Combs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).