[Top][All Lists]
[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: |
Mon, 16 Jun 2008 13:50:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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.
I'd suggest having a shared history for occur and hi-lock with a few
recent isearch targets mixed in.
Juri Linkov <address@hidden> writes:
> As for the separate case of running `highlight-regexp' after isearch is
> finished, I suggest using the same default values as already provided by
> `occur-read-primary-args' and `keep-lines-read-args' that collect a list
> of useful regexps from different places including the last isearch string
> and put them to the list of default values.
>
> This also suggests to get rid of `hi-lock-regexp-history' in favor of
> the single regexp history variable `regexp-history' shared among all
> regexp-reading commands (perhaps `keep-lines-read-args' should be
> renamed to more general name like `read-regexp').
>
- Re: Yanking isearch to highlight-regexp, (continued)
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/14
- Re: Yanking isearch to highlight-regexp, Stefan Monnier, 2008/06/14
- Re: Yanking isearch to highlight-regexp, Lennart Borgman (gmail), 2008/06/15
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/15
- Re: Yanking isearch to highlight-regexp, Lennart Borgman (gmail), 2008/06/15
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/15
- Re: Yanking isearch to highlight-regexp, Lennart Borgman (gmail), 2008/06/15
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/16
- Re: Yanking isearch to highlight-regexp, Lennart Borgman, 2008/06/16
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/16
- Re: Yanking isearch to highlight-regexp,
David Koppelman <=
- Re: Yanking isearch to highlight-regexp, Lennart Borgman (gmail), 2008/06/16
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/16
- Re: Yanking isearch to highlight-regexp, David Koppelman, 2008/06/17
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/24
- Re: Yanking isearch to highlight-regexp, Stefan Monnier, 2008/06/24
- Re: Yanking isearch to highlight-regexp, Juri Linkov, 2008/06/25
- Re: Yanking isearch to highlight-regexp, Miles Bader, 2008/06/25
- Re: Yanking isearch to highlight-regexp, Lennart Borgman (gmail), 2008/06/25
- Re: Yanking isearch to highlight-regexp, Miles Bader, 2008/06/25
- Global keymaps [was: Yanking isearch to highlight-regexp], Juri Linkov, 2008/06/27