emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple isearch concerns


From: Daniel Martín
Subject: Re: Simple isearch concerns
Date: Sat, 03 Apr 2021 12:28:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)

Ergus <spacibba@aol.com> writes:

>
> 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.

You can create your own command that exits the search and moves the
point to the other end of the match.  See
https://www.emacswiki.org/emacs/ZapToISearch (`isearch-exit-other-end').

>
> 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.

Did you try to set it to something that is not `nil' but that will still
do nothing, like #'ignore?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]