[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpretation of a space in regexp isearch?
From: |
Juri Linkov |
Subject: |
Re: Interpretation of a space in regexp isearch? |
Date: |
Wed, 29 Aug 2012 11:34:58 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) |
> I'm OK with having two options, but the trouble is finding the right
> names: they need to have the right prefix. I don't like
> re-search-whitespace-regexp, because the name seems to indicate that it
> affects re-search-forward the Lisp function, rather than the incremental
> regexp search user-level feature. (Note that search-whitespace-regexp
> is similarly poorly named).
>
> Maybe isearch-spaces-regexp and isearch-regexp-spaces-regexp, with
> search-whitespace-regexp an obsolete alias for the latter? Though
> isearch-regexp-spaces-regexp sounds a bit weird.
There are other variables that have the `search-' prefix instead of
`isearch-'. I don't know why. But when using the same naming convention
as is used in `search-ring' and `regexp-search-ring', or in
`search-ring-max' and `regexp-search-ring-max', or in
`search-ring-yank-pointer' and `regexp-search-ring-yank-pointer' etc.
then the variable names would be:
`search-whitespace-regexp' and `regexp-search-whitespace-regexp'.
I have no opinion about the `isearch-' prefix but at least
these names will be consistent with other search variable names.
- Re: Interpretation of a space in regexp isearch?, (continued)
- Re: Interpretation of a space in regexp isearch?, Chong Yidong, 2012/08/29
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/29
- Re: Interpretation of a space in regexp isearch?, Stefan Monnier, 2012/08/29
- Re: Interpretation of a space in regexp isearch?, Dani Moncayo, 2012/08/29
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/29
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Chong Yidong, 2012/08/29
- Re: Interpretation of a space in regexp isearch?,
Juri Linkov <=
- Re: Interpretation of a space in regexp isearch?, Chong Yidong, 2012/08/30
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/30