[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Combining (and obsoleting) isearch-regexp and isearch-word into a ne
From: |
Juri Linkov |
Subject: |
Re: Combining (and obsoleting) isearch-regexp and isearch-word into a new var |
Date: |
Thu, 30 Jul 2015 01:22:57 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) |
> All of these 4 functionalities are mutually exclusive, so it makes
> sense for them to be implemented as different values of a single
> variable in a consisten manner (all functions).
I welcome your changes since I had the same thoughts about ‘isearch-word’
overgrowing its initial purpose of word-searching only.
> I'd like to propose that the `isearch-word' variable be aliased to
> `isearch-special' (or something like this), and that its use as a
> boolean also be obsoleted.
A better name would be ‘isearch-regexp-based’ that will support all
regexp-based search modes including word, symbol, lax-whitespace,
char-folding, etc.
> Then also obsolete `isearch-regexp', which is just a special case of
> `isearch-special'.
I'd rather leave ‘isearch-regexp’ alone since the normal regexp search
needs special input processing (‘isearch-fallback’, etc.)