From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Re: Mouse interaction in -nw Date: Wed, 30 Sep 2020 19:38:04 +0200 Message-ID: <20200930173533.judx6ieefkwstseo@Ergus> References: <20200930152007.rq4tkjzj3u7f4vwx.ref@Ergus> <20200930152007.rq4tkjzj3u7f4vwx@Ergus> <20200930163435.ocwqchp4qcak7j2i@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 30 19:39:25 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNg4b-0009YL-HS for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 19:39:25 +0200 Original-Received: from localhost ([::1]:50790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNg4a-00081m-Aw for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 13:39:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNg3j-00081Y-Ja for help-gnu-emacs@gnu.org; Wed, 30 Sep 2020 13:38:31 -0400 Original-Received: from sonic312-21.consmr.mail.bf2.yahoo.com ([74.6.128.83]:43041) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNg3d-0003XZ-D0 for help-gnu-emacs@gnu.org; Wed, 30 Sep 2020 13:38:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1601487498; bh=NHKUyxVsQjWmEbaKGw5fEH3ApUfj0mdrWPpC4xIGH+w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=ClXbU3jSIZx6Ybgn8cXmjYsb7/+CV1yC5uLmuJQ2qQ4tEXIVKxAAbDU02yCyW1+FMgv+xtPNB4EYqHh7TOrLoHSjk43PpnV65UZqT5B6shfZ4ka6M5/78Tgr86s51GU71/gmLGmEOAYEF7GSxyjKQLC/0iBrBYQBzAlAG6FDb4rDZz9WR9H6oVeuCWd6UW3ONxr5FbJ4y/ijRu9KVmQy3r0LEEpVhKhDu3dw2mkTxOmpGOrKa3whq9TOcdqmiKvO3Yiri4aYQxu6arvg+OPt1w9kgsoB1xKzudi7On9QECPNqShIiA4KSips3YVWeW1j2qdKw+S7jCcJDMuK++4IEg== X-YMail-OSG: 3znhnHMVM1mdVtY.hgx4fnIvSdgIgsm2xuj4N1x8ZnCo7FTM6SeAInn84qa1.eh nC7M1aMMH.5G6A7SpOeiYbWpg.jG2JP97nnl5jKLkCJm.nSkk8kkEegYNg.EiPHXS3akNhmBt0no lrrW7tq6w.NMHBybIJcFvXop2TGD6OP5ujg31gHwtDfbkcS4PkLx.WfcmkkTtZs0msv7f5ap1b5w _QfxKhxkFxUO7UvRSIzm0XuMEAxexjUcHR8ShFsiH7eyUKSp3W7.rSo6KvHPjnwmcLLPXqbrL3i0 QHU61ptFo_hPq3ZCSkng_7tesIDSodf7XiIE8GU7GKzeHA8V.jtVtukXqLSn41_6N0fLZ.gX3j8Y nT6uZ1LeInwZuOG1SFiTcsE3kQKrc8y_Q2Eex2otNA2rTOkaZbHAqvpXMtSzZfKtmvnuvA.1ldMk aZTLs52g6wNV45mfgAVVsBTE9UqtoM9dNRBANdO3jbu8lYd0xEQI3cbS37ZaEHBN2Wc05eiK.S3. c8kHHEXNzK7Ukxce5FHDllteg80ZRvH2XtukD63NR4hXm1Z8_YXSv23aX0pTlUYU5O5xNtfvxMqB 79OIMw48Q68GAA1DEIp9cm3XmFWqC89fA47YHrxf9bD_h5nOqCw1tx5cN3cb5Gk5bUyG8Rku5c8E M0RjihePHFtJyvNypCs85Ym80p9XJ.6IKF4WezM0wmETGYZ05tA6MVePeT6dp7VKcpGEjWKxI6EW .UKSVeJtOy5rv_uPViXy87T3THNhrKFPO1i6tFGb7TKe7U9D4ZbCZQMCj0PRGgVPpeceoaxJu39m dwUhy9MRxSlFVQEWCG54pWJ5_olF_Yg2o4EKBsaOhr Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Wed, 30 Sep 2020 17:38:18 +0000 Original-Received: by smtp411.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e7a2fb3e8a22f0b33d73316e3a1ac504; Wed, 30 Sep 2020 17:38:13 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16718 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.128.83; envelope-from=spacibba@aol.com; helo=sonic312-21.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/30 12:10:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.373, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124221 Archived-At: 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 C: copy-selection(CLIPBOARD) \n\ Ctrl Shift V: insert-selection(CLIPBOARD) \n\ : 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 > >