[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences"
From: |
Michael Heerdegen |
Subject: |
bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences" |
Date: |
Fri, 26 Nov 2021 10:47:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Rudolf Adamkovič, 2021/11/24
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Eli Zaretskii, 2021/11/24
- Message not available
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Eli Zaretskii, 2021/11/25
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Rudolf Adamkovič, 2021/11/25
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Eli Zaretskii, 2021/11/26
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences",
Michael Heerdegen <=
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Rudolf Adamkovič, 2021/11/26
- bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences", Eli Zaretskii, 2021/11/27