From: Michael Heerdegen <michael_heerdegen@web.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 52082@debbugs.gnu.org, "Rudolf Adamkovič" <salutis@me.com>
Subject: bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences"
Date: Fri, 26 Nov 2021 10:47:54 +0100 [thread overview]
Message-ID: <878rxb5jud.fsf@web.de> (raw)
In-Reply-To: <83bl274ecn.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Nov 2021 08:31:52 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> If you are asking for a new feature, which would allow scrolling
> during query-replace commands, then maybe it would make sense, I don't
> know.
Could be as useful as in isearch. Maybe it could be implemented
similarly or reuse that code?
For the record: binding mouse keys in `query-replace-map' like
#+begin_src emacs-lisp
(dolist (key `([,mouse-wheel-down-event] [,mouse-wheel-up-event]))
(define-key query-replace-map key #'mwheel-scroll))
#+end_src
does _not_ work, because lookup in that map by the current code is
performed like
(lookup-key [(down-mouse-5
(#<window 62 on *scratch*> 1587 (1115 . 228) ...))])
--> nil
i.e. what is currently looked up is an event, not a key.
Michael.
next prev parent reply other threads:[~2021-11-26 9:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 19:34 bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences" Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-24 20:03 ` Eli Zaretskii
[not found] ` <m2mtlt6v7z.fsf@me.com>
2021-11-25 7:24 ` Eli Zaretskii
2021-11-25 23:08 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-26 6:31 ` Eli Zaretskii
2021-11-26 9:47 ` Michael Heerdegen [this message]
2021-11-26 23:06 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-27 6:02 ` Eli Zaretskii
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=878rxb5jud.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=52082@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=salutis@me.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 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).