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

Peter Eisentraut peter_e at gmx.net
Fri Jun 29 08:23:18 UTC 2012


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

            Bug ID: 302731
          Severity: normal
           Version: 2.7.4
          Priority: NOR
          Assignee: konsole-devel at kde.org
           Summary: emacs xterm-mouse-mode doesn't work in Konsole
    Classification: Unclassified
                OS: Linux
          Reporter: peter_e at gmx.net
          Hardware: Debian testing
            Status: UNCONFIRMED
         Component: emulation
           Product: konsole

In GNU Emacs in xterm-mouse-mode, dragging the mouse inserts some control
sequences like

[[[[M[[[[[M *'[M *'M *'[M )'M )'M ('[M ''M &' %'M $'M #'[M "'M ,'[M -'[M[M -'
-'

instead of selecting a region.  This works correctly in xterm and
gnome-terminal, so it could be some difference in terminal emulation.

The file etc/PROBLEMS in the emacs distribution contains this:

"""
*** Gnome: Emacs' xterm-mouse-mode doesn't work on the Gnome terminal.

A symptom of this bug is that double-clicks insert a control sequence
into the buffer.  The reason this happens is an apparent
incompatibility of the Gnome terminal with Xterm, which also affects
other programs using the Xterm mouse interface.  A problem report has
been filed.
"""

It looks like this was actually fixed in Gnome, but at least it indicates that
they consider xterm-mouse-mode to work correctly and see the problems in the
terminal emulators.

Reproducible: Always

Steps to Reproduce:
1. start emacs -Q -nw test.txt
2. M-x xterm-mouse-mode
3. drag the mouse around (click, hold, and move)
Actual Results:  
crazy control sequences are inserted

Expected Results:  
a region should be selected (compare with xterm or gnome-terminal)

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



More information about the konsole-devel mailing list