[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpretation of a space in regexp isearch?
From: |
Bastien |
Subject: |
Re: Interpretation of a space in regexp isearch? |
Date: |
Sun, 26 Aug 2012 08:59:59 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Dani Moncayo <address@hidden> writes:
>
>> IMO, that feature is what the user usually wants in an ordinary search
>> (regardless it's incremental or not; even if that search is part of a
>> ordinary replace command).
>>
>> On the other and, in a rexexp search (or regexp search&replace) I
>> think that the common case is the opposite: the user normally doesn't
>> want that feature.
>
> I committed a change to trunk to make non-regexp isearch match multiple
> spaces via search-spaces-regexp.
Great, thanks.
> As for regexp isearch, it seems disruptive to remove the feature now,
> since some some users might have grown to rely on it. So I left regexp
> isearch alone (i.e. it still does the multiple spaces matching).
I think the behavior in regexp isearch will be less surprising now.
So keeping the two behaviors (in isearch and regexp isearch) in sync
looks okay to me.
> It is now possible to change the variable `search-whitespace-regexp' and
> give it a cons cell value, which specifies different behaviors for
> ordinary and regexp isearch.
Even better! Thanks for implementing this,
--
Bastien
- Re: Interpretation of a space in regexp isearch?, (continued)
- Re: Interpretation of a space in regexp isearch?, Dani Moncayo, 2012/08/15
- RE: Interpretation of a space in regexp isearch?, Drew Adams, 2012/08/15
- Re: Interpretation of a space in regexp isearch?, Davis Herring, 2012/08/15
- RE: Interpretation of a space in regexp isearch?, Drew Adams, 2012/08/15
- Re: Interpretation of a space in regexp isearch?, Davis Herring, 2012/08/15
- Re: Interpretation of a space in regexp isearch?, Dmitry Gutov, 2012/08/15
- RE: Interpretation of a space in regexp isearch?, Drew Adams, 2012/08/15
- Re: Interpretation of a space in regexp isearch?, Dmitry Gutov, 2012/08/15
- RE: Interpretation of a space in regexp isearch?, Drew Adams, 2012/08/16
- Re: Interpretation of a space in regexp isearch?, Chong Yidong, 2012/08/26
- Re: Interpretation of a space in regexp isearch?,
Bastien <=
- Re: Interpretation of a space in regexp isearch?, Dani Moncayo, 2012/08/26
- Re: Interpretation of a space in regexp isearch?, Dani Moncayo, 2012/08/26
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Dani Moncayo, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Johan Bockgård, 2012/08/27
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Stefan Monnier, 2012/08/28
- Re: Interpretation of a space in regexp isearch?, Juri Linkov, 2012/08/28
- RE: Interpretation of a space in regexp isearch?, Drew Adams, 2012/08/28