[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse interaction in -nw
From: |
Stefan Monnier |
Subject: |
Re: Mouse interaction in -nw |
Date: |
Wed, 30 Sep 2020 14:08:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I repeated the same with only xterm (to remove tmux and simplify)
Good idea.
> 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
This looks right except for a missing
ESC [ < 0 ; 4 5 ; 2 m ;; anonymous-command
<drag-mouse-1> ;; mouse-set-region
just before the `ESC w`. IOW it looks like you get the mouse-down and
mouse-motion events but for some reason Emacs didn't get the mouse-up
event (encoded as `ESC ... m`), which is the one that actually sets
the region.
I don't know why that would happen. I'd assume it's something to do
with the `xterm` executable or its configuration, but as for
what... I recommend you try it with some other terminal emulator and
also that you try it with a different xterm config, just to try and
narrow down the scope of the problem.
Stefan
Re: Mouse interaction in -nw, Ergus, 2020/09/30
RE: Mouse interaction in -nw, Drew Adams, 2020/09/30