emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch-query-replace-regexp and stuff


From: Juri Linkov
Subject: Re: isearch-query-replace-regexp and stuff
Date: Tue, 06 Jul 2004 12:59:29 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:
> It might be an idea to also bind C-M-% to the same, non-type-switching
> behavior for symmetry.  If the user wants to switch behavior, he can
> do so with the existing M-r binding.

C-M-% is a standard key binding to start regexp replacement,
so it should be available in isearch too.

> To make this more useful than just exiting search and restarting
> replacement, we might consider letting M-r in isearches keep the
> search string if it non-empty.  This might be done in one of several
> ways:
> a) keep the search string unmodified.  This has the advantage that
> you can keep already typed search string characters even when you
> accidentally started with the wrong search type.
> [...]
> After thinking this over, I think that maybe something like option
> "a)" would more often agree with what the user could expect and which
> would offer the most _additional_ usefulness.

AFAIU, option "a)" is exactly the current behavior.  And I think
no improvements are needed here.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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