[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Structural regular expressions
From: |
Lennart Borgman |
Subject: |
Re: Structural regular expressions |
Date: |
Tue, 7 Sep 2010 23:08:07 +0200 |
On Tue, Sep 7, 2010 at 10:27 PM, Tom <address@hidden> wrote:
> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>
>> Looks indeed like a useful idea. I suggest adding a new function
>> argument PREDICATE to query-replace-regexp etc. (Think of the argument
>> PREDICATE in completing-read.)
>>
>
> It can be a good start, but the feature in the E editor is more general
> than search and replace. You can perform any operation on the selected
> text. It's sort of like working on the narrowed part of a buffer, only
> the narrowed part in this case consists of several separate ranges of
> the same buffer (like all comments, etc.).
That makes me think of my favorite idea for a better multi major mode
support in Emacs:
Hide parts of the buffer from all low level functions.
Such an ability could be used here too.
- Structural regular expressions, Tom, 2010/09/07
- Re: Structural regular expressions, Lennart Borgman, 2010/09/07
- Re: Structural regular expressions, Tom, 2010/09/07
- Re: Structural regular expressions,
Lennart Borgman <=
- Re: Structural regular expressions, Eric Schulte, 2010/09/07
- Re: Structural regular expressions, Stefan Monnier, 2010/09/08
- Re: Structural regular expressions, Lawrence Mitchell, 2010/09/08
- Re: Structural regular expressions, Kan-Ru Chen, 2010/09/08
- Re: Structural regular expressions, Harald Hanche-Olsen, 2010/09/09
- Re: Structural regular expressions, Stefan Monnier, 2010/09/08
- Re: Structural regular expressions, Lawrence Mitchell, 2010/09/08
- Re: Structural regular expressions, Stefan Monnier, 2010/09/08
- Re: Structural regular expressions, David Kastrup, 2010/09/09
- Re: Structural regular expressions, Stefan Monnier, 2010/09/09