all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 39154@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#39154: 27.0.60; Use character history in zap-up-to-char
Date: Wed, 5 Feb 2020 13:10:40 -0800 (PST)	[thread overview]
Message-ID: <67e24ae9-ff87-4900-9bd3-453bcf993d10@default> (raw)
In-Reply-To: <alpine.DEB.2.21.2002052042160.19886@calancha-pc.dy.bbexcite.jp>

> >> do we have a similar command (as those pulling things into the
> >> search string) that pulls the region?
> >
> > Does `isearch-yank-kill' (`C-y') do what you want?
>
> That's true, in my case this works because I set
> `select-enable-primary' non-nil;

I kinda guessed that.  (Me too: I have non-nil
`select-enable-clipboard'.  There's also
`select-active-regions'.)

> quite similar, but not exactly the same thing:
> the command I am suggesting should work
> regardless on the user settings (ie, emacs -Q).

OK, but why?  Do you really see a use case for
a separate such thing for Isearch?  If a user
typically doesn't want mere selection to also
copy to the `kill-ring' or primary or whatever,
would she want a selection during Isearch to be
available for yanking?

I'm not objecting - just trying to understand
why we'd want both `isearch-yank-kill' and
what you propose.

---

On the other hand, because the secondary
selection is a different critter entirely from
the primary (clipboard...), a separate Isearch
yank command for it makes sense to me.

(I have it as `isearch-yank-secondary', and I
bind it to both `C-M-y' and `C-y 2' in Isearch.
I bind `isearch-yank-kill' to `C-y C-y'.)





  reply	other threads:[~2020-02-05 21:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16 18:49 bug#39154: 27.0.60; Use character history in zap-up-to-char Tino Calancha
2020-01-16 18:56 ` Tino Calancha
     [not found] ` <877e1rexzi.fsf@mail.linkov.net>
2020-01-18 14:37   ` Tino Calancha
2020-01-20  0:24     ` Juri Linkov
2020-01-23 13:51       ` Tino Calancha
2020-01-23 18:16         ` Eli Zaretskii
2020-01-25 19:43           ` Tino Calancha
2020-01-28 23:49         ` Juri Linkov
2020-02-02 13:54           ` Tino Calancha
2020-02-05  7:21           ` Tino Calancha
2020-02-05 15:22             ` Drew Adams
2020-02-05 19:46               ` Tino Calancha
2020-02-05 21:10                 ` Drew Adams [this message]
2020-02-05 21:56             ` Juri Linkov
2020-09-25 11:28         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67e24ae9-ff87-4900-9bd3-453bcf993d10@default \
    --to=drew.adams@oracle.com \
    --cc=39154@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=tino.calancha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.