[Konsole-devel] [Bug 302731] emacs xterm-mouse-mode doesn't work in Konsole

Egmont Koblinger egmont at gmail.com
Mon Aug 6 20:03:13 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=302731

Egmont Koblinger <egmont at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egmont at gmail.com

--- Comment #2 from Egmont Koblinger <egmont at gmail.com> ---
Same with konsole-2.8.4 (kde-4.8.4).

Emacs only turns on the simple mouse mode without dragging reporting (1000),
not the dragging reporting extended one (1002). Most terminal emulators,
including xterm and gnome-terminal, really only send events at mouse press and
release in this case. Konsole, however, keeps sending click events whenever the
mouse is dragged. I believe this confuses emacs (although it shouldn't). So I'd
say both emacs and konsole are guilty. Emacs should be tolerant against this
input, but konsole shouldn't send click events on mouse drag either.

If you enable the extended, dragging reporting mode prior to starting emacs:
echo -n $'\e[?1002h'
then emacs of course doesn't understand the dragging events and prints some
warnings about them, but starts behaving relatively sanely.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list