[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upcoming loss of usability of Emacs source files and Emacs.
From: |
Tassilo Horn |
Subject: |
Re: Upcoming loss of usability of Emacs source files and Emacs. |
Date: |
Wed, 17 Jun 2015 13:20:18 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Yuri Khan <address@hidden> writes:
>> Indeed. With such a change to isearch, Emacs takes one more step
>> from being a sharp tool to being a blunt instrument.
>>
>> Don't forget that Emacs is used for things other than developing Elisp
>> programs. Such an identification of disparate characters is not going
>> to be universally welcome, and will cause confusion.
>
> Emacs already has a facility for ignoring distinctions between
> disparate characters. It’s called case-insensitive search, and is
> governed by a customizable global option and a toggleable local option
> in isearch.
So probably we should have some `quote-fold-search' with the same
toggles. Then modes need to specify somehow which replacements are
valid, e.g., elisp-mode would define something like ((?` ?` ?‘) (?' ?'
?’)) meaning that ` matches itself and also an opening quote, and '
matches itself and also a closing quote.
Bye,
Tassilo
Re: Upcoming loss of usability of Emacs source files and Emacs., Eli Zaretskii, 2015/06/15
Re: Upcoming loss of usability of Emacs source files and Emacs., Paul Nathan, 2015/06/20