From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Bob Floyd <bobfloyd@comcast.net>, 47755@debbugs.gnu.org
Subject: bug#47755: 27.1; mouse-yank-at-click fails
Date: Tue, 13 Apr 2021 22:44:57 +0300 [thread overview]
Message-ID: <87o8einfci.fsf@mail.linkov.net> (raw)
In-Reply-To: <83eefe12cr.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Apr 2021 21:11:32 +0300")
>> int main()
>> {
>> xyzz = abcc;
>> }
>>
>> 1. Place mouse over `main` and left double click - `main` is selected
>> 2. isearch-forward (C-s) `xyzz` - `xyzz` is selected
>> 3. place cursor over `x` of `xyzz` and mouse-yank-at-click (middle mouse
>> down)
>>
>> You should see error "Lisp nesting exceeds `max-lisp-eval-depth`"
>
> It's an infinite recursion inside isearch-mouse-2.
This is because let-binding overriding-terminal-local-map to nil
(let ((overriding-terminal-local-map nil))
(key-binding (this-command-keys-vector) t))
doesn't disable its current value anymore. It used to work when bug#23007
was fixed in 2017. So in Emacs 26.3 it correctly returned 'mouse-yank-primary',
but in Emacs 27 it's broken and returns 'isearch-mouse-2' without ignoring
the current value of overriding-terminal-local-map, i.e. currently let-binding
'overriding-terminal-local-map nil' has no effect for 'key-binding'.
next prev parent reply other threads:[~2021-04-13 19:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-13 17:57 bug#47755: 27.1; mouse-yank-at-click fails Bob Floyd
2021-04-13 18:11 ` Eli Zaretskii
2021-04-13 18:31 ` Bob Floyd
2021-04-13 19:44 ` Juri Linkov [this message]
2021-04-13 20:27 ` Juri Linkov
2021-04-13 20:55 ` Gregory Heytings
2021-04-13 20:57 ` Gregory Heytings
2021-04-14 16:24 ` Bob Floyd
2021-04-14 18:36 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8einfci.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=47755@debbugs.gnu.org \
--cc=bobfloyd@comcast.net \
--cc=eliz@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).