[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpretation of a space in regexp isearch?
From: |
Chong Yidong |
Subject: |
Re: Interpretation of a space in regexp isearch? |
Date: |
Thu, 30 Aug 2012 17:01:48 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
> (defcustom search-whitespace-regexp "\\s-+"
> ...
>
> (defcustom re-search-whitespace-regexp search-whitespace-regexp
> ...
>
> `re-search-whitespace-regexp' inheriting its default value
> from `search-whitespace-regexp' will provide backward-compatibility
> for users who already customized the old variable.
This trick to preserve backward compatibility doesn't work for
isearch.el's defcustoms, because they are loaded by default. So if the
user customizes `search-whitespace-regexp', a new
`regexp-search-whitespace-regexp' in isearch.el would end up with the
default value of s-w-r, not the customized value.
- Re: Interpretation of a space in regexp isearch?, (continued)
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/31
- Re: Interpretation of a space in regexp isearch?, Chong Yidong, 2012/08/31
- 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, 2012/08/29
- Re: Interpretation of a space in regexp isearch?,
Chong Yidong <=
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/30