emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]