all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: 23519@debbugs.gnu.org
Subject: bug#23519: 25.0.93; pasting with the middle mouse button while searching doesn't work
Date: Wed, 18 May 2016 20:46:49 -0400	[thread overview]
Message-ID: <jwv4m9udgop.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAFyQvY2HjDOALmy6KkiiJ_-DcvU=0P53EuK9DJ2mCOKWy5kHew@mail.gmail.com> (Kaushal Modi's message of "Wed, 18 May 2016 20:13:41 +0000")

> This seems to have been caused due to this commit:
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=0a21b26c58a241ac41cd12cd10cd605238bb2640

> Relevant portion from the diff:

> +    ;; Recognize the start of a bracketed paste sequence.  The handler
> +    ;; internally recognizes the end.
> +    (define-key map "\e[200~" [xterm-paste])

> Copying Stefan as he authored that commit.

In previous Emacsen, middle-button would be handled by the terminal
emulator which would end up sending the selection as if you had typed
those chars (so they'd sometimes be interpreted as key-combos).

Now we use a special mode in the terminal emulator which means the
terminal emulator actually tells us that it's a "paste" operation.

So the problem is that isearch currently doesn't have a binding for
xterm-paste.  We should add one, just like we added one to global-map.


        Stefan





  reply	other threads:[~2016-05-19  0:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12  7:28 bug#23519: 25.0.93; pasting with the middle mouse button while searching doesn't work Jan Synáček
2016-05-12  8:00 ` Eli Zaretskii
2016-05-12  8:04   ` Jan Synacek
2016-05-12  8:23     ` Eli Zaretskii
2016-05-12  8:42       ` Jan Synacek
2016-05-12  9:03         ` Eli Zaretskii
2016-05-16  8:16           ` Jan Synacek
2016-05-18 20:13 ` Kaushal Modi
2016-05-19  0:46   ` Stefan Monnier [this message]
2016-05-22 20:49 ` Paul Eggert

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=jwv4m9udgop.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=23519@debbugs.gnu.org \
    --cc=kaushal.modi@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.