[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: |
Fri, 17 Jan 2003 18:35:53 GMT |
User-agent: |
slrn/0.9.7.4 (Linux) |
* Greg Hill <ghill@synergymicro.com>:
> Put this in your .emacs:
>
> (add-hook 'isearch-mode-end-hook
> (function (lambda () (goto-char (match-beginning 0)))))
Ah, perfect! Thanks.
Is this approach better, or Adrian's method of using "advice"? (I have only
limited elisp knowledge, and not much experience with advice functions)
--
Maciej Kalisiak | <mac@dgp.toronto.edu> | http://www.dgp.toronto.edu/~mac [McQ]
PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20 0B 31 3D 37 47 D0 67 C7
GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V--
PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+>++++ DI+ G+ e>+++>++++(*) h--- r+++ y?
- placing cursor at *start* of match in incremental search, Maciej Kalisiak, 2003/01/16
- Re: placing cursor at *start* of match in incremental search, Stefan Monnier <address@hidden>, 2003/01/16
- Re: placing cursor at *start* of match in incremental search, Kevin Rodgers, 2003/01/16
- Re: placing cursor at *start* of match in incremental search, Adrian Kubala, 2003/01/16
- Re: placing cursor at *start* of match in incremental search, Greg Hill, 2003/01/16
- Re: placing cursor at *start* of match in incremental search, David Robinow, 2003/01/16
- Message not available
- Re: placing cursor at *start* of match in incremental search,
Maciej Kalisiak <=
- 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, 2003/01/23
- Re: placing cursor at *start* of match in incremental search, Ittay Dror, 2003/01/26