[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple isearch concerns
From: |
Juri Linkov |
Subject: |
Re: Simple isearch concerns |
Date: |
Mon, 05 Apr 2021 11:30:02 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Swiper provides this option and after trying it I found it very
>> useful and some other users seems they do too.
>
> I strongly suspect that swiper does not provide *exactly* that option.
> E.g. does Swiper's option also cause C-r foo RET to place point at the *end*
> of "foo" rather than its beginning?
The really useful command that I used for a long time
has a check for isearch-forward:
(if (and isearch-forward isearch-other-end)
(goto-char isearch-other-end))
that doesn't place point at the end for C-r foo RET.
>> In any case, if you think this option is not desirable for any reason,
>> another alternative may be to add a command in the isearch map (bind to
>> C-RET, or M-RET) to end the search and go to the other end... something
>> like isearch-exit-go-other-end. This alternative is actually a bit more
>> interesting; and maybe equivalent to pressing C-r before RET... but
>> faster?
>
> Yes, that sounds a lot more useful.
And I bound the useful command above to C-RET because such feature is needed
only occasionally.
- Re: Simple isearch concerns, (continued)
- Re: Simple isearch concerns, Daniel MartÃn, 2021/04/03
- Re: Simple isearch concerns, Juri Linkov, 2021/04/04
- Re: Simple isearch concerns, Stefan Monnier, 2021/04/04
- Re: Simple isearch concerns,
Juri Linkov <=
- Re: Simple isearch concerns, Basil L. Contovounesios, 2021/04/05
- RE: [External] : Re: Simple isearch concerns, Drew Adams, 2021/04/05
Re: Simple isearch concerns, Ergus, 2021/04/04
Re: Simple isearch concerns, Juri Linkov, 2021/04/05
- RE: [External] : Re: Simple isearch concerns, Drew Adams, 2021/04/05
- Re: [External] : Re: Simple isearch concerns, Juri Linkov, 2021/04/05
- Re: [External] : Re: Simple isearch concerns, Ergus, 2021/04/05
- Re: [External] : Re: Simple isearch concerns, Juri Linkov, 2021/04/06
- Re: [External] : Re: Simple isearch concerns, Eli Zaretskii, 2021/04/06
- Re: [External] : Re: Simple isearch concerns, Gregory Heytings, 2021/04/06