From: Ergus <spacibba@aol.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Mouse interaction in -nw
Date: Thu, 1 Oct 2020 02:40:58 +0200 [thread overview]
Message-ID: <20201001004058.d7xb7zfsrs552ng7@Ergus> (raw)
In-Reply-To: <jwveemjnnyn.fsf-monnier+emacs@gnu.org>
On Wed, Sep 30, 2020 at 02:08:00PM -0400, Stefan Monnier wrote:
>> 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
>
Hi Stefan:
Thanks for your help. With your hint and checking my config Y found that
the problem was this line:
*omitTranslation: fullscreen,popup-menu,select,wheel-mouse
specifically omitTranslation for "select"
I am not totally sure yet if this is intended or an issue and I could
comment to xterm developer if this is fine.
Best,
Ergus
next prev parent reply other threads:[~2020-10-01 0:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200930152007.rq4tkjzj3u7f4vwx.ref@Ergus>
2020-09-30 15:20 ` Mouse interaction in -nw Ergus
2020-09-30 15:32 ` Stefan Monnier
2020-09-30 16:34 ` Ergus
2020-09-30 16:59 ` Stefan Monnier
2020-09-30 17:13 ` Ergus
2020-09-30 17:38 ` Ergus
2020-09-30 18:08 ` Stefan Monnier
2020-10-01 0:40 ` Ergus [this message]
2020-09-30 19:00 ` Yuri Khan
2020-09-30 16:40 ` Ergus
2020-09-30 20:17 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201001004058.d7xb7zfsrs552ng7@Ergus \
--to=spacibba@aol.com \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.