[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isearch region or thing at point.
From: |
Basil L. Contovounesios |
Subject: |
Re: isearch region or thing at point. |
Date: |
Sat, 27 Apr 2019 03:15:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Ergus <address@hidden> writes:
> I am looking in the manual for two isearch functionalities that maybe
> are already implemented, but I don't find them. Else maybe it is not
> so complex to do in elisp (at least for my config) And you could suggest
> a right way to implement it.
>
> 1) isearch-yank-thing-at-point, this should be similar to
> isearch-yank-word, but if the cursor is in the middle of a word
> it may insert the whole word not just the rest of the current word.
>
> (swiper provides this with M-n)
The closest to this that I'm aware of is
isearch-forward-symbol-at-point, bound to 'M-s .' by default.
> 2) In "transient-mark-mode" if the region is active before C-s, the
> initial input could be the text in the region. Is it there a way to
> enable that behavior?
>
> An alternative for this is a command that yanks the region's text in the
> minibuffer when isearch is active so we could bind it in the isearch-map
> (for example to M-f).
>
> Are some of these already implemented?
I'm not familiar with any built-in versions of the rest of the
functionality you describe, but I'm no expert. If it is indeed not
currently present, I for one would welcome such additions.
Thanks,
--
Basil
- isearch region or thing at point., Ergus, 2019/04/26
- Re: isearch region or thing at point.,
Basil L. Contovounesios <=
- Re: isearch region or thing at point., Ergus, 2019/04/28
- Re: isearch region or thing at point., Ergus, 2019/04/28
- Re: isearch region or thing at point., Ergus, 2019/04/28
- Re: isearch region or thing at point., Juri Linkov, 2019/04/29
- Re: isearch region or thing at point., Ergus, 2019/04/29
- RE: isearch region or thing at point., Drew Adams, 2019/04/30
- Re: isearch region or thing at point., Ergus, 2019/04/30
- Re: isearch region or thing at point., Juri Linkov, 2019/04/30
- Re: isearch region or thing at point., Ergus, 2019/04/30
- Re: isearch region or thing at point., Noam Postavsky, 2019/04/30