[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: placing cursor at *start* of match in incremental search
From: |
Maciej Kalisiak |
Subject: |
Re: placing cursor at *start* of match in incremental search |
Date: |
Thu, 23 Jan 2003 08:58:19 -0500 |
User-agent: |
Mutt/1.5.3i |
On Thu, Jan 23, 2003 at 07:58:46AM +0200, Ittay Dror wrote:
> here are my 2c:
> (defadvice isearch-search (after put-cursor-at-beginning last act)
> (if isearch-success (goto-char (match-beginning 0))))
>
> (defadvice isearch-repeat (before put-cursor-at-end first act)
> (goto-char (match-end 0)))
>
> this will put the cursor at the start of the search *while* searching.
> seems less confusing to me.
Very cool! This is now my favourite. :) Although, is there any way to prevent
the flashing when typing in more letters? As I add additional characters to
the search, after each one all the current matches are erased, and after a
small, but quite visible delay, the new ones show up... the default isearch
doesn't do that. Minor point, but I might as well ask since I'm getting such
excellent suggestions. :)
--
"If A equals success, then the formula is: A=X+Y+Z. X is work.
Y is play. Z is keep your mouth shut."
-- Albert Einstein
- Re: placing cursor at *start* of match in incremental search, (continued)
- Message not available
- Re: placing cursor at *start* of match in incremental search, Maciej Kalisiak, 2003/01/17
- Re: placing cursor at *start* of match in incremental search, Greg Hill, 2003/01/17
- Re: placing cursor at *start* of match in incremental search, Kevin Rodgers, 2003/01/21
- Re: placing cursor at *start* of match in incremental search, Maciej Kalisiak, 2003/01/22
- Re: placing cursor at *start* of match in incremental search, Kevin Rodgers, 2003/01/22
- Re: placing cursor at *start* of match in incremental search, Greg Hill, 2003/01/22
- Message not available
- Re: placing cursor at *start* of match in incremental search, Stefan Monnier <address@hidden>, 2003/01/22
- Message not available
- Re: placing cursor at *start* of match in incremental search, Kevin Rodgers, 2003/01/22
- Re: placing cursor at *start* of match in incremental search, Ittay Dror, 2003/01/23
- Re: placing cursor at *start* of match in incremental search,
Maciej Kalisiak <=
- Re: placing cursor at *start* of match in incremental search, Ittay Dror, 2003/01/26
- Re: placing cursor at *start* of match in incremental search, Ittay Dror, 2003/01/26
- Re: placing cursor at *start* of match in incremental search, Ittay Dror, 2003/01/26