GNU bug report logs -
#19718
read_filtered_event echos mouse events until character is inputted
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Nick Andryshak <nandryshak <at> gmail.com> writes:
> See this Stack Exchange question:
>
> http://emacs.stackexchange.com/questions/7443/mouse-problem-in-org-mode-export-window
>
> The asker is trying to use the mouse wheel to scroll the
> org-export-dispatch window. org-export-dispatch is using the built-in
> function read-char-exclusive, which in turn calls read_filtered_event
> with the parameter error_nonascii set to 0. Unlike read-char, which
> will throw an error upon receiving a mouse event, read-char-exclusive
> just keeps retrying, and eventually the echo area will become full of
> mouse event names.
Yes, I've always wondered what the point of that was. Test case:
M-: (read-char-exclusive "foo: ")
<mouse-1>
After waiting a bit, the echo area will say:
[down.jpg (image/jpeg, inline)]
[Message part 3 (text/plain, inline)]
I don't really see the point of that? Are there any circumstances that
this is useful?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.