Re: Leaving isearch-mode and keeping the highlite

2005-08-12 Thread Emilio Lopes
Lennart Borgman student.lu.se> writes: > I would find it very helpful to be able to leave isearch-mode but keep > the highlite. Is this something other would find helpful too? Have you tried "M-x highlight-regexp"? You could even write a wrapper to fetch the last search string automatically.

Re: Leaving isearch-mode and keeping the highlite

2005-08-11 Thread Richard M. Stallman
It is of course a new feature, but it can possible not break anything (except isearch highliting but that is easy to check). It we want this I would suggest to put it on C-RET or S-RET in isearch-mode-map. The main question is perhaps if we want it. Let's please focus on prepari

Re: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Juri Linkov
> Thanks, but that was not what I suggested. I suggested a key binding > to leave the highlight after search. But maybe you just wanted to > tell that it is possible to do this? > >>BTW, I use C-RET to exit the search without pushing the search string >>into the search ring. Very useful to not stu

Re: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Lennart Borgman
Drew Adams wrote: >Turning it on by a particular exit key sequence is not the >best way. I would >rather have that be a user option (like case-fold-search), and >be able to >toggle the option while in isearch (like we can toggle >case-fold-search). Too cumbersome to me. Som

RE: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Drew Adams
>Turning it on by a particular exit key sequence is not the >best way. I would >rather have that be a user option (like case-fold-search), and >be able to >toggle the option while in isearch (like we can toggle >case-fold-search). Too cumbersome to me. Sometimes I want

Re: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Lennart Borgman
Juri Linkov wrote: I would find it very helpful to be able to leave isearch-mode but keep the highlite. Is this something other would find helpful too? There is already such an option: `lazy-highlight-cleanup'. When nil, highlighting is not removed after the search. You can use `M-x lazy-

Re: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Juri Linkov
> I would find it very helpful to be able to leave isearch-mode but keep > the highlite. Is this something other would find helpful too? There is already such an option: `lazy-highlight-cleanup'. When nil, highlighting is not removed after the search. You can use `M-x lazy-highlight-cleanup' to m

Re: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Lennart Borgman
Drew Adams wrote: I would find it very helpful to be able to leave isearch-mode but keep the highlite put it on C-RET or S-RET in isearch-mode-map. Could be useful. The main question is how to later get rid of it. Perhaps the next isearch could do that, or let isearch toggle it (see b

RE: Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Drew Adams
I would find it very helpful to be able to leave isearch-mode but keep the highlite put it on C-RET or S-RET in isearch-mode-map. Could be useful. The main question is how to later get rid of it. Perhaps the next isearch could do that, or let isearch toggle it (see below). Turning it

Leaving isearch-mode and keeping the highlite

2005-08-10 Thread Lennart Borgman
I would find it very helpful to be able to leave isearch-mode but keep the highlite. Is this something other would find helpful too? It is of course a new feature, but it can possible not break anything (except isearch highliting but that is easy to check). It we want this I would suggest to p