From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jason Newsgroups: gmane.emacs.bugs Subject: bug#41722: 26.3; mouse-2 does not work well on 7 button mouse Date: Fri, 05 Jun 2020 11:35:56 -0300 Message-ID: <875zc5fulv.fsf@ziepe.ca> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="7136"; mail-complaints-to="usenet@ciao.gmane.io" To: 41722@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 05 17:44:35 2020 Return-path: Envelope-to: geb-bug-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 1jhEWJ-0001iz-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 17:44:35 +0200 Original-Received: from localhost ([::1]:34714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhEWI-0006ei-EQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 11:44:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhEVm-0005y1-9I for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 11:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhEVl-0003bD-W4 for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 11:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhEVl-0000km-Tt for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 11:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jason Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 15:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41722 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15913717962835 (code B ref -1); Fri, 05 Jun 2020 15:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jun 2020 15:43:16 +0000 Original-Received: from localhost ([127.0.0.1]:49630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhEV0-0000je-Fk for submit@debbugs.gnu.org; Fri, 05 Jun 2020 11:43:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhDRz-0007fk-33 for submit@debbugs.gnu.org; Fri, 05 Jun 2020 10:36:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhDRy-0006ne-LI for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 10:36:02 -0400 Original-Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:43805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhDRv-00030C-W1 for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 10:36:01 -0400 Original-Received: by mail-qk1-x735.google.com with SMTP id v79so9814900qkb.10 for ; Fri, 05 Jun 2020 07:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:subject:date:message-id:mime-version; bh=byCSvPsD69mqCVMIgzXmdPY6gIXKKKPvoQJcu0PSgEY=; b=egtwdZsHRbpq6gxo2R6Tt9OPatTBPh7m3hT7AqFtWldaz2IB7c/Csp9/Yf7xL8OG1w Oao2ru5Z8m2vNv3AhNcVKyxxFPAPD9BtXwGRNiKJZHQtqhmqf3PoNBFlmy/PXw0th8cO jHIkCEWM4wo8tHNCufsZjxkFvtpjCCq8m1QYiOquimL7qN6JgCGmfBchouX8FEg+lcje Lu8gGsjYly8KprRJWxLJBfyl9fMxfLE2+FN4TaP28xrnr532Z18zgMxR+/d92OdUq+lu 55JajBHYn9on52j0FzgwxH1VJUpkIvLHaw2IRx248Bv1bnNqkMIMNohRrhJhVFvxW6kQ ReEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=byCSvPsD69mqCVMIgzXmdPY6gIXKKKPvoQJcu0PSgEY=; b=WCsi424vKlg7DEsj6YX3t4JQKWwWdo97BLdRjT9tDljZr2tXXermDrY9iH1L2h8b+c AmdbuH57YDFe4g8+JnCckDVU+0jh/pJYi3TuyTuvtM0+8p9JnaLm0CM5LKpv3ppRPSq5 H3uHepudq2xADDbTCLN1lDgLq+F1hkRO+x299d9N62IhbTj2Ew5V8HC6T6Kx5e1VoArO CyyMk54l7Eq2sw47SbrQW/sHczr9ghv8ChIch7IbghaNqb5ZxJnH/+1OiVXFqcPjw+DR T6po8EU9lqt99CWaNSYuaEXcCzZGsjNp57o50BpXwSsPwz95A2P1Yv7eVUT68ou5ccZo y15w== X-Gm-Message-State: AOAM533RAIQnBirddszhV6k7+WyVX3jHfxOTNKcFzySJUt0Xnn8oVwOf we9uVViZH3s2b9zLB1FeZ0hfytq0tJs= X-Google-Smtp-Source: ABdhPJy9mE3vxEC8Cb6XM5F95wOmAzzZYvgMCtT2WeE5/bxLucjgKUSkFk3kRIPfGl0lIeAsIOynrw== X-Received: by 2002:a37:a056:: with SMTP id j83mr10739163qke.329.1591367757633; Fri, 05 Jun 2020 07:35:57 -0700 (PDT) Original-Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id z3sm6901921qkl.111.2020.06.05.07.35.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 07:35:56 -0700 (PDT) Original-Received: from jgg by mlx with local (Exim 4.93) (envelope-from ) id 1jhDRs-002H3V-9D for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 11:35:56 -0300 Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=jgg@ziepe.ca; helo=mail-qk1-x735.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 05 Jun 2020 11:43:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181568 Archived-At: My mouse has the mouse-wheel-right/left-event capability, however due to the HW design if you try to generate mouse-2 (eg middle click) it nearly always is preceded by a mouse-6 or mouse-7 event. xev confirms this. At some point mwheel.el gained support for the mouse-wheel-right/left-event, and traps it into mwheel-scroll. mwheel-scroll causes *any* wheel event to disable mouse-2 on a timer (see mwheel-inhibit-click-event-timer). Thus with my mouse middle click doesn't work in emacs any more. This is a new regression at some point since emacs 25.2 Since the mwheel left/right scroll is inhibited by default (see mouse-wheel-tilt-scroll) it should not trigger the inhibit click event timer unless that function is turned on. This mouse is a logitech M-U0007 A simple work around is to unbind mouse-6/7 but it was very tricky to figure all this out. In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian built on lcy01-amd64-020 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04 LTS Recent messages: Auto-saving...done Making completion list... Type C-x 1 to delete the help window. Auto-saving... Starting new Ispell process aspell with default dictionary... Checking spelling of SUPRESSED... Auto-saving...done Saving file /home/njgg/dotfiles/emacs/jgg-mcutpaste.el... Wrote /home/njgg/dotfiles/emacs/jgg-mcutpaste.el is undefined Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-mEZBk7/emacs-26.3+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t global-auto-revert-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash-autoloads /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-pkg hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash-pkg /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/buck hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/buck /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/gogs hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/gogs /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/ghub-pkg hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/ghub-pkg /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/glab hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/glab /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/ghub-autoloads hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/ghub-autoloads /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/ghub-graphql hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/ghub-graphql /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/ghub hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/ghub /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/gsexp hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/gsexp /usr/share/emacs/site-lisp/elpa/ghub-3.3.0/gtea hides /usr/share/emacs/site-lisp/elpa-src/ghub-3.3.0/gtea /usr/share/emacs/site-lisp/elpa/git-commit-2.90.1/git-commit hides /usr/share/emacs/site-lisp/elpa-src/git-commit-2.90.1/git-commit /usr/share/emacs/site-lisp/elpa/git-commit-2.90.1/git-commit-pkg hides /usr/share/emacs/site-lisp/elpa-src/git-commit-2.90.1/git-commit-pkg /usr/share/emacs/site-lisp/elpa/git-commit-2.90.1/git-commit-autoloads hides /usr/share/emacs/site-lisp/elpa-src/git-commit-2.90.1/git-commit-autoloads /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-pkg hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-pkg /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-autoloads hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-autoloads /usr/share/emacs/site-lisp/elpa/magit-popup-2.13.2/magit-popup-pkg hides /usr/share/emacs/site-lisp/elpa-src/magit-popup-2.13.2/magit-popup-pkg /usr/share/emacs/site-lisp/elpa/magit-popup-2.13.2/magit-popup-autoloads hides /usr/share/emacs/site-lisp/elpa-src/magit-popup-2.13.2/magit-popup-autoloads /usr/share/emacs/site-lisp/elpa/magit-popup-2.13.2/magit-popup hides /usr/share/emacs/site-lisp/elpa-src/magit-popup-2.13.2/magit-popup /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot210/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot210/markdown-mode /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot210/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot210/markdown-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot210/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot210/markdown-mode-pkg /usr/share/emacs/site-lisp/elpa/treepy-0.1.1/treepy hides /usr/share/emacs/site-lisp/elpa-src/treepy-0.1.1/treepy /usr/share/emacs/site-lisp/elpa/treepy-0.1.1/treepy-autoloads hides /usr/share/emacs/site-lisp/elpa-src/treepy-0.1.1/treepy-autoloads /usr/share/emacs/site-lisp/elpa/treepy-0.1.1/treepy-pkg hides /usr/share/emacs/site-lisp/elpa-src/treepy-0.1.1/treepy-pkg /usr/share/emacs/site-lisp/elpa/with-editor-2.6.0/with-editor-pkg hides /usr/share/emacs/site-lisp/elpa-src/with-editor-2.6.0/with-editor-pkg /usr/share/emacs/site-lisp/elpa/with-editor-2.6.0/with-editor-autoloads hides /usr/share/emacs/site-lisp/elpa-src/with-editor-2.6.0/with-editor-autoloads /usr/share/emacs/site-lisp/elpa/with-editor-2.6.0/with-editor hides /usr/share/emacs/site-lisp/elpa-src/with-editor-2.6.0/with-editor /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode-pkg /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode-autoloads /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode ~/dotfiles/emacs/mwheel hides /usr/share/emacs/26.3/lisp/mwheel ~/dotfiles/emacs/verilog-mode hides /usr/share/emacs/26.3/lisp/progmodes/verilog-mode /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/26.3/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ispell cl-print mouse-copy mouse-drag thingatpt grep jgg-compile reposition compile comint ansi-color ring cl-extra eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree help-mode jgg-vc-git vc-git diff-mode easy-mmode elec-pair buff-menu+ derived cl advice autorevert filenotify time finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 149412 10533) (symbols 48 24551 1) (miscs 40 99 284) (strings 32 43136 1845) (string-bytes 1 1150707) (vectors 16 19637) (vector-slots 8 572978 6496) (floats 8 70 281) (intervals 56 1682 213) (buffers 992 16))