[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse interaction in -nw
From: |
Ergus |
Subject: |
Re: Mouse interaction in -nw |
Date: |
Wed, 30 Sep 2020 19:38:04 +0200 |
Hi Stefan:
I repeated the same with only xterm (to remove tmux and simplify)
And loosage shows:
ESC x ;; execute-extended-command
x ;; self-insert-command
t ;; self-insert-command
e ;; self-insert-command
TAB ;; minibuffer-complete
m ;; self-insert-command
o ;; self-insert-command
TAB ;; minibuffer-complete
RET ;; minibuffer-complete-and-exit
ESC [ < 0 ; 2 3 ; 2 M ;; mouse-drag-region
ESC [ < 3 2 ; 2 4 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 2 5 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 2 6 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 2 7 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 2 8 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 2 9 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 0 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 1 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 2 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 3 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 4 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 5 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 6 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 7 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 8 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 3 9 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 0 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 1 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 2 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 3 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 4 ; 2 M ;; anonymous-command
ESC [ < 3 2 ; 4 5 ; 2 M ;; anonymous-command
ESC w ;; kill-ring-save
C-h l ;; view-lossage
Sorry but I don't know what's going on at this point :( I can't disable
more mouse events in xterm.
This is my xterm config (just in case):
#=====================================
! *vt100.reverseVideo: true
*foreground: #ffffff
*foreground_bold: #a8a19f
*cursorColor: #ffffff
*background: #000000
*faceName: Hack
*faceSize: 11
*eightBitInput: false
*eightBitOutput: true
*loginShell: true
*termName: xterm-256color
*metaSendsEscape: true
*ttyModes: erase ^?
*omitTranslation: fullscreen,popup-menu,select,wheel-mouse
*VT100.Translations: #override \
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
<Btn1Motion>: select-extend()
*vt100.modifyOtherKeys: 1
*fastScroll: true
*trimSelection : true
*backarrowKeyIsErase: true
*buffered: true
*saveLines: 8192
*scrollBar: false
!! Autohide mouse pointer always
*pointerMode: 2
!!*cursorBlink: true
*ScrollKey: false
#================================
On Wed, Sep 30, 2020 at 12:59:22PM -0400, Stefan Monnier wrote:
Look at the attached gif. Where I select with the mouse several time,
and then M-w; but the region (mark) is not "properly updated" to the
selected region, just the point is updated, not the mark.
Actually the mouse selection does not act as the region at all. Maybe
this is intended... I just don't get why.
The mouse selection seems to be done "by the terminal" rather than "by
Emacs". IOW, it looks like the mouse clicks aren't passed to Emacs.
Time to check `C-h l`?
What text-terminal is that?
Stefan
Re: Mouse interaction in -nw, Ergus, 2020/09/30
RE: Mouse interaction in -nw, Drew Adams, 2020/09/30