From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Dec 2024 05:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75219@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173562357323373 (code B ref -1); Tue, 31 Dec 2024 05:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Dec 2024 05:39:33 +0000 Received: from localhost ([127.0.0.1]:60815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSUyZ-00064u-Bl for submit@debbugs.gnu.org; Tue, 31 Dec 2024 00:39:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:33838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSUyV-00064e-Ki for submit@debbugs.gnu.org; Tue, 31 Dec 2024 00:39:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSUwN-00045q-1S for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 00:37:15 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSUwJ-0005jL-OC for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 00:37:14 -0500 Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-2164b662090so113316295ad.1 for ; Mon, 30 Dec 2024 21:37:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735623429; x=1736228229; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=uifuYyyF1eBFh/JLFnbhU0KOFoLHde437lyAFIdN0BU=; b=AFKzjeqxApJ7YxhKyAixMoSxHtklQlZRn1TYZMAu0D2oePcYR5UM/yC0gXQrRZk5eA KoGQUQOdM8qlinDixbw9/hvwqgOtmCXNcAjUprrfpz8w1lRjn5Z59ZM8g72MJF9/de8y DOJuX7+U2CUZUt0QkUGT0c/4YodEyiRqvvorGDWPY0qFosx1tTgi/9nJnMSo6KT/sBOW PmvUn/4ENltoNd8C3PpRWOhe+i/La99X5hds3IlMbvrTcaGlgpq8Y3SbX+xNA+A8kKPl B5WVsufFDMq56oE7YzGT5VxpvgPMkcrzxEjJ+exFRHMtXXDbP5z0wqVwF2L8Qxco9zl4 fIaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735623429; x=1736228229; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uifuYyyF1eBFh/JLFnbhU0KOFoLHde437lyAFIdN0BU=; b=VexCjFPWP04A6UR7idiTOKDDXN6xVJlp/Bc57mQYqwPksl07DmmemxjpYTJWe1jK2H CgLyrv8UJ6M4kqH5+O9fL/sNbCDtvrKo1Y79mt7AFDhnWHk1Keb8G5hCrPspZRvlc11E T91zf7OhVuAJ30UygHBDiN2qQVFuZPIKguWc5NKmAa8z/+74VwGo19tcsixf3OGJUMTY kuLtSPsOSA9fJ/REL17XVfNr7gZq7Hh3H8F9T5xa2SPG8HKOJ03fDs72VxxoLqCOTINl exsCQ2ldCLbZhkbihUo55xJFWbgYyYrOEO+yJfXNKRy96xuI2oTcczgsQbolYKbW1IV4 RDNw== X-Gm-Message-State: AOJu0Yz5JUtKOanJIAM4HLvx7taez1fobuC5e7VgGJF7FhZm2VirCdqf QDHbPB1TAnpSXKxMhgfmrDF45ZOZODAOSKeNd6ta6PtAG7X12Mnac0vVWtac X-Gm-Gg: ASbGncvtBBhljLAoNkJMGA6KMv+XpxvgGcGF8OAFLptfksz/d077ou+8OdVvsVPzSIN 6VzGGIKQfSKCkMW48+daTkR8M+koaqAH+fahbACi39jtEEyIz/2ZxQm6TstowFjVQjKc1Umk1ox /2wNcOYJCtW6qOAJme7vMpIRQTt5LYNnf15vbUx8h4XuPQFi4evFuVJckROQufFekIrrsJMy3+b ADv80Pzfdf+uxv0DXLHIai1KUwauLWsnMCtxYfbPvI+FfVat9aJ X-Google-Smtp-Source: AGHT+IE9tqi4A8XrNwSMXwsS50oWgOpLtwzY2w+RW1ST5s8vnLctRJ1BTafIuiPyrpP6cz56Ngm+nQ== X-Received: by 2002:a17:903:234f:b0:216:282d:c67a with SMTP id d9443c01a7336-219e6f1178emr531532605ad.39.1735623429150; Mon, 30 Dec 2024 21:37:09 -0800 (PST) Received: from localhost ([49.204.140.76]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f6285sm187307295ad.215.2024.12.30.21.37.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 21:37:08 -0800 (PST) From: Visuwesh Date: Tue, 31 Dec 2024 11:07:05 +0530 Message-ID: <87o70sbegu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::642; envelope-from=visuweshm@gmail.com; helo=mail-pl1-x642.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When the point is over a character with a keymap that has `follow-link', mode-line mouse-1 binding is translated to mode-line mouse-2 binding. To reproduce, 1. emacs -Q 2. M-: (define-key mode-line-buffer-identification-keymap [mode-line mouse-2] #'mouse-buffer-menu) RET 3. M-s M-w something RET 4. Move the point over to any link 5. Click the buffer name in the mode-line with mouse-1 6. Observe how mouse-buffer-menu is executed instead of changing the buffer Setting mouse-1-click-follows-link to nil cancels this erroneous translation and makes mode-line mouse-1 binding change the buffer as expected. In GNU Emacs 31.0.50 (build 27, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2, Xaw scroll bars) of 2024-12-07 built on astatine Repository revision: 9ddec89e422d0dd6e9069731b8f2dd2c90aa5607 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d --without-gconf --without-libsystemd --with-cairo CFLAGS=-g3' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: TeX-PDF-mode: t reveal-mode: t outline-minor-mode: t recentf-mode: t server-mode: t paredit-mode: t eros-mode: t flymake-mode: t pdf-occur-global-minor-mode: t minibuffer-depth-indicate-mode: t repeat-mode: t display-time-mode: t display-battery-mode: t delete-selection-mode: t xterm-mouse-mode: t vz/winkey-minor-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t use-hard-newlines: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t undelete-frame-mode: t minibuffer-regexp-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/viz/lib/emacs/straight/build/transient/transient hides /home/viz/lib/ports/emacs/lisp/transient /home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/ports/emacs/lisp/org/ob-awk /home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/ports/emacs/lisp/org/org-capture /home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/ports/emacs/lisp/org/ob-sql /home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/ports/emacs/lisp/org/ol-doi /home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/ports/emacs/lisp/org/org-plot /home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/ports/emacs/lisp/org/ob-dot /home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/ports/emacs/lisp/org/ol-eshell /home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/ports/emacs/lisp/org/ob-C /home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/ports/emacs/lisp/org/ob-ref /home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/ports/emacs/lisp/org/org-list /home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/ports/emacs/lisp/org/org-mouse /home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/ports/emacs/lisp/org/ob-haskell /home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/ports/emacs/lisp/org/ob-plantuml /home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/ports/emacs/lisp/org/org-keys /home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/ports/emacs/lisp/org/org-clock /home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/ports/emacs/lisp/org/ox-html /home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/ports/emacs/lisp/org/oc-biblatex /home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/ports/emacs/lisp/org/ob-table /home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/ports/emacs/lisp/org/ob /home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/ports/emacs/lisp/org/ol-w3m /home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/ports/emacs/lisp/org/ob-groovy /home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/ports/emacs/lisp/org/org-footnote /home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/ports/emacs/lisp/org/org-entities /home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/ports/emacs/lisp/org/ob-org /home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/ports/emacs/lisp/org/org-macs /home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/ports/emacs/lisp/org/ob-shell /home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/ports/emacs/lisp/org/ob-R /home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-lisp /home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/ports/emacs/lisp/org/ob-js /home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/ports/emacs/lisp/org/ob-maxima /home/viz/lib/emacs/straight/build/org/org-element-ast hides /home/viz/lib/ports/emacs/lisp/org/org-element-ast /home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/ports/emacs/lisp/org/ox-ascii /home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/ports/emacs/lisp/org/org-persist /home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/ports/emacs/lisp/org/ox-md /home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/ports/emacs/lisp/org/org-duration /home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/ports/emacs/lisp/org/ob-lilypond /home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/ports/emacs/lisp/org/ob-ruby /home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/ports/emacs/lisp/org/ob-core /home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/ports/emacs/lisp/org/ol-mhe /home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/ports/emacs/lisp/org/ob-ditaa /home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/ports/emacs/lisp/org/ol-irc /home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/ports/emacs/lisp/org/ob-fortran /home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/ports/emacs/lisp/org/org-feed /home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/ports/emacs/lisp/org/ob-java /home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/ports/emacs/lisp/org/ox /home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/ports/emacs/lisp/org/oc-csl /home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/ports/emacs/lisp/org/ob-exp /home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/ports/emacs/lisp/org/org-loaddefs /home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/ports/emacs/lisp/org/ob-scheme /home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/ports/emacs/lisp/org/ob-tangle /home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib/ports/emacs/lisp/org/ox-koma-letter /home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/ports/emacs/lisp/org/ob-gnuplot /home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/ports/emacs/lisp/org/org-crypt /home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/ports/emacs/lisp/org/org-datetree /home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/ports/emacs/lisp/org/org-attach /home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/ports/emacs/lisp/org/ob-julia /home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/ports/emacs/lisp/org/ob-sqlite /home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/ports/emacs/lisp/org/org-cycle /home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/ports/emacs/lisp/org/org-faces /home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/ports/emacs/lisp/org/org-mobile /home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/ports/emacs/lisp/org/org-ctags /home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/ports/emacs/lisp/org/ob-latex /home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/ports/emacs/lisp/org/ob-matlab /home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/ports/emacs/lisp/org/ob-sed /home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib/ports/emacs/lisp/org/org-attach-git /home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/ports/emacs/lisp/org/ob-python /home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/ports/emacs/lisp/org/ox-icalendar /home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/ports/emacs/lisp/org/org-tempo /home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/ports/emacs/lisp/org/ob-screen /home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/ports/emacs/lisp/org/org-num /home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/ports/emacs/lisp/org/ob-forth /home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/ports/emacs/lisp/org/ox-odt /home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/ports/emacs/lisp/org/ol-bbdb /home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/ports/emacs/lisp/org/org-table /home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/ports/emacs/lisp/org/ox-man /home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/ports/emacs/lisp/org/ox-org /home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/ports/emacs/lisp/org/ob-comint /home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/ports/emacs/lisp/org/ob-clojure /home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/ports/emacs/lisp/org/org-id /home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/ports/emacs/lisp/org/oc-natbib /home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/ports/emacs/lisp/org/ox-texinfo /home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/ports/emacs/lisp/org/org-agenda /home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/ports/emacs/lisp/org/org-src /home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-emacs-lisp /home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/ports/emacs/lisp/org/ob-css /home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/ports/emacs/lisp/org/ox-latex /home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/ports/emacs/lisp/org/oc /home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/ports/emacs/lisp/org/ol /home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/ports/emacs/lisp/org/org-element /home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/ports/emacs/lisp/org/org /home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/ports/emacs/lisp/org/org-goto /home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/ports/emacs/lisp/org/ob-eval /home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/ports/emacs/lisp/org/org-habit /home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/ports/emacs/lisp/org/org-pcomplete /home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/ports/emacs/lisp/org/ol-eww /home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/ports/emacs/lisp/org/ob-processing /home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/ports/emacs/lisp/org/org-timer /home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib/ports/emacs/lisp/org/org-inlinetask /home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/ports/emacs/lisp/org/ol-bibtex /home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/ports/emacs/lisp/org/org-fold-core /home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/ports/emacs/lisp/org/oc-basic /home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/ports/emacs/lisp/org/ox-publish /home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/ports/emacs/lisp/org/oc-bibtex /home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/ports/emacs/lisp/org/org-macro /home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/ports/emacs/lisp/org/ol-docview /home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/ports/emacs/lisp/org/org-fold /home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/ports/emacs/lisp/org/org-lint /home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/ports/emacs/lisp/org/org-version /home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/ports/emacs/lisp/org/ob-ocaml /home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/ports/emacs/lisp/org/ob-sass /home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/ports/emacs/lisp/org/ob-perl /home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/ports/emacs/lisp/org/ol-rmail /home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/ports/emacs/lisp/org/org-protocol /home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/ports/emacs/lisp/org/ol-info /home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/ports/emacs/lisp/org/ob-eshell /home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/ports/emacs/lisp/org/org-refile /home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/ports/emacs/lisp/org/ob-octave /home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/ports/emacs/lisp/org/ob-lua /home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/ports/emacs/lisp/org/ol-gnus /home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/ports/emacs/lisp/org/ob-makefile /home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/ports/emacs/lisp/org/org-archive /home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/ports/emacs/lisp/org/ob-lob /home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/ports/emacs/lisp/org/ol-man /home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/ports/emacs/lisp/org/org-compat /home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/ports/emacs/lisp/org/org-colview /home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/ports/emacs/lisp/org/org-indent /home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/ports/emacs/lisp/org/ox-beamer /home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/ports/emacs/lisp/org/ob-calc Features: (shadow gnus-fun find-dired tramp-cmds ement-room-list taxy-magit-section taxy svg-lib persist ement-tabulated-room-list ement ement-notifications ement-notify notifications ement-room ement-lib ement-api ement-structs ement-macros magit-section dns wdired expand-region text-mode-expansions cc-mode-expansions the-org-mode-expansions python-el-fgallina-expansions nxml-mode-expansions latex-mode-expansions js-mode-expansions html-mode-expansions css-mode-expansions er-basic-expansions expand-region-core expand-region-custom ob-R ob-awk ob-clojure ob-css ob-dot ob-eshell eshell esh-cmd esh-ext esh-proc esh-opt esh-io esh-arg esh-module esh-module-loaddefs esh-util ob-forth ob-groovy ob-haskell ob-java ob-js ob-julia ob-latex ob-lilypond ob-lisp ob-lua ob-makefile ob-maxima ob-ocaml ob-octave ob-org ob-perl ob-processing ob-ruby ob-sass ob-scheme ob-screen ob-sed ob-sqlite ob-sql ob-ditaa ob-plantuml org-clock org-colview org-crypt org-ctags org-mouse org-plot org-protocol ox-md ox-texinfo lacarte icomplete pcmpl-git emacsbug emacs-news-mode edebug tabify org-datetree org-capture doct gnus-search eieio-opt speedbar ezimage dframe view whitespace vc-dir tramp-cache time-stamp tramp-sh tramp trampver tramp-integration tramp-message tramp-compat tramp-loaddefs tex-mode tex-font shortdoc comp-common grep tex-buf man url-http url-gw msb olivetti pdf-sync pdf-outline pdf-links pdf-history pdf-roll tex-info texinfo texinfo-loaddefs dabbrev url-cache url-auth misc gnus-dired latex latex-flymake tex-ispell tex-style tex rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap external-completion locate shr-color qp flow-fill mm-archive sort gnus-cite textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml network-stream nsm nndraft nnmh nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache mhtml-mode css-mode js c-ts-common sgml-mode dired-aux typo pcmpl-unix shell-command+ latexenc face-remap org-pdftools pdf-annot facemenu org-noter oc-bibtex image-file image-converter oc-basic org-ql-find org-ql-completing-read org-ql-search org-ql-view transient ov crm org-super-agenda ht f s org-ql peg ts dash org-habit org-duration embark-org ob-gnuplot ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-icalendar org-agenda ox-html ox-mathml org-latex-preview ox-latex table ox-ascii ox-publish ox org-element org-persist avl-tree ob-fortran ob-python python ob-calc calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell shell ob-racket cdlatex texmathp org-attach ol-eww eww xdg vtable mule-util url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-tempo org-id org-refile org-element-ast inline ol-man org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs smerge-mode avy mail-extr flyspell ispell ecomplete pulse color bug-reference etags fileloop generator imenu-xref xref cl-print help-fns radix-tree executable misearch multi-isearch reveal noutline outline cursor-sensor recentf tree-widget vc-backup log-view log-edit message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc diff vc-git diff-mode track-changes vc-dispatcher server paredit edmacro kmacro eros checkdoc lisp-mnt flymake project wordel-autoloads mines-autoloads sokoban-autoloads ement-autoloads svg-lib-autoloads taxy-magit-section-autoloads magit-section-autoloads taxy-autoloads persist-autoloads nov-autoloads esxml-autoloads kv-autoloads transmission-autoloads csv-mode-autoloads lua-mode-autoloads gnuplot-autoloads go-mode-autoloads racket-mode-autoloads eros-autoloads comint-mime-autoloads writegood-mode-autoloads embark ffap thingatpt compat embark-autoloads xeft-autoloads paredit-autoloads puni-autoloads expand-region-autoloads filladapt-autoloads compose org-ql-autoloads transient-autoloads ov-autoloads org-super-agenda-autoloads ts-autoloads ht-autoloads f-autoloads s-autoloads dash-autoloads org-pdftools-autoloads org-noter-autoloads change-env-autoloads math-delimiters-autoloads doct-autoloads emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads tempo bibtex iso8601 time-date auctex-autoloads tex-site pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core json url-vars compile comint ansi-osc ansi-color ring cus-edit wid-edit pdf-view password-cache jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads typo-autoloads mb-depth repeat visual-fill-autoloads olivetti-autoloads time format-spec battery filenotify dom tamil99 quail disp-table lacarte-autoloads shell-command-plus-autoloads delsel xt-mouse cus-load avy-autoloads icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs plz warnings icons easy-mmode dired-du-autoloads finder-inf filecache imenu-xref-autoloads ert map byte-opt ewoc debug backtrace find-func qrencode-autoloads derived tochemfig-autoloads chemtable-autoloads molar-mass-autoloads files-x vc-backup-autoloads skeleton saveplace-pdf-view saveplace bookmark text-property-search pp saveplace-pdf-view-autoloads dbus xml rx plz-autoloads inspector-autoloads xr-autoloads info straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile pcase vz-nh-theme vz-options-theme rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 3216893 684419) (symbols 48 94087 10) (strings 32 528033 66919) (string-bytes 1 26653336) (vectors 16 203501) (vector-slots 8 2927604 306719) (floats 8 10695 19070) (intervals 56 291148 3209) (buffers 984 166)) From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Visuwesh , Stefan Monnier Cc: 75219@debbugs.gnu.org Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.17360902802961 (code B ref 75219); Sun, 05 Jan 2025 15:18:02 +0000 Received: (at 75219) by debbugs.gnu.org; 5 Jan 2025 15:18:00 +0000 Received: from localhost ([127.0.0.1]:34824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUSO7-0000lg-GN for submit@debbugs.gnu.org; Sun, 05 Jan 2025 10:17:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38742) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUSO5-0000lR-DG for 75219@debbugs.gnu.org; Sun, 05 Jan 2025 10:17:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUSNz-0002BJ-Pa; Sun, 05 Jan 2025 10:17:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=c31OrZ23gdVin7EFFQcsRCmf8cYkg1KoCt9ypc4kwTs=; b=kRDISEAosGqj TD3tVe8Hs4yhzXHtvBWw7w9Ulp80rfxfANU/BW8caWWOCU8mn98lXcPhnz1kqUWEU++rB0lzG56RZ jM0hhOSpvC0dN6ukH0Uvz8XJcKj6lT64oFFagF/G30EZJg62yN3KinOTous1XDIxYBqOjEQDtI7GH IlYCVV+FZ+FrmiXPIIA3SmicoIcH4HKxjveuSaU7i3MrVEiXX/kLCiiVmclynoKCg53g6GciNBdjx lf60yA9nL7yTWDUrmWSyKoSkxmqMmX5Lzsq62jvRQfOiD1HODx4koD2/c7Y6sUS0j1DzmeBPUgD9N I5BEBPhBPjDxpWtkxO8exA==; Date: Sun, 05 Jan 2025 17:17:45 +0200 Message-Id: <86zfk570iu.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o70sbegu.fsf@gmail.com> (message from Visuwesh on Tue, 31 Dec 2024 11:07:05 +0530) References: <87o70sbegu.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Visuwesh > Date: Tue, 31 Dec 2024 11:07:05 +0530 > > When the point is over a character with a keymap that has `follow-link', > mode-line mouse-1 binding is translated to mode-line mouse-2 binding. > > To reproduce, > > 1. emacs -Q > 2. M-: (define-key mode-line-buffer-identification-keymap [mode-line mouse-2] #'mouse-buffer-menu) RET > 3. M-s M-w something RET > 4. Move the point over to any link > 5. Click the buffer name in the mode-line with mouse-1 > 6. Observe how mouse-buffer-menu is executed instead of changing the > buffer This happens because key-binding considers the local keymap at point even if its POSITION argument specifies a mouse click in a completely different location (in this case: on the mode line). For example, try M-: (key-binding [follow-link] nil t (list (selected-window) 'mode-line '(82 . 549) 10000)) RET Evaluate this in EWW buffer, once with point on a link and another time with point on a regular character. In the second case this will return nil, but in the first case it will return 'mouse-face', an indication that the click should follow a link. The result of this is that mouse-on-link-p returns non-nil, and mouse--click-1-maybe-follows-link decides we need to follow the link. The reason why key-binding considers the local keymap at point is this part of current-active-maps (which key-binding calls): ptrdiff_t pt = click_position (position); <<<<<<<<<<<<<<<<<<<<< /* This usually returns the buffer's local map, but that can be overridden by a `local-map' property. */ Lisp_Object local_map = get_local_map (pt, current_buffer, Qlocal_map); /* This returns nil unless there is a `keymap' property. */ Lisp_Object keymap = get_local_map (pt, current_buffer, Qkeymap); Lisp_Object otlp = KVAR (current_kboard, Voverriding_terminal_local_map); and click_position does this: static ptrdiff_t click_position (Lisp_Object position) { EMACS_INT pos = (FIXNUMP (position) ? XFIXNUM (position) : MARKERP (position) ? marker_position (position) : PT); if (! (BEGV <= pos && pos <= ZV)) args_out_of_range (Fcurrent_buffer (), position); return pos; } So if POSITION is a mouse click event, click_position will always return the position of point. It is easy to prevent this strange result from click_position by ignoring local map at POSITION which is a list, but I don't know how much code out there relies on this "fallback" to point. Stefan, any ideas or suggestions? From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 75219@debbugs.gnu.org, Visuwesh Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.17361006693149 (code B ref 75219); Sun, 05 Jan 2025 18:12:02 +0000 Received: (at 75219) by debbugs.gnu.org; 5 Jan 2025 18:11:09 +0000 Received: from localhost ([127.0.0.1]:35119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUV5g-0000oi-KB for submit@debbugs.gnu.org; Sun, 05 Jan 2025 13:11:09 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63087) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUV5c-0000o7-8P for 75219@debbugs.gnu.org; Sun, 05 Jan 2025 13:11:07 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A2CEC44107B; Sun, 5 Jan 2025 13:10:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736100652; bh=ixECbVStOR0x51Sr1kgcAFr5W6fZuMvSgw82x5/tH8Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oEHRBvwRV4TR24Uvq0BGw1+Ay8+sLeK+YWWJ+53EEgexooAaphcJom0ryjnNLsJOe rIzOcQlTwTRwJ3K/VN/m4dJI9Zb+WWUHwVW+lFtVsSzJIwF1ZYgbz8Bmw2Ahukbre0 8lWJ5usphb2blmMa9tU1+UtC7ojKH5gV+xPuVUadHsgosSKVO9dxLgvyznNw8uqFZ0 A81OgxWAQYLYMpnXHVlbUAucR5yVoynXaycQbBpQl33k5lfOD/xBWLEII0xVCJZAd8 YlxkogngEGWRjL3E2MSmMCv1dm5TlEAc1YGN3Wpx0jLJJVmZiaBfvp03vpXHpHJPrI oBiL5HQz+Wwtg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4347B441482; Sun, 5 Jan 2025 13:10:52 -0500 (EST) Received: from alfajor (unknown [104.195.230.250]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 105BF120478; Sun, 5 Jan 2025 13:10:52 -0500 (EST) From: Stefan Monnier In-Reply-To: <86zfk570iu.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jan 2025 17:17:45 +0200") Message-ID: References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> Date: Sun, 05 Jan 2025 13:10:45 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.024 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > The reason why key-binding considers the local keymap at point is this > part of current-active-maps (which key-binding calls): > > ptrdiff_t pt =3D click_position (position); <<<<<<<<<<<<<<<<<<<<< > /* This usually returns the buffer's local map, > but that can be overridden by a `local-map' property. */ > Lisp_Object local_map =3D get_local_map (pt, current_buffer, Qlocal= _map); > /* This returns nil unless there is a `keymap' property. */ > Lisp_Object keymap =3D get_local_map (pt, current_buffer, Qkeymap); > Lisp_Object otlp =3D KVAR (current_kboard, Voverriding_terminal_loc= al_map); > > and click_position does this: > > static ptrdiff_t > click_position (Lisp_Object position) > { > EMACS_INT pos =3D (FIXNUMP (position) ? XFIXNUM (position) > : MARKERP (position) ? marker_position (position) > : PT); > if (! (BEGV <=3D pos && pos <=3D ZV)) > args_out_of_range (Fcurrent_buffer (), position); > return pos; > } > > So if POSITION is a mouse click event, click_position will always > return the position of point. Yeah, we pay attention to the "window" part of the posn but not the rest. =F0=9F=99=81 > Stefan, any ideas or suggestions? Maybe something like the patch below, but maybe we should call `posn-point` instead? Stefan diff --git a/src/keymap.c b/src/keymap.c index e3461243cdd..7393495b41a 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1659,6 +1659,10 @@ click_position (Lisp_Object position) { EMACS_INT pos =3D (FIXNUMP (position) ? XFIXNUM (position) : MARKERP (position) ? marker_position (position) + /* FIXME: POSN_POSN seems to be less thorough + than `posn-point'! */ + : CONSP (position) && INTEGERP (POSN_POSN (position)) + ? POSN_POSN (position) : PT); if (! (BEGV <=3D pos && pos <=3D ZV)) args_out_of_range (Fcurrent_buffer (), position); From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173610310611379 (code B ref 75219); Sun, 05 Jan 2025 18:52:01 +0000 Received: (at 75219) by debbugs.gnu.org; 5 Jan 2025 18:51:46 +0000 Received: from localhost ([127.0.0.1]:35223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUVj0-0002xT-6a for submit@debbugs.gnu.org; Sun, 05 Jan 2025 13:51:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48288) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUViy-0002xB-Di for 75219@debbugs.gnu.org; Sun, 05 Jan 2025 13:51:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUVit-0002lq-08; Sun, 05 Jan 2025 13:51:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=r3q2l4r5wyww8s2UvYf+fVu6GkkJMIvMbJdkgr+UgX8=; b=PNZBouZZZAOwnOO0Rw9a V/D7jTAKyj6r9wOOqh+4YMB7Cu0abvM1WuoBCERiMhT0OnnejVIX78jgC0AozCWvgyt2PU6JwP5OY A+mfizxhpBIGW+nM6/A998XPXZHbis0cYs+2t3EEHLJYkmb7+r581AJHH1YMpdnsYqqCEmvvBoWhz kkwvzwBfNnmG2NqJiiDsyILGyu1yBvif4PsC5qeQr4o9A98qnjfDzzp0l4jCAvXQxhzlqScJpHwJh O+TMIx4pyRecHw7zVDaWi3Bzbue0bpsk6kMn5fnqrXUGrP1cOT9ofB9cH/E+4i2LxjTLMJQv0QNrU U6YnnJD32vvmBA==; Date: Sun, 05 Jan 2025 20:51:36 +0200 Message-Id: <86ikqt6qmf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Monnier on Sun, 05 Jan 2025 13:10:45 -0500) References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: Visuwesh , 75219@debbugs.gnu.org > Date: Sun, 05 Jan 2025 13:10:45 -0500 > > > So if POSITION is a mouse click event, click_position will always > > return the position of point. > > Yeah, we pay attention to the "window" part of the posn but not the > rest. 🙁 > > > Stefan, any ideas or suggestions? > > Maybe something like the patch below, but maybe we should call > `posn-point` instead? It shouldn't be hard to find a solution along these lines, but what bothers me is how many Lisp code out there relies on this strange "fallback"? Also, for clicks on mode line there will be no buffer position in the event, and then it sounds like your patch will again fall back on returning point? I thought that clicks on the mode line should examine local keymaps only on the mode-line's string at the click, don't you agree? From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 21:52:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173611392922759 (code B ref 75219); Sun, 05 Jan 2025 21:52:14 +0000 Received: (at 75219) by debbugs.gnu.org; 5 Jan 2025 21:52:09 +0000 Received: from localhost ([127.0.0.1]:35663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUYXZ-0005v0-0D for submit@debbugs.gnu.org; Sun, 05 Jan 2025 16:52:09 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29208) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUYWq-0005pX-OY for 75219@debbugs.gnu.org; Sun, 05 Jan 2025 16:52:06 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C27228027D; Sun, 5 Jan 2025 16:51:04 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736113864; bh=grK2IN9/CSTRAiSLq2cJOC/3f96vhBYsHO/tsOLofZQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GIXmObo21XKUZLMR5GEsyJBLvmGgNXuNqYkG6MAl+GZt9y27Ceu10qVSdoPGYOwVI z81C/4iEXB6GxN2i8516jMVEbKT/AkOL4bsSKmBitv/qM3N/Dv4DNavaxNqWbT36qe be9Z3YOq7dQQoqKvODqKRWwdS2m9/xO1TbYXqP3zaVSCwkG8moOIEYjEqNFEM3GLWg PUfjljKanhKlz9QWl2Ny2+G3ApRmGW9m79r5O8ehydY67x3k26+5RzEMYj3DvC2Son i0dxfTiju+GKksaVJFwYsz2FTmE0y/yFE1S9jiWaXi/Y/A9f6nIWyLzYpvEn1OZbE8 L6+1ygfNHMm5g== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F14B28089D; Sun, 5 Jan 2025 16:51:03 -0500 (EST) Received: from alfajor (104-195-230-250.cpe.teksavvy.com [104.195.230.250]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BEB9412023A; Sun, 5 Jan 2025 16:51:03 -0500 (EST) From: Stefan Monnier In-Reply-To: <86ikqt6qmf.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jan 2025 20:51:36 +0200") Message-ID: References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> Date: Sun, 05 Jan 2025 16:51:03 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.059 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Also, for clicks on mode line there will be no buffer position in the > event, and then it sounds like your patch will again fall back on > returning point? I thought that clicks on the mode line should > examine local keymaps only on the mode-line's string at the click, > don't you agree? +1 Stefan From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2025 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173627627730654 (code B ref 75219); Tue, 07 Jan 2025 18:58:02 +0000 Received: (at 75219) by debbugs.gnu.org; 7 Jan 2025 18:57:57 +0000 Received: from localhost ([127.0.0.1]:44673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVEm4-0007yK-Nm for submit@debbugs.gnu.org; Tue, 07 Jan 2025 13:57:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56070) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVEm2-0007y2-99 for 75219@debbugs.gnu.org; Tue, 07 Jan 2025 13:57:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVElw-0004KC-Nh; Tue, 07 Jan 2025 13:57:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=O1SAcr1B+PXiey0pperdUG/Crd1AwZFKvCQ/GVivB58=; b=ILG5XIRRnP+U uLOaLhsksukfO1LokdeDDaAbVEnWn7SORXRdATdT1uFFz/53KhYRQuLi7TR3mu4sj42PlCIX7tstR uidJeZq7zzHMGWPnHmKUN5sSsMfx5DxhK7YICY0FLQLyblXni1pRdWA3XQWYy+bFskf7RBxz8wn1n 4+okmebd/SVVsLzJK+hVlUrXvKyHU1NG52DA5Hs/ghPf6Dodq/x/sLcpqQw5TyJINZ5L4VfbxZDrB 9gx67VXSxLoFeXuZNcz2xO57vv5WJdVRNTuffbGSQ6r+RS3M6xWvVpgxOZZZjMNWpds82UKySapbD uKNp2oU6OvvgeyXF/ciVAA==; Date: Tue, 07 Jan 2025 20:57:30 +0200 Message-Id: <86ed1e4fl1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Monnier on Sun, 05 Jan 2025 16:51:03 -0500) References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: visuweshm@gmail.com, 75219@debbugs.gnu.org > Date: Sun, 05 Jan 2025 16:51:03 -0500 > > > Also, for clicks on mode line there will be no buffer position in the > > event, and then it sounds like your patch will again fall back on > > returning point? I thought that clicks on the mode line should > > examine local keymaps only on the mode-line's string at the click, > > don't you agree? > > +1 Wait a minute... we already have in current-active-maps code to support this, right below the call to click_position: if (CONSP (position)) { Lisp_Object string = POSN_STRING (position); /* For a mouse click, get the local text-property keymap of the place clicked on, rather than point. */ if (POSN_INBUFFER_P (position)) { Lisp_Object pos = POSN_BUFFER_POSN (position); if (FIXNUMP (pos) && XFIXNUM (pos) >= BEG && XFIXNUM (pos) <= Z) { local_map = get_local_map (XFIXNUM (pos), current_buffer, Qlocal_map); keymap = get_local_map (XFIXNUM (pos), current_buffer, Qkeymap); } } /* If on a mode line string with a local keymap, or for a click on a string, i.e. overlay string or a string displayed via the `display' property, consider `local-map' and `keymap' properties of that string. */ if (CONSP (string) && STRINGP (XCAR (string))) { Lisp_Object pos = XCDR (string); string = XCAR (string); if (FIXNUMP (pos) && XFIXNUM (pos) >= 0 && XFIXNUM (pos) < SCHARS (string)) { Lisp_Object map = Fget_text_property (pos, Qlocal_map, string); if (!NILP (map)) local_map = map; map = Fget_text_property (pos, Qkeymap, string); if (!NILP (map)) keymap = map; } } } The "STRINGP (XCAR (string))" case is ours. The problem there is that it overrides the previous values of local_map and keymap only if the corresponding properties on the string are non-nil. I think we should override them unconditionally, since the values calculated from point are irrelevant when the click was on a mode line. And indeed, with the patch below (which basically does the same with properties on a string as we already do with properties on buffer text), the bug is solved. My only hesitation is whether we should do this with _any_ string or only with mode-line and header-line strings. If the string is a display string or an overlay string, and the keymap properties of that string at the click are nil, should we fall back on the keymap properties at point, or should we ignore the buffer properties and behave as if there are no keymap properties at the click? diff --git a/src/keymap.c b/src/keymap.c index c0f49a7..4defe3a 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1745,13 +1745,8 @@ DEFUN ("current-active-maps", Fcurrent_active_maps, Scurrent_active_maps, && XFIXNUM (pos) >= 0 && XFIXNUM (pos) < SCHARS (string)) { - Lisp_Object map = Fget_text_property (pos, Qlocal_map, string); - if (!NILP (map)) - local_map = map; - - map = Fget_text_property (pos, Qkeymap, string); - if (!NILP (map)) - keymap = map; + local_map = Fget_text_property (pos, Qlocal_map, string); + keymap = Fget_text_property (pos, Qkeymap, string); } } From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2025 10:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: monnier@iro.umontreal.ca Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173659239917856 (code B ref 75219); Sat, 11 Jan 2025 10:47:01 +0000 Received: (at 75219) by debbugs.gnu.org; 11 Jan 2025 10:46:39 +0000 Received: from localhost ([127.0.0.1]:41462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWZ0o-0004dw-Mg for submit@debbugs.gnu.org; Sat, 11 Jan 2025 05:46:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWZ0l-0004di-E3 for 75219@debbugs.gnu.org; Sat, 11 Jan 2025 05:46:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWZ0f-0000SQ-F1; Sat, 11 Jan 2025 05:46:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JiHycKFM9tMGFG9DYqs0YjgDos7Bgyob9A1Bg/wfWJA=; b=jtN6Dvc5Pdn6 MB9vUcyskwPI7qzIt11jdF+Th6Gd/GhWT4r7EACi75WwYyPyH+siPwjat2tstNkN0Q3yI/EOVvmmy glCsyz6iu59WdYQMUeZ7+STgUNjUCMh18bAbxEolWBy3CM6DHKIMPEdzLB75hKNyEhScQdvvpROvs q0tH1v1rPjgtBG4W7wzxzZmzdcmY+X9aKLFcaWrTWrqWS2UHA7AVe45Ce3DsoQA5e6d2lCGyyJ2cd /rWRWCcJaVrD3Y+UwJV6Kfqp7gGUcDGClHVKI0cC2rOUGEQm/saRuzNmyLMxfRglz9VHFfSuxWEVZ glK5aea7Kd4Xr1BCY6tmqA==; Date: Sat, 11 Jan 2025 12:46:26 +0200 Message-Id: <86ikqlzkzh.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <86ed1e4fl1.fsf@gnu.org> (message from Eli Zaretskii on Tue, 07 Jan 2025 20:57:30 +0200) References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Stefan, WDYT about my latest findings below? > Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com > Date: Tue, 07 Jan 2025 20:57:30 +0200 > From: Eli Zaretskii > > > From: Stefan Monnier > > Cc: visuweshm@gmail.com, 75219@debbugs.gnu.org > > Date: Sun, 05 Jan 2025 16:51:03 -0500 > > > > > Also, for clicks on mode line there will be no buffer position in the > > > event, and then it sounds like your patch will again fall back on > > > returning point? I thought that clicks on the mode line should > > > examine local keymaps only on the mode-line's string at the click, > > > don't you agree? > > > > +1 > > Wait a minute... we already have in current-active-maps code to > support this, right below the call to click_position: > > if (CONSP (position)) > { > Lisp_Object string = POSN_STRING (position); > > /* For a mouse click, get the local text-property keymap > of the place clicked on, rather than point. */ > > if (POSN_INBUFFER_P (position)) > { > Lisp_Object pos = POSN_BUFFER_POSN (position); > if (FIXNUMP (pos) > && XFIXNUM (pos) >= BEG && XFIXNUM (pos) <= Z) > { > local_map = get_local_map (XFIXNUM (pos), > current_buffer, Qlocal_map); > > keymap = get_local_map (XFIXNUM (pos), > current_buffer, Qkeymap); > } > } > > /* If on a mode line string with a local keymap, > or for a click on a string, i.e. overlay string or a > string displayed via the `display' property, > consider `local-map' and `keymap' properties of > that string. */ > > if (CONSP (string) && STRINGP (XCAR (string))) > { > Lisp_Object pos = XCDR (string); > string = XCAR (string); > if (FIXNUMP (pos) > && XFIXNUM (pos) >= 0 > && XFIXNUM (pos) < SCHARS (string)) > { > Lisp_Object map = Fget_text_property (pos, Qlocal_map, string); > if (!NILP (map)) > local_map = map; > > map = Fget_text_property (pos, Qkeymap, string); > if (!NILP (map)) > keymap = map; > } > } > > } > > The "STRINGP (XCAR (string))" case is ours. The problem there is that > it overrides the previous values of local_map and keymap only if the > corresponding properties on the string are non-nil. I think we should > override them unconditionally, since the values calculated from point > are irrelevant when the click was on a mode line. And indeed, with > the patch below (which basically does the same with properties on a > string as we already do with properties on buffer text), the bug is > solved. > > My only hesitation is whether we should do this with _any_ string or > only with mode-line and header-line strings. If the string is a > display string or an overlay string, and the keymap properties of that > string at the click are nil, should we fall back on the keymap > properties at point, or should we ignore the buffer properties and > behave as if there are no keymap properties at the click? > > diff --git a/src/keymap.c b/src/keymap.c > index c0f49a7..4defe3a 100644 > --- a/src/keymap.c > +++ b/src/keymap.c > @@ -1745,13 +1745,8 @@ DEFUN ("current-active-maps", Fcurrent_active_maps, Scurrent_active_maps, > && XFIXNUM (pos) >= 0 > && XFIXNUM (pos) < SCHARS (string)) > { > - Lisp_Object map = Fget_text_property (pos, Qlocal_map, string); > - if (!NILP (map)) > - local_map = map; > - > - map = Fget_text_property (pos, Qkeymap, string); > - if (!NILP (map)) > - keymap = map; > + local_map = Fget_text_property (pos, Qlocal_map, string); > + keymap = Fget_text_property (pos, Qkeymap, string); > } > } > > > > > From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2025 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.17366083206411 (code B ref 75219); Sat, 11 Jan 2025 15:12:01 +0000 Received: (at 75219) by debbugs.gnu.org; 11 Jan 2025 15:12:00 +0000 Received: from localhost ([127.0.0.1]:44092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWd9c-0001fK-Ce for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:12:00 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28420) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWd9Z-0001es-CJ for 75219@debbugs.gnu.org; Sat, 11 Jan 2025 10:11:57 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8F3088057E; Sat, 11 Jan 2025 10:11:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736608308; bh=5iX0tLOJwxM59cPXY5pSqPjIikL3jA3BjWziCkvHcRo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JO2bMSLdpuZz0zhOSd2MJ3o04z4fGdDKJsNB2cdQyeuRbt+qDYSQ/eDwO84G5LCty d2mlmOvuWueEmWA1L9+09GYyW9a8mi4GzcBngQ/whBo6FhC/fMp653+iI7YeDL9oB7 vnraEG2h5NNIGRBVG3Ik1Zkwm52V6Emq+f+/krRXnnN863U98mAZC7JxN4bXoammEQ xQXIR/Iep61EDSXDmPrPnF2Jn8oYcBs4yCEVantOV1GjMIk4pfAwIU4Q22kHJzu2Lw 1yL5/Eftbq2cK0XQFUoO9ne7HYw+csDwPMtjP8UwYyHr6SGP5xAadb9i7LygmlL306 nN7REV5FCO+kA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ADEE9803BD; Sat, 11 Jan 2025 10:11:48 -0500 (EST) Received: from pastel (104-195-232-86.cpe.teksavvy.com [104.195.232.86]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7E341120635; Sat, 11 Jan 2025 10:11:48 -0500 (EST) From: Stefan Monnier In-Reply-To: <86ed1e4fl1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Jan 2025 20:57:30 +0200") Message-ID: References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> Date: Sat, 11 Jan 2025 10:11:47 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-markdown; charset=UTF-8 X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.040 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > My only hesitation is whether we should do this with _any_ string or > only with mode-line and header-line strings. If the string is a > display string or an overlay string, and the keymap properties of that > string at the click are nil, should we fall back on the keymap > properties at point, or should we ignore the buffer properties and > behave as if there are no keymap properties at the click? I think for clicks on display strings, if the string's property is nil we should lookup the property at the position of the string (which IIUC is what you meant by "at point" above). This said, in my mind, it seems related to the question of whether the `face` property of an overlay (or a `face` text-property) should affect the visual appearance of a display string. And AFAICT we don't have a consistent answer here: `after/before-string`s seem not to inherit faces from the context this way, whereas `display` strings seem to do. Stefan From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2025 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173661006913927 (code B ref 75219); Sat, 11 Jan 2025 15:42:01 +0000 Received: (at 75219) by debbugs.gnu.org; 11 Jan 2025 15:41:09 +0000 Received: from localhost ([127.0.0.1]:44531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWdbo-0003cZ-MN for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:41:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56228) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWdbj-0003bk-3Q for 75219@debbugs.gnu.org; Sat, 11 Jan 2025 10:41:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWdbc-0005rS-2y; Sat, 11 Jan 2025 10:40:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pvkIm0/WxtnmNszhv3cQ9krE5dcOYwoA3lwn7J6usJ8=; b=qMb/csoHAyY/ 4XU9Nqydm2DKC2jiHEWZ9ndiJibRtH0FD2GSxxH0Sigy3vuZMnC0+F0T9uH+vcz4dzBmT0zEeYErK GGxVZkXPQDVPp+oQFiB4IFjmdziZ15HvuLE5vQek62uEDFF1eLZLL8Xb/G+tnP7q5PFWX6cr3xUlK 5F+eeMQl87c4xtByuICyqmeB72ssPb3LcoOkTopRr8vzs65Q0kIRZVqsBNR2wOEhptXnoz2qtq646 TM/lnXsK1xQU0DwbZV8BN1B9R8eN8NwHsieM8lEAhVb52sUJXHg1O6DbW3fyVNZla5kKkOIFleb+u j8vNezJsUh8gjEZAPgxzQA==; Date: Sat, 11 Jan 2025 17:40:52 +0200 Message-Id: <86y0zhxssb.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Monnier on Sat, 11 Jan 2025 10:11:47 -0500) References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: visuweshm@gmail.com, 75219@debbugs.gnu.org > Date: Sat, 11 Jan 2025 10:11:47 -0500 > > > My only hesitation is whether we should do this with _any_ string or > > only with mode-line and header-line strings. If the string is a > > display string or an overlay string, and the keymap properties of that > > string at the click are nil, should we fall back on the keymap > > properties at point, or should we ignore the buffer properties and > > behave as if there are no keymap properties at the click? > > I think for clicks on display strings, if the string's property is nil > we should lookup the property at the position of the string (which IIUC > is what you meant by "at point" above). OK, I will therefore change the behavior only for mode-line and header-line clicks. It is also safer, in cases some Lisp out there relies on the current (mis)behavior. > This said, in my mind, it seems related to the question of whether the > `face` property of an overlay (or a `face` text-property) should affect > the visual appearance of a display string. And AFAICT we don't have > a consistent answer here: `after/before-string`s seem not to inherit faces > from the context this way, whereas `display` strings seem to do. That's true (it's documented in the ELisp reference), but faces are somewhat different because we merge faces from available sources, whereas keymap properties cannot be "merged". From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2025 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 75219@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 75219-submit@debbugs.gnu.org id=B75219.173661139218591 (code B ref 75219); Sat, 11 Jan 2025 16:04:01 +0000 Received: (at 75219) by debbugs.gnu.org; 11 Jan 2025 16:03:12 +0000 Received: from localhost ([127.0.0.1]:44562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWdx9-0004pn-UJ for submit@debbugs.gnu.org; Sat, 11 Jan 2025 11:03:12 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63059) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWdx8-0004pO-0U for 75219@debbugs.gnu.org; Sat, 11 Jan 2025 11:03:10 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C7BAD441658; Sat, 11 Jan 2025 11:03:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736611382; bh=CDEjJ2U5/1NJW6aQPexYrBvD6+MYe1T8VXtm7EQuu3g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dL6cS6hZCbkqWneDbHwxekvW8CUzA1zk3DdFYb7YTvDeLiQNvTU/TPthxraF3/GjY m05I1rMwPXBQSwhAgcKpLJWYVeU4ZQj1IsaFkVQEJ8aMBZkck1OG/R4QeQIfE9LT7q C89H8Bn3it9AQPzyYB/rZ42aGdDt4rR8TXm/ONR7GhElYc2/QEd/jzGucL5J0j6eM5 9YsvUUCPMxhFKZ17vRocYvwgGXHO4U0enPD4E0OQx5NV3p4fYVdjChJWXueHSHyqG8 YLPlPv09/9Xgo6Lu2xL7/8F2h+pGAvKuotDCIOjFFmxWDJgdqnoq6aBtXpgc7iC+LH /KilVc8CM/HEg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C8709441517; Sat, 11 Jan 2025 11:03:02 -0500 (EST) Received: from pastel (104-195-232-86.cpe.teksavvy.com [104.195.232.86]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 978D9120480; Sat, 11 Jan 2025 11:03:02 -0500 (EST) From: Stefan Monnier In-Reply-To: <86y0zhxssb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Jan 2025 17:40:52 +0200") Message-ID: References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> <86y0zhxssb.fsf@gnu.org> Date: Sat, 11 Jan 2025 11:03:01 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-markdown; charset=UTF-8 X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.010 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > OK, I will therefore change the behavior only for mode-line and > header-line clicks. It is also safer, in cases some Lisp out there > relies on the current (mis)behavior. +1 > That's true (it's documented in the ELisp reference), but faces are > somewhat different because we merge faces from available sources, > whereas keymap properties cannot be "merged". Agreed modulo "s/cannot/are not/" (we definitely *could* combine them, at the cost of some extra work). Stefan From unknown Fri Aug 15 19:28:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Visuwesh Subject: bug#75219: closed (Re: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link) Message-ID: References: <86ldvgy2cp.fsf@gnu.org> <87o70sbegu.fsf@gmail.com> X-Gnu-PR-Message: they-closed 75219 X-Gnu-PR-Package: emacs Reply-To: 75219@debbugs.gnu.org Date: Sun, 12 Jan 2025 06:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1736663222-30736-1" This is a multi-part message in MIME format... ------------=_1736663222-30736-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-foll= ows-link=20 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75219@debbugs.gnu.org. --=20 75219: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75219 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1736663222-30736-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75219-done) by debbugs.gnu.org; 12 Jan 2025 06:26:44 +0000 Received: from localhost ([127.0.0.1]:45802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWrQq-0007zH-3a for submit@debbugs.gnu.org; Sun, 12 Jan 2025 01:26:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51454) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWrQn-0007z2-4x for 75219-done@debbugs.gnu.org; Sun, 12 Jan 2025 01:26:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWrQh-0003jb-Jm; Sun, 12 Jan 2025 01:26:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ULkPr/YjERGgxoH4AxejiuoaUMVp3BVrTKpo4diAs+U=; b=XVyCXixxy2au 584xX4PYGVXIx8XyR9kR+knWCEBSxOJz7UvRuQHeQ9DQpB00N2RGHYF3RVQobj5FmLWKqVt0hJ/fE FVT8MTRxLFAc5nexNSy/ZbAAkwd5j9i++ARLB5vg5Lq3VDlXhZeO6/WWjDxUKIgkVF1C1epcbHXPw Nagu8K+adVPmoQHKBnk11CBE03qIJ/LeVoS+DId1ljRHWg9HZ1pJaElk1pm4rPCSQbt4iTwmQTiZo JOrz0FUmaGpMomiKr9CIPUikTj4SVRQi3AGntv9WR3EJUcHnwru7X94idV7+yUsQ7wv+u6tChoDWx G02Kw6fTlgXCWhegqZOjhQ==; Date: Sun, 12 Jan 2025 08:26:30 +0200 Message-Id: <86ldvgy2cp.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Sat, 11 Jan 2025 11:03:01 -0500) Subject: Re: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> <86y0zhxssb.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75219-done Cc: 75219-done@debbugs.gnu.org, visuweshm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: visuweshm@gmail.com, 75219@debbugs.gnu.org > Date: Sat, 11 Jan 2025 11:03:01 -0500 > > > OK, I will therefore change the behavior only for mode-line and > > header-line clicks. It is also safer, in cases some Lisp out there > > relies on the current (mis)behavior. > > +1 Now done on the master branch, and closing the bug. > > That's true (it's documented in the ELisp reference), but faces are > > somewhat different because we merge faces from available sources, > > whereas keymap properties cannot be "merged". > > Agreed modulo "s/cannot/are not/" (we definitely *could* combine them, > at the cost of some extra work). Right. ------------=_1736663222-30736-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Dec 2024 05:39:33 +0000 Received: from localhost ([127.0.0.1]:60815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSUyZ-00064u-Bl for submit@debbugs.gnu.org; Tue, 31 Dec 2024 00:39:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:33838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSUyV-00064e-Ki for submit@debbugs.gnu.org; Tue, 31 Dec 2024 00:39:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSUwN-00045q-1S for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 00:37:15 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSUwJ-0005jL-OC for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2024 00:37:14 -0500 Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-2164b662090so113316295ad.1 for ; Mon, 30 Dec 2024 21:37:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735623429; x=1736228229; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=uifuYyyF1eBFh/JLFnbhU0KOFoLHde437lyAFIdN0BU=; b=AFKzjeqxApJ7YxhKyAixMoSxHtklQlZRn1TYZMAu0D2oePcYR5UM/yC0gXQrRZk5eA KoGQUQOdM8qlinDixbw9/hvwqgOtmCXNcAjUprrfpz8w1lRjn5Z59ZM8g72MJF9/de8y DOJuX7+U2CUZUt0QkUGT0c/4YodEyiRqvvorGDWPY0qFosx1tTgi/9nJnMSo6KT/sBOW PmvUn/4ENltoNd8C3PpRWOhe+i/La99X5hds3IlMbvrTcaGlgpq8Y3SbX+xNA+A8kKPl B5WVsufFDMq56oE7YzGT5VxpvgPMkcrzxEjJ+exFRHMtXXDbP5z0wqVwF2L8Qxco9zl4 fIaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735623429; x=1736228229; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uifuYyyF1eBFh/JLFnbhU0KOFoLHde437lyAFIdN0BU=; b=VexCjFPWP04A6UR7idiTOKDDXN6xVJlp/Bc57mQYqwPksl07DmmemxjpYTJWe1jK2H CgLyrv8UJ6M4kqH5+O9fL/sNbCDtvrKo1Y79mt7AFDhnWHk1Keb8G5hCrPspZRvlc11E T91zf7OhVuAJ30UygHBDiN2qQVFuZPIKguWc5NKmAa8z/+74VwGo19tcsixf3OGJUMTY kuLtSPsOSA9fJ/REL17XVfNr7gZq7Hh3H8F9T5xa2SPG8HKOJ03fDs72VxxoLqCOTINl exsCQ2ldCLbZhkbihUo55xJFWbgYyYrOEO+yJfXNKRy96xuI2oTcczgsQbolYKbW1IV4 RDNw== X-Gm-Message-State: AOJu0Yz5JUtKOanJIAM4HLvx7taez1fobuC5e7VgGJF7FhZm2VirCdqf QDHbPB1TAnpSXKxMhgfmrDF45ZOZODAOSKeNd6ta6PtAG7X12Mnac0vVWtac X-Gm-Gg: ASbGncvtBBhljLAoNkJMGA6KMv+XpxvgGcGF8OAFLptfksz/d077ou+8OdVvsVPzSIN 6VzGGIKQfSKCkMW48+daTkR8M+koaqAH+fahbACi39jtEEyIz/2ZxQm6TstowFjVQjKc1Umk1ox /2wNcOYJCtW6qOAJme7vMpIRQTt5LYNnf15vbUx8h4XuPQFi4evFuVJckROQufFekIrrsJMy3+b ADv80Pzfdf+uxv0DXLHIai1KUwauLWsnMCtxYfbPvI+FfVat9aJ X-Google-Smtp-Source: AGHT+IE9tqi4A8XrNwSMXwsS50oWgOpLtwzY2w+RW1ST5s8vnLctRJ1BTafIuiPyrpP6cz56Ngm+nQ== X-Received: by 2002:a17:903:234f:b0:216:282d:c67a with SMTP id d9443c01a7336-219e6f1178emr531532605ad.39.1735623429150; Mon, 30 Dec 2024 21:37:09 -0800 (PST) Received: from localhost ([49.204.140.76]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f6285sm187307295ad.215.2024.12.30.21.37.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 21:37:08 -0800 (PST) From: Visuwesh To: bug-gnu-emacs@gnu.org Subject: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link X-Debbugs-Cc: Date: Tue, 31 Dec 2024 11:07:05 +0530 Message-ID: <87o70sbegu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::642; envelope-from=visuweshm@gmail.com; helo=mail-pl1-x642.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When the point is over a character with a keymap that has `follow-link', mode-line mouse-1 binding is translated to mode-line mouse-2 binding. To reproduce, 1. emacs -Q 2. M-: (define-key mode-line-buffer-identification-keymap [mode-line mouse-2] #'mouse-buffer-menu) RET 3. M-s M-w something RET 4. Move the point over to any link 5. Click the buffer name in the mode-line with mouse-1 6. Observe how mouse-buffer-menu is executed instead of changing the buffer Setting mouse-1-click-follows-link to nil cancels this erroneous translation and makes mode-line mouse-1 binding change the buffer as expected. In GNU Emacs 31.0.50 (build 27, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2, Xaw scroll bars) of 2024-12-07 built on astatine Repository revision: 9ddec89e422d0dd6e9069731b8f2dd2c90aa5607 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d --without-gconf --without-libsystemd --with-cairo CFLAGS=-g3' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: TeX-PDF-mode: t reveal-mode: t outline-minor-mode: t recentf-mode: t server-mode: t paredit-mode: t eros-mode: t flymake-mode: t pdf-occur-global-minor-mode: t minibuffer-depth-indicate-mode: t repeat-mode: t display-time-mode: t display-battery-mode: t delete-selection-mode: t xterm-mouse-mode: t vz/winkey-minor-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t use-hard-newlines: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t undelete-frame-mode: t minibuffer-regexp-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/viz/lib/emacs/straight/build/transient/transient hides /home/viz/lib/ports/emacs/lisp/transient /home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/ports/emacs/lisp/org/ob-awk /home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/ports/emacs/lisp/org/org-capture /home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/ports/emacs/lisp/org/ob-sql /home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/ports/emacs/lisp/org/ol-doi /home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/ports/emacs/lisp/org/org-plot /home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/ports/emacs/lisp/org/ob-dot /home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/ports/emacs/lisp/org/ol-eshell /home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/ports/emacs/lisp/org/ob-C /home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/ports/emacs/lisp/org/ob-ref /home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/ports/emacs/lisp/org/org-list /home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/ports/emacs/lisp/org/org-mouse /home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/ports/emacs/lisp/org/ob-haskell /home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/ports/emacs/lisp/org/ob-plantuml /home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/ports/emacs/lisp/org/org-keys /home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/ports/emacs/lisp/org/org-clock /home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/ports/emacs/lisp/org/ox-html /home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/ports/emacs/lisp/org/oc-biblatex /home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/ports/emacs/lisp/org/ob-table /home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/ports/emacs/lisp/org/ob /home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/ports/emacs/lisp/org/ol-w3m /home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/ports/emacs/lisp/org/ob-groovy /home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/ports/emacs/lisp/org/org-footnote /home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/ports/emacs/lisp/org/org-entities /home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/ports/emacs/lisp/org/ob-org /home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/ports/emacs/lisp/org/org-macs /home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/ports/emacs/lisp/org/ob-shell /home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/ports/emacs/lisp/org/ob-R /home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-lisp /home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/ports/emacs/lisp/org/ob-js /home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/ports/emacs/lisp/org/ob-maxima /home/viz/lib/emacs/straight/build/org/org-element-ast hides /home/viz/lib/ports/emacs/lisp/org/org-element-ast /home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/ports/emacs/lisp/org/ox-ascii /home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/ports/emacs/lisp/org/org-persist /home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/ports/emacs/lisp/org/ox-md /home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/ports/emacs/lisp/org/org-duration /home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/ports/emacs/lisp/org/ob-lilypond /home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/ports/emacs/lisp/org/ob-ruby /home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/ports/emacs/lisp/org/ob-core /home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/ports/emacs/lisp/org/ol-mhe /home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/ports/emacs/lisp/org/ob-ditaa /home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/ports/emacs/lisp/org/ol-irc /home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/ports/emacs/lisp/org/ob-fortran /home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/ports/emacs/lisp/org/org-feed /home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/ports/emacs/lisp/org/ob-java /home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/ports/emacs/lisp/org/ox /home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/ports/emacs/lisp/org/oc-csl /home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/ports/emacs/lisp/org/ob-exp /home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/ports/emacs/lisp/org/org-loaddefs /home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/ports/emacs/lisp/org/ob-scheme /home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/ports/emacs/lisp/org/ob-tangle /home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib/ports/emacs/lisp/org/ox-koma-letter /home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/ports/emacs/lisp/org/ob-gnuplot /home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/ports/emacs/lisp/org/org-crypt /home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/ports/emacs/lisp/org/org-datetree /home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/ports/emacs/lisp/org/org-attach /home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/ports/emacs/lisp/org/ob-julia /home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/ports/emacs/lisp/org/ob-sqlite /home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/ports/emacs/lisp/org/org-cycle /home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/ports/emacs/lisp/org/org-faces /home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/ports/emacs/lisp/org/org-mobile /home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/ports/emacs/lisp/org/org-ctags /home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/ports/emacs/lisp/org/ob-latex /home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/ports/emacs/lisp/org/ob-matlab /home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/ports/emacs/lisp/org/ob-sed /home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib/ports/emacs/lisp/org/org-attach-git /home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/ports/emacs/lisp/org/ob-python /home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/ports/emacs/lisp/org/ox-icalendar /home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/ports/emacs/lisp/org/org-tempo /home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/ports/emacs/lisp/org/ob-screen /home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/ports/emacs/lisp/org/org-num /home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/ports/emacs/lisp/org/ob-forth /home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/ports/emacs/lisp/org/ox-odt /home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/ports/emacs/lisp/org/ol-bbdb /home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/ports/emacs/lisp/org/org-table /home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/ports/emacs/lisp/org/ox-man /home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/ports/emacs/lisp/org/ox-org /home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/ports/emacs/lisp/org/ob-comint /home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/ports/emacs/lisp/org/ob-clojure /home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/ports/emacs/lisp/org/org-id /home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/ports/emacs/lisp/org/oc-natbib /home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/ports/emacs/lisp/org/ox-texinfo /home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/ports/emacs/lisp/org/org-agenda /home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/ports/emacs/lisp/org/org-src /home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-emacs-lisp /home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/ports/emacs/lisp/org/ob-css /home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/ports/emacs/lisp/org/ox-latex /home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/ports/emacs/lisp/org/oc /home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/ports/emacs/lisp/org/ol /home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/ports/emacs/lisp/org/org-element /home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/ports/emacs/lisp/org/org /home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/ports/emacs/lisp/org/org-goto /home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/ports/emacs/lisp/org/ob-eval /home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/ports/emacs/lisp/org/org-habit /home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/ports/emacs/lisp/org/org-pcomplete /home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/ports/emacs/lisp/org/ol-eww /home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/ports/emacs/lisp/org/ob-processing /home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/ports/emacs/lisp/org/org-timer /home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib/ports/emacs/lisp/org/org-inlinetask /home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/ports/emacs/lisp/org/ol-bibtex /home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/ports/emacs/lisp/org/org-fold-core /home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/ports/emacs/lisp/org/oc-basic /home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/ports/emacs/lisp/org/ox-publish /home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/ports/emacs/lisp/org/oc-bibtex /home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/ports/emacs/lisp/org/org-macro /home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/ports/emacs/lisp/org/ol-docview /home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/ports/emacs/lisp/org/org-fold /home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/ports/emacs/lisp/org/org-lint /home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/ports/emacs/lisp/org/org-version /home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/ports/emacs/lisp/org/ob-ocaml /home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/ports/emacs/lisp/org/ob-sass /home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/ports/emacs/lisp/org/ob-perl /home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/ports/emacs/lisp/org/ol-rmail /home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/ports/emacs/lisp/org/org-protocol /home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/ports/emacs/lisp/org/ol-info /home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/ports/emacs/lisp/org/ob-eshell /home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/ports/emacs/lisp/org/org-refile /home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/ports/emacs/lisp/org/ob-octave /home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/ports/emacs/lisp/org/ob-lua /home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/ports/emacs/lisp/org/ol-gnus /home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/ports/emacs/lisp/org/ob-makefile /home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/ports/emacs/lisp/org/org-archive /home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/ports/emacs/lisp/org/ob-lob /home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/ports/emacs/lisp/org/ol-man /home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/ports/emacs/lisp/org/org-compat /home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/ports/emacs/lisp/org/org-colview /home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/ports/emacs/lisp/org/org-indent /home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/ports/emacs/lisp/org/ox-beamer /home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/ports/emacs/lisp/org/ob-calc Features: (shadow gnus-fun find-dired tramp-cmds ement-room-list taxy-magit-section taxy svg-lib persist ement-tabulated-room-list ement ement-notifications ement-notify notifications ement-room ement-lib ement-api ement-structs ement-macros magit-section dns wdired expand-region text-mode-expansions cc-mode-expansions the-org-mode-expansions python-el-fgallina-expansions nxml-mode-expansions latex-mode-expansions js-mode-expansions html-mode-expansions css-mode-expansions er-basic-expansions expand-region-core expand-region-custom ob-R ob-awk ob-clojure ob-css ob-dot ob-eshell eshell esh-cmd esh-ext esh-proc esh-opt esh-io esh-arg esh-module esh-module-loaddefs esh-util ob-forth ob-groovy ob-haskell ob-java ob-js ob-julia ob-latex ob-lilypond ob-lisp ob-lua ob-makefile ob-maxima ob-ocaml ob-octave ob-org ob-perl ob-processing ob-ruby ob-sass ob-scheme ob-screen ob-sed ob-sqlite ob-sql ob-ditaa ob-plantuml org-clock org-colview org-crypt org-ctags org-mouse org-plot org-protocol ox-md ox-texinfo lacarte icomplete pcmpl-git emacsbug emacs-news-mode edebug tabify org-datetree org-capture doct gnus-search eieio-opt speedbar ezimage dframe view whitespace vc-dir tramp-cache time-stamp tramp-sh tramp trampver tramp-integration tramp-message tramp-compat tramp-loaddefs tex-mode tex-font shortdoc comp-common grep tex-buf man url-http url-gw msb olivetti pdf-sync pdf-outline pdf-links pdf-history pdf-roll tex-info texinfo texinfo-loaddefs dabbrev url-cache url-auth misc gnus-dired latex latex-flymake tex-ispell tex-style tex rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap external-completion locate shr-color qp flow-fill mm-archive sort gnus-cite textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml network-stream nsm nndraft nnmh nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache mhtml-mode css-mode js c-ts-common sgml-mode dired-aux typo pcmpl-unix shell-command+ latexenc face-remap org-pdftools pdf-annot facemenu org-noter oc-bibtex image-file image-converter oc-basic org-ql-find org-ql-completing-read org-ql-search org-ql-view transient ov crm org-super-agenda ht f s org-ql peg ts dash org-habit org-duration embark-org ob-gnuplot ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-icalendar org-agenda ox-html ox-mathml org-latex-preview ox-latex table ox-ascii ox-publish ox org-element org-persist avl-tree ob-fortran ob-python python ob-calc calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell shell ob-racket cdlatex texmathp org-attach ol-eww eww xdg vtable mule-util url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-tempo org-id org-refile org-element-ast inline ol-man org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs smerge-mode avy mail-extr flyspell ispell ecomplete pulse color bug-reference etags fileloop generator imenu-xref xref cl-print help-fns radix-tree executable misearch multi-isearch reveal noutline outline cursor-sensor recentf tree-widget vc-backup log-view log-edit message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc diff vc-git diff-mode track-changes vc-dispatcher server paredit edmacro kmacro eros checkdoc lisp-mnt flymake project wordel-autoloads mines-autoloads sokoban-autoloads ement-autoloads svg-lib-autoloads taxy-magit-section-autoloads magit-section-autoloads taxy-autoloads persist-autoloads nov-autoloads esxml-autoloads kv-autoloads transmission-autoloads csv-mode-autoloads lua-mode-autoloads gnuplot-autoloads go-mode-autoloads racket-mode-autoloads eros-autoloads comint-mime-autoloads writegood-mode-autoloads embark ffap thingatpt compat embark-autoloads xeft-autoloads paredit-autoloads puni-autoloads expand-region-autoloads filladapt-autoloads compose org-ql-autoloads transient-autoloads ov-autoloads org-super-agenda-autoloads ts-autoloads ht-autoloads f-autoloads s-autoloads dash-autoloads org-pdftools-autoloads org-noter-autoloads change-env-autoloads math-delimiters-autoloads doct-autoloads emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads tempo bibtex iso8601 time-date auctex-autoloads tex-site pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core json url-vars compile comint ansi-osc ansi-color ring cus-edit wid-edit pdf-view password-cache jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads typo-autoloads mb-depth repeat visual-fill-autoloads olivetti-autoloads time format-spec battery filenotify dom tamil99 quail disp-table lacarte-autoloads shell-command-plus-autoloads delsel xt-mouse cus-load avy-autoloads icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs plz warnings icons easy-mmode dired-du-autoloads finder-inf filecache imenu-xref-autoloads ert map byte-opt ewoc debug backtrace find-func qrencode-autoloads derived tochemfig-autoloads chemtable-autoloads molar-mass-autoloads files-x vc-backup-autoloads skeleton saveplace-pdf-view saveplace bookmark text-property-search pp saveplace-pdf-view-autoloads dbus xml rx plz-autoloads inspector-autoloads xr-autoloads info straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile pcase vz-nh-theme vz-options-theme rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 3216893 684419) (symbols 48 94087 10) (strings 32 528033 66919) (string-bytes 1 26653336) (vectors 16 203501) (vector-slots 8 2927604 306719) (floats 8 10695 19070) (intervals 56 291148 3209) (buffers 984 166)) ------------=_1736663222-30736-1-- From unknown Fri Aug 15 19:28:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75219: 31.0.50; mouse-2 mode-line binding overridden by mouse-1-click-follows-link Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jan 2025 10:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Stefan Monnier , 75219-done@debbugs.gnu.org Received: via spool by 75219-done@debbugs.gnu.org id=D75219.173676499328292 (code D ref 75219); Mon, 13 Jan 2025 10:44:02 +0000 Received: (at 75219-done) by debbugs.gnu.org; 13 Jan 2025 10:43:13 +0000 Received: from localhost ([127.0.0.1]:50454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXHua-0007MG-Ng for submit@debbugs.gnu.org; Mon, 13 Jan 2025 05:43:12 -0500 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:56340) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tXHuY-0007M0-9e for 75219-done@debbugs.gnu.org; Mon, 13 Jan 2025 05:43:10 -0500 Received: by mail-pj1-x1042.google.com with SMTP id 98e67ed59e1d1-2ef89dbd8eeso5183831a91.0 for <75219-done@debbugs.gnu.org>; Mon, 13 Jan 2025 02:43:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736764984; x=1737369784; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TS2YnHgpvGDh4JDRTRhZEy8QuNcL+TBKgsGbJOdHZ/I=; b=fg29pUSeGlSo6YT3CuM+o3ra3wkEhzYNVG8qbBGsKdd2+2Vvx6CNz64o03J7JHKymX PSOJEo7c7FRVpSS8lISe81YOq0V81pUemUa4CHWSuEkneQHUg/qt0C8GasfuEgDEPyVr qd1clgZ/gy4SwMqQLXz9E6PCOD8Cerfi1k3L/sJcYeoh2CZNpZB4IEtsYQF3H9x76oNe 0IwvE7ssHFJt3rCDWyj5xYjmg9eSGX9683vhhT4hlxg8ZeOOuK0EiQDXb0pB2OQA6v5S qeXbgj5O1te3AUCC2kTISAK/YoTYvBGYJZHLWAJhrSwuyFLq9kpoFT2lvw14bhTq3enE yxvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736764984; x=1737369784; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TS2YnHgpvGDh4JDRTRhZEy8QuNcL+TBKgsGbJOdHZ/I=; b=GbuNM05EZbYxtM2i9qL2fqb3hIPyCL3fIv4E5d5iBVbjmS9GVnoDadXCVWKGre2dSf EtETjxySdULPn3XBATKYHUGnNd0yNaFwYl2HCXV4Uf6G0PJ5+hVhGc4uCIjO8wB0Tdii PmWvJKLVXwOi/WLWiwUecnFcW/+KzNEvLYn7MuB94YDzxyN7iWhBp7+p3KmJG5/P/7Ql 4e/qSJu82drwTrbzAdLmMVYPU302vlSuxWx4YDPHzz9O9zssd6BiIhZ5/TNsAHgB652V mzDBUeZfj9X/sp7EskvxO58G8RlyeE5NpTlElKvHBdt1LasaIPAcQfDyFgcGFIZhNsRO S45A== X-Forwarded-Encrypted: i=1; AJvYcCWPSoTm2KII4ezRE6xgMTvI9ba61I1/6cKwZyxS0LDI40jKC8zJAfsAiN6SU+ccM3IrjUfHw6G+p4Ul@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw1WSzIcCaaSewj6cr9ACp0VM315zXuw/S6uKiwMNnMBOLzalZl URGaBmm4UOrz8Y4EyALq21j17RMc5b9aq5+zMLRBXlQG+ML70yAt X-Gm-Gg: ASbGncu/o+ZA8sSdiSs4+hQ4GHi3Ix/VlPwuWzp9z/IaNMuP5m1l9EBMYwiNHflSs8L ZlABcb/x3G07IdCr36n3rnQEjEvVoWhMdtf9ak8n7Lhg+fafAls63INn4eLxVC//FbBrLoJ13gW s2TeYlbKkYxU6veEZ6IGqmft+iAO9p4YXQD+anWFc2ttHooFMcLiVDHXZ3g24NtcLV8Bsml5UcD ALCdXU85QhjZJYfkZQjnbDf1rxi2pGgoGaKtGVd73dHfT78E2igIA== X-Google-Smtp-Source: AGHT+IGa9l1R2zhannTlbMeYghOOSO18AkjCAKF9nArDit1UNRouo0JRLDegSFeAF2mBawLoTp7d+Q== X-Received: by 2002:a17:90a:c2ce:b0:2ee:741c:e9f4 with SMTP id 98e67ed59e1d1-2f548ebba5bmr30150149a91.11.1736764984079; Mon, 13 Jan 2025 02:43:04 -0800 (PST) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f53e1da400sm2336943a91.0.2025.01.13.02.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 02:43:03 -0800 (PST) From: Visuwesh In-Reply-To: <86ldvgy2cp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jan 2025 08:26:30 +0200") References: <87o70sbegu.fsf@gmail.com> <86zfk570iu.fsf@gnu.org> <86ikqt6qmf.fsf@gnu.org> <86ed1e4fl1.fsf@gnu.org> <86y0zhxssb.fsf@gnu.org> <86ldvgy2cp.fsf@gnu.org> Date: Mon, 13 Jan 2025 16:12:59 +0530 Message-ID: <87sepnouz0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) W+CunuCuvuCur+Cuv+CuseCvgSDgrpzgrqngrrXgrrDgrr8gMTIsIDIwMjVdIEVsaSBaYXJldHNr aWkgd3JvdGU6DQoNCj4gTm93IGRvbmUgb24gdGhlIG1hc3RlciBicmFuY2gsIGFuZCBjbG9zaW5n IHRoZSBidWcuDQoNClRoYW5rIHlvdSwgSSBjYW4gY29uZmlybSB0aGUgZml4IHdvcmtzIG9uIG15 IGVuZCB0b28uDQo=