GNU bug report logs - #52082
29.0.50; Scrolling aborts "repunctuate-sentences"

Previous Next

Package: emacs;

Reported by: Rudolf Adamkovič <salutis <at> me.com>

Date: Wed, 24 Nov 2021 19:35:01 UTC

Severity: wishlist

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52082 <at> debbugs.gnu.org, Rudolf Adamkovič <salutis <at> me.com>
Subject: bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences"
Date: Fri, 26 Nov 2021 10:47:54 +0100
Eli Zaretskii <eliz <at> 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.





This bug report was last modified 3 years and 202 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.