Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jun 2016 20:15:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 16:15:00 2016 Received: from localhost ([127.0.0.1]:33151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1bAjsS-00044k-EZ for submit <at> debbugs.gnu.org; Wed, 08 Jun 2016 16:15:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rsw@HIDDEN>) id 1bAjsR-00044Z-A5 for submit <at> debbugs.gnu.org; Wed, 08 Jun 2016 16:14:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rsw@HIDDEN>) id 1bAjsL-0001Xn-5A for submit <at> debbugs.gnu.org; Wed, 08 Jun 2016 16:14:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,HTML_MESSAGE, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>) id 1bAjsL-0001Xh-1k for submit <at> debbugs.gnu.org; Wed, 08 Jun 2016 16:14:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>) id 1bAjsI-0004pr-LT for bug-gnu-emacs@HIDDEN; Wed, 08 Jun 2016 16:14:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rsw@HIDDEN>) id 1bAjsC-0001XL-KN for bug-gnu-emacs@HIDDEN; Wed, 08 Jun 2016 16:14:49 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>) id 1bAjsC-0001WO-GK for bug-gnu-emacs@HIDDEN; Wed, 08 Jun 2016 16:14:44 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:33090) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1bAjsB-00069L-2S for bug-gnu-emacs@HIDDEN; Wed, 08 Jun 2016 16:14:43 -0400 Received: by mail-oi0-f51.google.com with SMTP id k23so31193955oih.0 for <bug-gnu-emacs@HIDDEN>; Wed, 08 Jun 2016 13:14:43 -0700 (PDT) X-Gm-Message-State: ALyK8tJKCuvrI4Xbh4Igax8w6SI0OKvZ3BfTdRO4PNJKBRFcTYlluhjOowhVAfyIzOw3zMIDlAjYmx98By5z1A== X-Received: by 10.157.31.117 with SMTP id x50mr4192471otx.160.1465416882301; Wed, 08 Jun 2016 13:14:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.73 with HTTP; Wed, 8 Jun 2016 13:14:13 -0700 (PDT) From: Robert Weiner <rsw@HIDDEN> Date: Wed, 8 Jun 2016 16:14:13 -0400 X-Gmail-Original-Message-ID: <CA+OMD9hUm_YeFYOTn2mxJbGzX061VSQJMhrnEtoqppS1yFMjGg@HIDDEN> Message-ID: <CA+OMD9hUm_YeFYOTn2mxJbGzX061VSQJMhrnEtoqppS1yFMjGg@HIDDEN> Subject: Emacs 25.0.96: Mouse button depress modifiers don't but should carry through to next release event if any intervening events. To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary=001a113d148cb7b4710534c9f465 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: rswgnu@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) --001a113d148cb7b4710534c9f465 Content-Type: text/plain; charset=UTF-8 FYI, I am trying to get the mouse keys to act as modifiers, e.g. holding down C-mouse-2, acts as a control key modifier. I have this mostly working but have run into a release event problem as outlined below. Scenario 1: Bind C-down-mouse-2 and C-mouse-2 to commands. Depress control and mouse-2, release the control key, then release the mouse-2 button, you will get a C-down-mouse-2 event and I believe a C-mouse-2 release event even though the control key has been released, as desired. Scenario 2: Depress control and mouse-2, release the control key, press a, then release the mouse-2 button and you will get a mouse-2 release event, not a C-mouse-2 release event, meaning there is no way to coordinate modified press/release event pairs when there are intervening events unless the modifier is held down throughout the entire sequence of events (which is not very workable when other modified keys need to be pressed in the interim). I would suggest that once a modified key is depressed, the next release event for that key, regardless of any modifiers now pressed, should match the modifiers of the depress event, unless something a discard-events is done prior to release. Otherwise, one would have to affect all modified combinations of the button to ensure that the associated release event is triggered whether or not the modifiers are still held down. That surely is not practical. Neither does it make much sense to program pairs of depress/release events where the modifiers differ between press and release. Can anyone address this? Thanks, Bob --001a113d148cb7b4710534c9f465 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>FYI, I am trying to get the mouse keys to act as modi= fiers, e.g. holding down C-mouse-2, acts as a control key modifier.=C2=A0 I= have this mostly working but have run into a release event problem as outl= ined below.</div><div><br></div><div>Scenario 1: Bind C-down-mouse-2 and C-= mouse-2 to commands.=C2=A0 Depress control and mouse-2, release the control= key, then release the mouse-2 button, you will get a C-down-mouse-2 event = and I believe a C-mouse-2 release event even though the control key has bee= n released, as desired.</div><div><br></div>Scenario 2: Depress control and= mouse-2, release the control key, press a, then release the mouse-2 button= and you will get a mouse-2 release event, not a C-mouse-2 release event, m= eaning there is no way to coordinate modified press/release event pairs whe= n there are intervening events unless the modifier is held down throughout = the entire sequence of events (which is not very workable when other modifi= ed keys need to be pressed in the interim).<div><br></div><div>I would sugg= est that once a modified key is depressed, the next release event for that = key, regardless of any modifiers now pressed, should match the modifiers of= the depress event, unless something a discard-events is done prior to rele= ase.</div><div><br></div><div>Otherwise, one would have to affect all modif= ied combinations of the button to ensure that the associated release event = is triggered whether or not the modifiers are still held down.=C2=A0 That s= urely is not practical.=C2=A0 Neither does it make much sense to program pa= irs of depress/release events where the modifiers differ between press and = release.</div><div><br></div><div>Can anyone address this?</div><div><br></= div><div>Thanks,</div><div><br></div><div>Bob</div><div><br></div></div> --001a113d148cb7b4710534c9f465--
rswgnu@HIDDEN
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#23732
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.