[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: isearch region or thing at point.
From: |
Drew Adams |
Subject: |
RE: isearch region or thing at point. |
Date: |
Sat, 4 May 2019 15:40:29 -0700 (PDT) |
> > (Note that we already give 2 bindings to
> > `isearch-toggle-case-fold', which we need not do.)
>
> The other is isearch-toggle-char-fold.
Oops - my bad. Eye-scanned too quickly.
> > It would be good to "standardize" bindings - say
> > reserve `M-w' (e.g. on a prefix key) for the
> > "copy-region" (or similar) action
>
> I remember you had a key to grab the region into the minibuffer.
> This is what Ergus wants.
I don't think this thread is about grabbing the region
text into the minibuffer. Ergus grabs it into Isearch
as the search string.
And I don't think I have a command that grabs the
region into the minibuffer.
What I have is a command that copies the current
search string to the kill ring. See previous posts
in this thread.
I posted the code for the command, suggesting that
we add it to vanilla Emacs and bind it (as I do) to
`M-w'. Here it is again (just rename prefix
`isearchp-' to `isearch-'):
(defun isearchp-kill-ring-save ()
"Copy the current search string to the kill ring."
(interactive)
(kill-new isearch-string)
(let ((message-log-max nil))
(message "Copied search string as kill"))
(sit-for 1)
(isearch-update))
- RE: isearch region or thing at point., (continued)
- Re: isearch region or thing at point., Basil L. Contovounesios, 2019/05/03
- Re: isearch region or thing at point., Eli Zaretskii, 2019/05/04
- Re: isearch region or thing at point., Ergus, 2019/05/04
- RE: isearch region or thing at point., Drew Adams, 2019/05/04
- Re: isearch region or thing at point., Ergus, 2019/05/04
- RE: isearch region or thing at point., Drew Adams, 2019/05/04
- Re: isearch region or thing at point., Juri Linkov, 2019/05/04
- RE: isearch region or thing at point.,
Drew Adams <=
- Re: isearch region or thing at point., Juri Linkov, 2019/05/06
- RE: isearch region or thing at point., Drew Adams, 2019/05/06
- RE: isearch region or thing at point., Ergus, 2019/05/07
Re: isearch region or thing at point., Juri Linkov, 2019/05/01
Re: isearch region or thing at point., Basil L. Contovounesios, 2019/05/03