[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 23:37:30 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> 1) Are there any option to move the cursor to the start of the candidate
> after the search? I see that there is an isearch-other-end. But it is
> not a custom but an internal variable. Now I am using a hook but it
> seems a bit hacky.
As you see from the discussion, adding a defcustom makes little sense,
because this feature might be needed only occasionally, so better
to be bound to a special key, e.g. C-RET to exit and move to other-end,
S-RET to exit and mark the found string as a region.
> 2) I want to disable wrapping and I see that there is an
> `isearch-wrap-function` but it is a variable not a custom and it is not
> documented in detail what is expected to be there.
isearch-wrap-function can't be a defcustom too, because it's impossible
to implement automatic wrapping by a wrap function.
> 3) In general many of the customizable variables in isearch are defined
> with defvar so it is difficult to distinguish between internal and user
> exposed ones. Just to mention some examples:
> isearch-push-state-function, isearch-filter-predicate, the hooks,
Most of these functions are intended to be modified by different modes
using add-function, so again there is nothing to customize here, sorry.
Re: Simple isearch concerns, Ergus, 2021/04/04
Re: Simple isearch concerns,
Juri Linkov <=
- 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
- Re: [External] : Re: Simple isearch concerns, Juri Linkov, 2021/04/07
- Re: [External] : Re: Simple isearch concerns, Gregory Heytings, 2021/04/07
Re: [External] : Re: Simple isearch concerns, Gregory Heytings, 2021/04/07
RE: [External] : Re: Simple isearch concerns, Drew Adams, 2021/04/05