[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ok, then another (x)emacs question



guy keren <choo@actcom.co.il> writes:

> if we're at it - here is a puzzling question:
> 
> the incremental search in (x)emacs is case-insensitive by default, as it
> seems. now, how does make it become case-sensitive? or otherwise how
> does one make a case-snsitive search in (x)emacs? this little "feature"
> caused us to loose a few hours at work until we found about it..
> 
> thanks,
> guy

Andre gave one solution, but here is a toggling finction in (X)Emacs:

`isearch-toggle-case-fold' is an interactive compiled Lisp function
  -- loaded from "isearch-mode.elc"
(isearch-toggle-case-fold)

Toggle case folding in searching on or off.

So invoking it as M-x isearch-toggle-case-fold you'll achieve the
objective.

Again, as Andre pointed out, using help always helps. One of the
greatest help engines I've ever seen is (hyper-)apropos. You could
have found the solution in seconds typing

C-h a search RET 

and isearching for case a couple of times. No, this is not a flame,
it's a tip for the future.

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il   
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il