emacs-devel
[Top][All Lists]
Advanced

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

Re: Yanking isearch to highlight-regexp


From: David Koppelman
Subject: Re: Yanking isearch to highlight-regexp
Date: Tue, 17 Jun 2008 13:50:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

That sounds good.

Juri Linkov <address@hidden> writes:

>> I like the idea of combining regexp histories, but we might want to be
>> careful. I can see sharing patterns between hi-lock and occur because
>> they are used for locating things, but isearch patterns are used for
>> navigation and so might contain many regexps matching little pieces of
>> text that only occasionally would make good highlight targets.
>
> Isearch doesn't add regexps to the regexp history for the good reason,
> and I don't propose to do this anyway.  What I propose is to add the
> last isearch string to the list of default values available in the
> minibuffer by typing M-n (not history values available by M-p).
> And Lennart proposed also to put the last isearch string to the
> minibuffer's initial input if the last command was isearch-other-control-char.




reply via email to

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