From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 14:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30955@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.15220760811634 (code B ref -1); Mon, 26 Mar 2018 14:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2018 14:54:41 +0000 Received: from localhost ([127.0.0.1]:54487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0TW9-0000QE-JZ for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0TW4-0000Py-PZ for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TVu-00014d-QT for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0TVu-00014Q-ND for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TVn-0002cA-1J for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TVi-0000wn-9v for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TVi-0000we-5t for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:10 -0400 Received: from [176.228.60.248] (port=2853 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f0TVh-000142-IK for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:10 -0400 Date: Mon, 26 Mar 2018 17:54:19 +0300 Message-Id: <83po3qga5g.fsf@gnu.org> From: Eli Zaretskii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.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: -5.0 (-----) To reproduce: emacs -Q C-u C-h i /path/to/info/elisp.info RET 2 3 4 Click mouse-1 on the "Up: Programming Types" link on the header-line This results in an error: is undefined If you now type "C-h c" followed by the same mouse-1 click, you will see (translated from ) at that spot runs the command mouse-drag-header-line as expected, but before that, momentarily, the echo area will flash this: header-line header-line mouse-2- Reverting the following commit fixes the problem: commit 3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9 Author: Stefan Monnier AuthorDate: Tue Jan 30 12:41:29 2018 -0500 Commit: Stefan Monnier CommitDate: Tue Jan 30 12:41:29 2018 -0500 * lisp/mouse.el: Rework the mouse-1-click remapping Avoid peeking ahead at the next event because this had undesirable effects, such as making 'this-single-command-raw-keys' return bogus information. (mouse--last-down): New variable. (mouse--down-1-maybe-follows-link): Don't do the remapping here. Instead, just keep track of the time when the down happened. (mouse--down-1-maybe-follows-link): Do the remapping here. (key-translation-map): Add bindings for (double-)mouse-1. In GNU Emacs 27.0.50 (build 169, i686-pc-mingw32) of 2018-03-25 built on HOME-C4E4A596F7 Repository revision: 1be6a21fd8b5ade67f7f69f964331aa570623683 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. is undefined Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules --enable-check-lisp-object-type 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Info Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils info easymenu time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 132974 9857) (symbols 56 21395 1) (miscs 48 58 152) (strings 16 36869 2443) (string-bytes 1 867215) (vectors 16 15422) (vector-slots 8 580149 18798) (floats 8 59 58) (intervals 40 4939 217) (buffers 880 13)) From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Mar 2018 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30955@debbugs.gnu.org Cc: Colin Baxter , Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152217636628832 (code B ref 30955); Tue, 27 Mar 2018 18:47:01 +0000 Received: (at 30955) by debbugs.gnu.org; 27 Mar 2018 18:46:06 +0000 Received: from localhost ([127.0.0.1]:56231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0tbi-0007Ux-0f for submit@debbugs.gnu.org; Tue, 27 Mar 2018 14:46:06 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0tbf-0007Ud-5N for 30955@debbugs.gnu.org; Tue, 27 Mar 2018 14:46:05 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2RIk1gY029905; Tue, 27 Mar 2018 14:46:01 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 14CDF663C5; Tue, 27 Mar 2018 14:46:01 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83po3qga5g.fsf@gnu.org> Date: Tue, 27 Mar 2018 14:46:01 -0400 In-Reply-To: <83po3qga5g.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Mar 2018 17:54:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6251=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6251> : inlines <6522> : streams <1782435> : uri <2615857> 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: -1.3 (-) > To reproduce: > > emacs -Q > C-u C-h i /path/to/info/elisp.info RET > 2 > 3 > 4 > Click mouse-1 on the "Up: Programming Types" link on the header-line Hmm... I reduced it to src/emacs -Q --eval '(info "(elisp)Numbers")' Click mouse-1 on the "Up" link on the header-line and I fixed the "obvious" problem (see patch below), but now that just gives me: is undefined instead of is undefined So now the event-rewrite gives the expected result (i.e. " "), but for some reason it decides it's unbound even tho it clearly is. IOW it seems to be looking in the wrong keymap(s). Stefan "not looking forward to debug sessions in read_key_sequence" diff --git a/lisp/mouse.el b/lisp/mouse.el index 6a98ee7353..fe8b76e953 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -135,7 +137,12 @@ mouse--click-1-maybe-follows-link (unless (get newup 'event-kind) (put newup 'event-kind (get (car last-input-event) 'event-kind))) - (vector (cons newup (cdr last-input-event))))))))) + ;; Modify the event in-place, otherwise we can get a prefix + ;; added again, so a click on the header-line turns + ;; into a [header-line header-line mouse-2] :-(. + ;; See fake_prefixed_keys in src/keyboard.c's. + (setf (car last-input-event) newup) + (vector last-input-event))))))) (define-key key-translation-map [down-mouse-1] #'mouse--down-1-maybe-follows-link) From unknown Wed Sep 10 01:08:36 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: Eli Zaretskii Subject: bug#30955: closed (Re: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken) Message-ID: References: <83po3qga5g.fsf@gnu.org> X-Gnu-PR-Message: they-closed 30955 X-Gnu-PR-Package: emacs Reply-To: 30955@debbugs.gnu.org Date: Tue, 27 Mar 2018 19:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1522178882-32601-1" This is a multi-part message in MIME format... ------------=_1522178882-32601-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30955: 27.0.50; Mouse clicks on header-line in Info are broken 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 30955@debbugs.gnu.org. --=20 30955: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30955 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1522178882-32601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30955-done) by debbugs.gnu.org; 27 Mar 2018 19:27:16 +0000 Received: from localhost ([127.0.0.1]:56259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0uFX-0008Ss-LL for submit@debbugs.gnu.org; Tue, 27 Mar 2018 15:27:15 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0uFV-0008Si-PQ for 30955-done@debbugs.gnu.org; Tue, 27 Mar 2018 15:27:14 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2RJRBUG013812; Tue, 27 Mar 2018 15:27:11 -0400 Received: by ceviche.home (Postfix, from userid 20848) id CEFA6663C5; Tue, 27 Mar 2018 15:27:10 -0400 (EDT) From: Stefan Monnier To: 30955-done@debbugs.gnu.org Subject: Re: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Message-ID: References: <83po3qga5g.fsf@gnu.org> Date: Tue, 27 Mar 2018 15:27:10 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 27 Mar 2018 14:46:01 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6251=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6251> : inlines <6522> : streams <1782437> : uri <2615875> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 30955-done Cc: Colin Baxter , Eli Zaretskii 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.3 (-) > Stefan "not looking forward to debug sessions in read_key_sequence" Ha, I found the sucker! Installed, Stefan --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8701,10 +8701,19 @@ follow_key (Lisp_Object keymap, Lisp_Object key) } static Lisp_Object -active_maps (Lisp_Object first_event) +active_maps (Lisp_Object first_event, Lisp_Object second_event) { Lisp_Object position - = CONSP (first_event) ? CAR_SAFE (XCDR (first_event)) : Qnil; + = EVENT_HAS_PARAMETERS (first_event) ? EVENT_START (first_event) : Qnil; + /* The position of a click can be in the second event if the first event + is a pseudo-event like `header-line` or `mode-line`. */ + if (SYMBOLP (first_event) + && EVENT_HAS_PARAMETERS (second_event) + && EQ (first_event, POSN_POSN (EVENT_START (second_event)))) + { + eassert (NILP (position)); + position = EVENT_START (second_event); + } return Fcons (Qkeymap, Fcurrent_active_maps (Qt, position)); } @@ -9016,13 +9025,14 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, starting_buffer = current_buffer; first_unbound = bufsize + 1; Lisp_Object first_event = mock_input > 0 ? keybuf[0] : Qnil; + Lisp_Object second_event = mock_input > 1 ? keybuf[1] : Qnil; /* Build our list of keymaps. If we recognize a function key and replace its escape sequence in keybuf with its symbol, or if the sequence starts with a mouse click and we need to switch buffers, we jump back here to rebuild the initial keymaps from the current buffer. */ - current_binding = active_maps (first_event); + current_binding = active_maps (first_event, second_event); /* Start from the beginning in keybuf. */ t = 0; @@ -9282,7 +9292,7 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, && (XBUFFER (XWINDOW (selected_window)->contents) != current_buffer)) Fset_buffer (XWINDOW (selected_window)->contents); - current_binding = active_maps (first_event); + current_binding = active_maps (first_event, Qnil); } GROW_RAW_KEYBUF; ------------=_1522178882-32601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Mar 2018 14:54:41 +0000 Received: from localhost ([127.0.0.1]:54487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0TW9-0000QE-JZ for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0TW4-0000Py-PZ for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TVu-00014d-QT for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0TVu-00014Q-ND for submit@debbugs.gnu.org; Mon, 26 Mar 2018 10:54:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TVn-0002cA-1J for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TVi-0000wn-9v for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TVi-0000we-5t for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:10 -0400 Received: from [176.228.60.248] (port=2853 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f0TVh-000142-IK for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:54:10 -0400 Date: Mon, 26 Mar 2018 17:54:19 +0300 Message-Id: <83po3qga5g.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Mouse clicks on header-line in Info are broken X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) To reproduce: emacs -Q C-u C-h i /path/to/info/elisp.info RET 2 3 4 Click mouse-1 on the "Up: Programming Types" link on the header-line This results in an error: is undefined If you now type "C-h c" followed by the same mouse-1 click, you will see (translated from ) at that spot runs the command mouse-drag-header-line as expected, but before that, momentarily, the echo area will flash this: header-line header-line mouse-2- Reverting the following commit fixes the problem: commit 3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9 Author: Stefan Monnier AuthorDate: Tue Jan 30 12:41:29 2018 -0500 Commit: Stefan Monnier CommitDate: Tue Jan 30 12:41:29 2018 -0500 * lisp/mouse.el: Rework the mouse-1-click remapping Avoid peeking ahead at the next event because this had undesirable effects, such as making 'this-single-command-raw-keys' return bogus information. (mouse--last-down): New variable. (mouse--down-1-maybe-follows-link): Don't do the remapping here. Instead, just keep track of the time when the down happened. (mouse--down-1-maybe-follows-link): Do the remapping here. (key-translation-map): Add bindings for (double-)mouse-1. In GNU Emacs 27.0.50 (build 169, i686-pc-mingw32) of 2018-03-25 built on HOME-C4E4A596F7 Repository revision: 1be6a21fd8b5ade67f7f69f964331aa570623683 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. is undefined Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules --enable-check-lisp-object-type 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Info Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils info easymenu time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 132974 9857) (symbols 56 21395 1) (miscs 48 58 152) (strings 16 36869 2443) (string-bytes 1 867215) (vectors 16 15422) (vector-slots 8 580149 18798) (floats 8 59 58) (intervals 40 4939 217) (buffers 880 13)) ------------=_1522178882-32601-1-- From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Mar 2018 06:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30955@debbugs.gnu.org Cc: , eliz@gnu.org, monnier@IRO.UMontreal.CA Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152221728132458 (code B ref 30955); Wed, 28 Mar 2018 06:08:01 +0000 Received: (at 30955) by debbugs.gnu.org; 28 Mar 2018 06:08:01 +0000 Received: from localhost ([127.0.0.1]:56500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f14Fc-0008RS-La for submit@debbugs.gnu.org; Wed, 28 Mar 2018 02:08:00 -0400 Received: from forward105o.mail.yandex.net ([37.140.190.183]:39988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f14FZ-0008RC-1i for 30955@debbugs.gnu.org; Wed, 28 Mar 2018 02:07:58 -0400 Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 699B444469DD; Wed, 28 Mar 2018 09:07:50 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id nHIUs0ZJO3-7no8XjmG; Wed, 28 Mar 2018 09:07:50 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522217270; bh=WbZBpoLHqM68jRdf09gJ3cra+FRagxlsz0mkv/vKZkE=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=sXHuSqeE+h1dQOnlHi/4l7cE8F8JSd9z2ocYi5LgQE3IpJdrLmzDOIayT45vVQeDq 9nokLnoK0CfCwtV4QP3VuxjUGY0cGhvt6yXElDuVDObRncEsdFiFBXFY5sTOp/M6mK fgpPQfZ7ss/NcUrfoA12OVERIT4VnZNdElSgrhds= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dEUVy35Q5Y-7m44iqNO; Wed, 28 Mar 2018 09:07:48 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522217268; bh=WbZBpoLHqM68jRdf09gJ3cra+FRagxlsz0mkv/vKZkE=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=szipFV2fU7WiRsUZoSa5k73GGxquVrO7R64g+GbWvUeH2KUbrtDUFZWO0q6i+H+4b 0egA1MPBwKIMPJsduyedTMxIaAXsjE+g+UYPMTezNbnL6LejfLN89jDKGcicnqChIw 3TXIrnwFVMq3+sF0SrSO0y5Ta0W9FHZYojdAUu/Q= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.com From: Colin Baxter References: <83po3qga5g.fsf@gnu.org> X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H Mail-Copies-To: baxloc@gmx.com Date: Wed, 28 Mar 2018 07:07:47 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 27 Mar 2018 15:27:10 -0400") Message-ID: <87po3opwb0.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA nklEQVQ4je2UsQ7CMAxEH8gVNOXP+F7m/hQDadyYBbbLUllM3HiSL0/2Kad15XxG6Ml0V/5RtQfc hN87VgpmaigyCYDLoiHcsXlmmtTQngxBgSLs1pCX+LWsNUJufst+atOZ7pj7YGbkH5brTHcsYrCJ 7GISOjMCK2VQzJ4NscAi7H8xv/oUU0O0bIimM/cdq3XwbVeuqQyvCqp8vfMGDDxBfU8Ud+cAAAAA SUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -0.7 (/) >>>>> Stefan Monnier writes: >> Stefan "not looking forward to debug sessions in >> read_key_sequence" > Ha, I found the sucker! Installed, > Stefan > --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8701,10 +8701,19 @@ > follow_key (Lisp_Object keymap, Lisp_Object key) } > static Lisp_Object -active_maps (Lisp_Object first_event) > +active_maps (Lisp_Object first_event, Lisp_Object second_event) { > Lisp_Object position - = CONSP (first_event) ? CAR_SAFE (XCDR > (first_event)) : Qnil; + = EVENT_HAS_PARAMETERS (first_event) ? > EVENT_START (first_event) : Qnil; + /* The position of a click can > be in the second event if the first event + is a pseudo-event like > `header-line` or `mode-line`. */ + if (SYMBOLP (first_event) + && > EVENT_HAS_PARAMETERS (second_event) + && EQ (first_event, > POSN_POSN (EVENT_START (second_event)))) + { + eassert (NILP > (position)); + position = EVENT_START (second_event); + } return > Fcons (Qkeymap, Fcurrent_active_maps (Qt, position)); } > @@ -9016,13 +9025,14 @@ read_key_sequence (Lisp_Object *keybuf, > int bufsize, Lisp_Object prompt, starting_buffer = current_buffer; > first_unbound = bufsize + 1; Lisp_Object first_event = mock_input > > 0 ? keybuf[0] : Qnil; + Lisp_Object second_event = mock_input > > 1 ? keybuf[1] : Qnil; > /* Build our list of keymaps. If we recognize a function key > and replace its escape sequence in keybuf with its symbol, or if > the sequence starts with a mouse click and we need to switch > buffers, we jump back here to rebuild the initial keymaps from the > current buffer. */ - current_binding = active_maps (first_event); > + current_binding = active_maps (first_event, second_event); > /* Start from the beginning in keybuf. */ t = 0; @@ -9282,7 > +9292,7 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, > Lisp_Object prompt, && (XBUFFER (XWINDOW > (selected_window)->contents) != current_buffer)) Fset_buffer > (XWINDOW (selected_window)->contents); - current_binding = > active_maps (first_event); + current_binding = active_maps > (first_event, Qnil); } > GROW_RAW_KEYBUF; Yes, that's fixed the issue for me - mouse now works normally. Thank you. Best wishes, Colin. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152232127518126 (code B ref 30955); Thu, 29 Mar 2018 11:02:02 +0000 Received: (at 30955) by debbugs.gnu.org; 29 Mar 2018 11:01:15 +0000 Received: from localhost ([127.0.0.1]:58011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1VIx-0004iH-FF for submit@debbugs.gnu.org; Thu, 29 Mar 2018 07:01:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1VIv-0004i4-Px for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 07:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1VIk-0007Lu-WC for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 07:01:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1VIZ-0007DM-0w; Thu, 29 Mar 2018 07:00:51 -0400 Received: from [176.228.60.248] (port=2098 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f1VIX-0002bZ-RV; Thu, 29 Mar 2018 07:00:50 -0400 Date: Thu, 29 Mar 2018 14:00:34 +0300 Message-Id: <838tabdu3x.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Tue, 27 Mar 2018 15:27:10 -0400) References: <83po3qga5g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > From: Stefan Monnier > Cc: Eli Zaretskii , Colin Baxter > Date: Tue, 27 Mar 2018 15:27:10 -0400 > > > Stefan "not looking forward to debug sessions in read_key_sequence" > > Ha, I found the sucker! > Installed, Thanks. The original bug is fixed, but I still don't understand something related. If I do "C-h c" and click mouse-1 on the Up link on the header-line, I see this in the echo area: (translated from ) at that spot runs the command mouse-drag-header-line (translated from ) at that spot runs the command Info-mouse-follow-link Why does the second line talk about mouse-2? I didn't click that button. I'd expect to see only mouse-1 mentioned in both lines. What am I missing? From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152232540732048 (code B ref 30955); Thu, 29 Mar 2018 12:11:01 +0000 Received: (at 30955) by debbugs.gnu.org; 29 Mar 2018 12:10:07 +0000 Received: from localhost ([127.0.0.1]:58075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1WNa-0008Ko-Op for submit@debbugs.gnu.org; Thu, 29 Mar 2018 08:10:07 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:49100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1WNY-0008Kg-Qz for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 08:10:05 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2TCA33D018618; Thu, 29 Mar 2018 08:10:03 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0940760559; Thu, 29 Mar 2018 08:10:03 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> Date: Thu, 29 Mar 2018 08:10:03 -0400 In-Reply-To: <838tabdu3x.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Mar 2018 14:00:34 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6253=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6253> : inlines <6528> : streams <1782599> : uri <2616806> 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: -1.3 (-) >> > Stefan "not looking forward to debug sessions in read_key_sequence" >> Ha, I found the sucker! >> Installed, > Thanks. The original bug is fixed, but I still don't understand > something related. If I do "C-h c" and click mouse-1 on the Up link > on the header-line, I see this in the echo area: > > (translated from ) at that spot > runs the command mouse-drag-header-line > (translated from ) at that spot runs the > command Info-mouse-follow-link > > Why does the second line talk about mouse-2? I didn't click that > button. I'd expect to see only mouse-1 mentioned in both lines. To figure out what that click would run (Info-mouse-follow-link in this case), we have to perform the same translation as if you actually performed the action. There's indeed a bug, here, which is that it says (translated from ) instead of (translated from ) I assume it's because the fix I installed modifies the event in-place, so the recording of "untranslated events" gets changed by side-effect. Maybe we should record *copies* of events in there, to avoid this? Stefan From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 12:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15223263291083 (code B ref 30955); Thu, 29 Mar 2018 12:26:01 +0000 Received: (at 30955) by debbugs.gnu.org; 29 Mar 2018 12:25:29 +0000 Received: from localhost ([127.0.0.1]:58097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1WcS-0000HO-Nx for submit@debbugs.gnu.org; Thu, 29 Mar 2018 08:25:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1WcQ-0000HB-M6 for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 08:25:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1WcK-0007TJ-RK for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 08:25:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1WcE-0007Ml-KN; Thu, 29 Mar 2018 08:25:14 -0400 Received: from [176.228.60.248] (port=2400 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f1WcE-0002FI-7k; Thu, 29 Mar 2018 08:25:14 -0400 Date: Thu, 29 Mar 2018 15:24:59 +0300 Message-Id: <83y3ibcbms.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Thu, 29 Mar 2018 08:10:03 -0400) References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > From: Stefan Monnier > Cc: 30955@debbugs.gnu.org, m43cap@yandex.com > Date: Thu, 29 Mar 2018 08:10:03 -0400 > > There's indeed a bug, here, which is that it says > > (translated from ) > > instead of > > (translated from ) > > I assume it's because the fix I installed modifies the event in-place, > so the recording of "untranslated events" gets changed by side-effect. I don't think so: I saw the mouse-2 part even before you fixed the problem. So I think it's something else at work. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15223291066371 (code B ref 30955); Thu, 29 Mar 2018 13:12:01 +0000 Received: (at 30955) by debbugs.gnu.org; 29 Mar 2018 13:11:46 +0000 Received: from localhost ([127.0.0.1]:58142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1XLG-0001ef-HG for submit@debbugs.gnu.org; Thu, 29 Mar 2018 09:11:46 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:55531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1XLD-0001eS-BQ for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 09:11:44 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2TDBf5x024579; Thu, 29 Mar 2018 09:11:41 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7192E60559; Thu, 29 Mar 2018 09:11:41 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> Date: Thu, 29 Mar 2018 09:11:41 -0400 In-Reply-To: <83y3ibcbms.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Mar 2018 15:24:59 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6253=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6253> : inlines <6528> : streams <1782603> : uri <2616834> 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: -1.3 (-) Eli Zaretskii writes: >> From: Stefan Monnier >> Cc: 30955@debbugs.gnu.org, m43cap@yandex.com >> Date: Thu, 29 Mar 2018 08:10:03 -0400 >> >> There's indeed a bug, here, which is that it says >> >> (translated from ) >> >> instead of >> >> (translated from ) >> >> I assume it's because the fix I installed modifies the event in-place, >> so the recording of "untranslated events" gets changed by side-effect. > > I don't think so: I saw the mouse-2 part even before you fixed the > problem. Maybe you've seen it with yet-older code, such as the one in the emacs-26 branch (in that code, the mouse-1 => mouse-2 remapping was done elsewhere (i.e. as part of the processing of down-mouse-1) so read_key_sequence never even saw the mouse-1 event to put it into the raw_keybuf)? > So I think it's something else at work. Yet the second hunk below does fix this problem (the first hunk fixes the same problem but for C-h l, and the third just removes code which does something wrong, and I have no idea why the code was there in the first place). Stefan diff --git a/src/keyboard.c b/src/keyboard.c index 044e3fac69..6380e8585f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3258,7 +3258,10 @@ record_char (Lisp_Object c) if (!recorded) { total_keys += total_keys < NUM_RECENT_KEYS; - ASET (recent_keys, recent_keys_index, c); + ASET (recent_keys, recent_keys_index, + /* Copy the event, in case it gets modified by side-effect + by some remapping function. */ + CONSP (c) ? Fcopy_sequence (c) : c); if (++recent_keys_index >= NUM_RECENT_KEYS) recent_keys_index = 0; } @@ -9296,7 +9299,10 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, } GROW_RAW_KEYBUF; - ASET (raw_keybuf, raw_keybuf_count, key); + ASET (raw_keybuf, raw_keybuf_count, + /* Copy the event, in case it gets modified by side-effect + by some remapping function. */ + CONSP (key) ? Fcopy_sequence (key) : key); raw_keybuf_count++; } @@ -9343,9 +9349,6 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, && BUFFERP (XWINDOW (window)->contents) && XBUFFER (XWINDOW (window)->contents) != current_buffer) { - GROW_RAW_KEYBUF; - ASET (raw_keybuf, raw_keybuf_count, key); - raw_keybuf_count++; keybuf[t] = key; mock_input = t + 1; From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: , Eli Zaretskii , 30955@debbugs.gnu.org Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15223302348643 (code B ref 30955); Thu, 29 Mar 2018 13:31:02 +0000 Received: (at 30955) by debbugs.gnu.org; 29 Mar 2018 13:30:34 +0000 Received: from localhost ([127.0.0.1]:58174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1XdS-0002FL-GV for submit@debbugs.gnu.org; Thu, 29 Mar 2018 09:30:34 -0400 Received: from forward103o.mail.yandex.net ([37.140.190.177]:48985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1XdQ-0002F4-5s for 30955@debbugs.gnu.org; Thu, 29 Mar 2018 09:30:33 -0400 Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward103o.mail.yandex.net (Yandex) with ESMTP id CBFC55883A2B; Thu, 29 Mar 2018 16:30:25 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id af9Pjgye6P-UPSWCwjS; Thu, 29 Mar 2018 16:30:25 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522330225; bh=daFwBpr+cI2EeO7nEIG5c4acgeBacD4+hFI8BFjsGY8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=SSnQY9iBKJMhwPp95eT2HR5+RAHt64DtQkeTycpObZr88AtIMTm+5vTj2KnngGErn ixonH7NOsb+OV3+M89Z050s+fqwsJ5tskN46Y8a5wyPrOSRjrsU674KgpVbA/tShhG hMvugTIeDqPp+m5giNQoR0y+P5DLsgoBh322W/rM= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KqzQzqiEU7-UNGCuUPw; Thu, 29 Mar 2018 16:30:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522330223; bh=daFwBpr+cI2EeO7nEIG5c4acgeBacD4+hFI8BFjsGY8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=msc3iGVxsKBPHH1OxVgAUw/QLBOHfPDzHTuUUxeEq37bQxvGk+tAZsAsazVVviSyD /+IrNb+hoQgHRQV97enXbYxCQ4JJnOJ6EzkDQtFvcwmbh/t1DGBuloKezrIkK6BGMX HQBAOO8axECHSsSUArognSGmwwOnXwXdy0wI+cLM= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.com From: Colin Baxter References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H Date: Thu, 29 Mar 2018 14:30:22 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 29 Mar 2018 09:11:41 -0400") Message-ID: <87bmf7uhzl.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA oUlEQVQ4je2UQRbCIAxER5rW1+jBvJIn8Erd9VrWBOJCnxuHTR+4cpafFzKBgcO6IiV8Ky0YboTv Vr6iXAgvBaIKEVZ0bOngveGZYHfIPGMcWc3U2sQEKMFmYDfxc4kZItiKt27lwINhh3itWW5tIvPB 3CERlZPoIdYoAqJaCWaP13Ei+B/MD34Fk5voEUxjOEO2jX/bg4FGZbfMkO+El4InXIQ/i163C/EA AAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -0.7 (/) >>>>> Stefan Monnier writes: > Eli Zaretskii writes: >>> From: Stefan Monnier Cc: >>> 30955@debbugs.gnu.org, m43cap@yandex.com Date: Thu, 29 Mar 2018 >>> 08:10:03 -0400 >>> >>> There's indeed a bug, here, which is that it says >>> >>> (translated from ) >>> >>> instead of >>> >>> (translated from ) >>> >>> I assume it's because the fix I installed modifies the event >>> in-place, so the recording of "untranslated events" gets changed >>> by side-effect. >> >> I don't think so: I saw the mouse-2 part even before you fixed >> the problem. > Maybe you've seen it with yet-older code, such as the one in the > emacs-26 branch (in that code, the mouse-1 => mouse-2 remapping > was done elsewhere (i.e. as part of the processing of > down-mouse-1) so read_key_sequence never even saw the mouse-1 > event to put it into the raw_keybuf)? >> So I think it's something else at work. > Yet the second hunk below does fix this problem (the first hunk > fixes the same problem but for C-h l, and the third just removes > code which does something wrong, and I have no idea why the code > was there in the first place). This may not be relevant, but I've noticed that this mouse problem https://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00499.html is now no longer present. I remember I didn't follow the suggestion in the thread to bisect, so I'm unaware when it was fixed. I don't have the problem now so perhaps Stephan's patch fixed that too. Best wishes, From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152251671426642 (code B ref 30955); Sat, 31 Mar 2018 17:19:02 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 17:18:34 +0000 Received: from localhost ([127.0.0.1]:33181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2K9B-0006vd-TH for submit@debbugs.gnu.org; Sat, 31 Mar 2018 13:18:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2K9B-0006vR-0f for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 13:18:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2K94-0004BR-J2 for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 13:18:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2K8x-0003yp-SN; Sat, 31 Mar 2018 13:18:19 -0400 Received: from [176.228.60.248] (port=2956 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f2K8x-0005ef-9W; Sat, 31 Mar 2018 13:18:19 -0400 Date: Sat, 31 Mar 2018 20:18:19 +0300 Message-Id: <83zi2o6u5g.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Thu, 29 Mar 2018 09:11:41 -0400) References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > From: Stefan Monnier > Cc: 30955@debbugs.gnu.org, m43cap@yandex.com > Date: Thu, 29 Mar 2018 09:11:41 -0400 > > >> There's indeed a bug, here, which is that it says > >> > >> (translated from ) > >> > >> instead of > >> > >> (translated from ) > >> > >> I assume it's because the fix I installed modifies the event in-place, > >> so the recording of "untranslated events" gets changed by side-effect. > > > > I don't think so: I saw the mouse-2 part even before you fixed the > > problem. > > Maybe you've seen it with yet-older code, such as the one in the > emacs-26 branch (in that code, the mouse-1 => mouse-2 remapping was done > elsewhere (i.e. as part of the processing of down-mouse-1) so > read_key_sequence never even saw the mouse-1 event to put it into the > raw_keybuf)? > > > So I think it's something else at work. > > Yet the second hunk below does fix this problem (the first hunk fixes > the same problem but for C-h l, and the third just removes code which > does something wrong, and I have no idea why the code was there in the > first place). AFAICT, this patch is now installed on master, but I still see the same issue: "C-h c" reports mouse-2 whereas I click mouse-1. Was this issue supposed to be resolved, and if so, what am I missing? From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: , 30955@debbugs.gnu.org, Stefan Monnier Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15225226033042 (code B ref 30955); Sat, 31 Mar 2018 18:57:02 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 18:56:43 +0000 Received: from localhost ([127.0.0.1]:33261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2LgA-0000my-B7 for submit@debbugs.gnu.org; Sat, 31 Mar 2018 14:56:43 -0400 Received: from forward106o.mail.yandex.net ([37.140.190.187]:43304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Lg8-0000ml-4x for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 14:56:41 -0400 Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 6ABFF784193; Sat, 31 Mar 2018 21:56:33 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YmRmVNhe8M-uW9CBT5m; Sat, 31 Mar 2018 21:56:33 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522522593; bh=ZggtLsJFuUMeHLfun+6p1zYPIvZLH8lcSpeDoCJQP3I=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=ZqopPD68XGK0mYYpWl+Qa0FIu6KASPiHZaEMAPjOu2zOVSblXm5k/ukd/mGBfGKxK ByDpwDbimtub7YK1uwtAOD9gYs+qu1L1VRBbq9AWPPpQBuO7ovLN1dYdudxaJv3j7u vBM3FcvmalGucjv5X2/Z9PxD00suUalKFzjJ61oc= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vW4H2LUxDh-uVISMUb1; Sat, 31 Mar 2018 21:56:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522522591; bh=ZggtLsJFuUMeHLfun+6p1zYPIvZLH8lcSpeDoCJQP3I=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=A1u4rSUoWL0RoI2Q9oT0QL9Si4+Opk67IsdoOVtNV74JwsUPK7zpqtG5wt6xmgvKp +glnz1L6Ysv8NXl6eoyfQhCfA+rIGc20l9MizSzbEtKz4TrPAONcOePKE/J+wKvGhM zrKUrvBD+yBMR/iKS7qtcFPfCMUSTLLP5fRM09Hg= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.com From: Colin Baxter References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H Date: Sat, 31 Mar 2018 19:56:30 +0100 In-Reply-To: <83zi2o6u5g.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Mar 2018 20:18:19 +0300") Message-ID: <87bmf4f50h.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA hklEQVQ4je2UwQ3CQAwEh8gR3IGolQ5TAr3w4mIT8wAa8PLM/nc1stc+LAvTRFmPO9db3Q5sYL1j Vo+IIxeJgQBrjXmuR4wTXYNwEDbxP5k7mXW/B6tGEGARWkSgBRBgmdIkMhHcAPm5DqWYa+OsQezF /OlbTAnCcQ3iBTaG9LZH8NQgNngDnag2wOvtnJ4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -0.7 (/) >>>>> Eli Zaretskii writes: >> From: Stefan Monnier Cc: >> 30955@debbugs.gnu.org, m43cap@yandex.com Date: Thu, 29 Mar 2018 >> 09:11:41 -0400 >> >> >> There's indeed a bug, here, which is that it says >> >> >> >> (translated from ) >> >> >> >> instead of >> >> >> >> (translated from ) >> >> >> >> I assume it's because the fix I installed modifies the event >> in-place, >> so the recording of "untranslated events" gets >> changed by side-effect. >> > >> > I don't think so: I saw the mouse-2 part even before you fixed >> the > problem. >> >> Maybe you've seen it with yet-older code, such as the one in the >> emacs-26 branch (in that code, the mouse-1 => mouse-2 remapping >> was done elsewhere (i.e. as part of the processing of >> down-mouse-1) so read_key_sequence never even saw the mouse-1 >> event to put it into the raw_keybuf)? >> >> > So I think it's something else at work. >> >> Yet the second hunk below does fix this problem (the first hunk >> fixes the same problem but for C-h l, and the third just removes >> code which does something wrong, and I have no idea why the code >> was there in the first place). > AFAICT, this patch is now installed on master, but I still see the > same issue: "C-h c" reports mouse-2 whereas I click mouse-1. Was > this issue supposed to be resolved, and if so, what am I missing? For me, C-h c gives mouse-1 for the left-hand button (mouse 1) and mouse-3 for the right-hand button (mouse 3). Best wishes, Colin. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Colin Baxter Cc: 30955@debbugs.gnu.org, monnier@IRO.UMontreal.CA Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15225230373825 (code B ref 30955); Sat, 31 Mar 2018 19:04:02 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 19:03:57 +0000 Received: from localhost ([127.0.0.1]:33280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2LnB-0000zd-Ei for submit@debbugs.gnu.org; Sat, 31 Mar 2018 15:03:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2LnA-0000zR-7K for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 15:03:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2Ln2-0001LR-IC for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 15:03:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2Ln2-0001LH-EM; Sat, 31 Mar 2018 15:03:48 -0400 Received: from [176.228.60.248] (port=3441 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f2Ln1-0000C9-I1; Sat, 31 Mar 2018 15:03:48 -0400 Date: Sat, 31 Mar 2018 22:03:46 +0300 Message-Id: <83vadc6p9p.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87bmf4f50h.fsf@yandex.com> (message from Colin Baxter on Sat, 31 Mar 2018 19:56:30 +0100) References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> <87bmf4f50h.fsf@yandex.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > From: Colin Baxter > Cc: Stefan Monnier , 30955@debbugs.gnu.org > Cc: > Date: Sat, 31 Mar 2018 19:56:30 +0100 > > > AFAICT, this patch is now installed on master, but I still see the > > same issue: "C-h c" reports mouse-2 whereas I click mouse-1. Was > > this issue supposed to be resolved, and if so, what am I missing? > > For me, C-h c gives mouse-1 for the left-hand button (mouse 1) and > mouse-3 for the right-hand button (mouse 3). Maybe it's a Windows-specific issue, then. But just to be sure: can you describe the exact sequence of steps you are taking, starting from "emacs -Q"? In particular, are you clicking on the Next/Prev/Up links of the header-line in an Info buffer? From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: monnier@IRO.UMontreal.CA Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15225237764930 (code B ref 30955); Sat, 31 Mar 2018 19:17:02 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 19:16:16 +0000 Received: from localhost ([127.0.0.1]:33286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Lz5-0001HS-KE for submit@debbugs.gnu.org; Sat, 31 Mar 2018 15:16:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Lz4-0001HF-Fa for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 15:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2Lyw-00033X-4g for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 15:16:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2Lyw-000335-16; Sat, 31 Mar 2018 15:16:06 -0400 Received: from [176.228.60.248] (port=3444 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f2Lyv-0006xs-6h; Sat, 31 Mar 2018 15:16:05 -0400 Date: Sat, 31 Mar 2018 22:16:04 +0300 Message-Id: <83tvsw6op7.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83vadc6p9p.fsf@gnu.org> (message from Eli Zaretskii on Sat, 31 Mar 2018 22:03:46 +0300) References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> <87bmf4f50h.fsf@yandex.com> <83vadc6p9p.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > Date: Sat, 31 Mar 2018 22:03:46 +0300 > From: Eli Zaretskii > Cc: 30955@debbugs.gnu.org, monnier@IRO.UMontreal.CA > > But just to be sure: can you describe the exact sequence of steps you > are taking, starting from "emacs -Q"? In particular, are you clicking > on the Next/Prev/Up links of the header-line in an Info buffer? Btw, the keymap property we put on the header-line does bind mouse-2 to a command that follows link, not mouse-1: (define-key keymap [header-line down-mouse-1] 'mouse-drag-header-line) (define-key keymap [header-line mouse-1] 'mouse-select-window) (define-key keymap [header-line mouse-2] 'Info-mouse-follow-link) (define-key keymap [mouse-2] 'Info-mouse-follow-link) (define-key keymap [follow-link] 'mouse-face) So I guess this is somehow related to the processing of mouse-1-click-follows-link. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: , 30955@debbugs.gnu.org, monnier@IRO.UMontreal.CA Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152252974813445 (code B ref 30955); Sat, 31 Mar 2018 20:56:02 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 20:55:48 +0000 Received: from localhost ([127.0.0.1]:33313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2NXQ-0003Um-Kl for submit@debbugs.gnu.org; Sat, 31 Mar 2018 16:55:48 -0400 Received: from forward105o.mail.yandex.net ([37.140.190.183]:34382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2NXO-0003UW-6b for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 16:55:47 -0400 Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 748804442148; Sat, 31 Mar 2018 23:55:39 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gFVaHvpgF5-tdKSJo0B; Sat, 31 Mar 2018 23:55:39 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522529739; bh=hKvy+mE4C8Mwra7hi7t0wpKtfK+Zd4uB3XR5XEErecw=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=STTlPd7bvpNuIaSf4MgKlKXiTo/2IUfkVQhnDRZ3Q62Dvw0JNTy3JVCKEblHX7CUI fRIN05A/y5N4FsvUqp78YB9jYii/y+xfPO3huDatQR2O82HHIUXET8JAt0BEwnw74f XebWd9gKASWvU8qZ/QceFd8IZGO/0/gHuR/hj19w= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id hhKgkR6JiJ-tbXeI09g; Sat, 31 Mar 2018 23:55:37 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522529737; bh=hKvy+mE4C8Mwra7hi7t0wpKtfK+Zd4uB3XR5XEErecw=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=Xji9OWzWuXlmPps56IBAjXq4O60agzRgU0MtcpJTMbYL1eZtZMejFlfTIS7WocIxU FeXSwhHhXE0b9B0fpZP31iLC91OeLvCsieA/VBRPtm6O4pDfidZGIgrGOZJ3C9ixnF zn05hW0io0Fw2dglJIcHlmCMWL3Um4rZSzt42PAk= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.com From: Colin Baxter References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> <87bmf4f50h.fsf@yandex.com> <83vadc6p9p.fsf@gnu.org> X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H Date: Sat, 31 Mar 2018 21:55:36 +0100 In-Reply-To: <83vadc6p9p.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Mar 2018 22:03:46 +0300") Message-ID: <874lkwezhz.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA hklEQVQ4je2UwQ3CQAwEh8gR3IGolQ5TAr3w4mIT8wAa8PLM/nc1stc+LAvTRFmPO9db3Q5sYL1j Vo+IIxeJgQBrjXmuR4wTXYNwEDbxP5k7mXW/B6tGEGARWkSgBRBgmdIkMhHcAPm5DqWYa+OsQezF /OlbTAnCcQ3iBTaG9LZH8NQgNngDnag2wOvtnJ4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -0.7 (/) >>>>> Eli Zaretskii writes: >> From: Colin Baxter Cc: Stefan Monnier >> , 30955@debbugs.gnu.org Cc: Date: Sat, >> 31 Mar 2018 19:56:30 +0100 >> >> > AFAICT, this patch is now installed on master, but I still see >> the > same issue: "C-h c" reports mouse-2 whereas I click >> mouse-1. Was > this issue supposed to be resolved, and if so, >> what am I missing? >> >> For me, C-h c gives mouse-1 for the left-hand button (mouse 1) >> and mouse-3 for the right-hand button (mouse 3). > Maybe it's a Windows-specific issue, then. > But just to be sure: can you describe the exact sequence of steps > you are taking, starting from "emacs -Q"? In particular, are you > clicking on the Next/Prev/Up links of the header-line in an Info > buffer? 1. src/emacs -Q 2. M-x info 3. Click "emacs", for example, with left button (mouse-1). 4. Click Up: (dir) with left button (mouse-1) takes me back to Info Directory. 5. Click "Emacs Lisp Intro:", as another example, with left button (mouse-1) 6. Navigate down and up (clicking Prev: or Up:), all with mouse-1. Hope this helps. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 21:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: , 30955@debbugs.gnu.org, monnier@IRO.UMontreal.CA Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.152252995713762 (code B ref 30955); Sat, 31 Mar 2018 21:00:01 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 20:59:17 +0000 Received: from localhost ([127.0.0.1]:33317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Nan-0003Zu-5Q for submit@debbugs.gnu.org; Sat, 31 Mar 2018 16:59:17 -0400 Received: from forward106p.mail.yandex.net ([77.88.28.109]:42798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Nak-0003Zg-E5 for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 16:59:15 -0400 Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 60DA82D84EC2; Sat, 31 Mar 2018 23:59:07 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id czu35VjIG9-x60CEMPF; Sat, 31 Mar 2018 23:59:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522529947; bh=XZib2l8ZLAAW74YmMiiBpWbxOXF2diuTmN7hApaXcx8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=GqCzP8IQGNbioi6EG8ZQoLOy408WYbkLi5AMJY3+O4ogPqLYc6ZN7L4NexG/d7yeI vbGzRAp8O2gxrPex34ctRkNVv5AScSqj/p4Fg+one81DfTtwrqGScvanw61elFuFWI LwjXM+q/5kE7KZuE2Bm5cxszo5mlnt2f4Luyl7Fk= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id I1KgDyV4At-x4SaO70o; Sat, 31 Mar 2018 23:59:05 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1522529945; bh=XZib2l8ZLAAW74YmMiiBpWbxOXF2diuTmN7hApaXcx8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=fcrIyVBiIh8ohgaqoB5tZ4wWhi0t8XHohwXH2uJ50SiKH2gsCIod8xwblyWTum/rz pRU2AYdSKdxo+mQoAeCzn1vVId1rPZeIRtorWHhY5XJp89WDJMziUAfqaS2HmStVGQ JlPa8e5KloJHwd+e3cjbizfvoMRK61AWDSXYU+6g= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.com From: Colin Baxter References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> <87bmf4f50h.fsf@yandex.com> <83vadc6p9p.fsf@gnu.org> <83tvsw6op7.fsf@gnu.org> X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H Date: Sat, 31 Mar 2018 21:59:04 +0100 In-Reply-To: <83tvsw6op7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Mar 2018 22:16:04 +0300") Message-ID: <87zi2odkrr.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA hklEQVQ4je2UwQ3CQAwEh8gR3IGolQ5TAr3w4mIT8wAa8PLM/nc1stc+LAvTRFmPO9db3Q5sYL1j Vo+IIxeJgQBrjXmuR4wTXYNwEDbxP5k7mXW/B6tGEGARWkSgBRBgmdIkMhHcAPm5DqWYa+OsQezF /OlbTAnCcQ3iBTaG9LZH8NQgNngDnag2wOvtnJ4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -0.7 (/) >>>>> Eli Zaretskii writes: >> Date: Sat, 31 Mar 2018 22:03:46 +0300 From: Eli Zaretskii >> Cc: 30955@debbugs.gnu.org, >> monnier@IRO.UMontreal.CA >> >> But just to be sure: can you describe the exact sequence of steps >> you are taking, starting from "emacs -Q"? In particular, are you >> clicking on the Next/Prev/Up links of the header-line in an Info >> buffer? > Btw, the keymap property we put on the header-line does bind > mouse-2 to a command that follows link, not mouse-1: > (define-key keymap [header-line down-mouse-1] > 'mouse-drag-header-line) (define-key keymap [header-line mouse-1] > 'mouse-select-window) (define-key keymap [header-line mouse-2] > 'Info-mouse-follow-link) (define-key keymap [mouse-2] > 'Info-mouse-follow-link) (define-key keymap [follow-link] > 'mouse-face) > So I guess this is somehow related to the processing of > mouse-1-click-follows-link. As an ordinary user, my keyboard inputs don't produce any obvious reference to mouse-2. From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2018 23:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15225396343192 (code B ref 30955); Sat, 31 Mar 2018 23:41:01 +0000 Received: (at 30955) by debbugs.gnu.org; 31 Mar 2018 23:40:34 +0000 Received: from localhost ([127.0.0.1]:33383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Q6s-0000pQ-Da for submit@debbugs.gnu.org; Sat, 31 Mar 2018 19:40:34 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:42981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Q6p-0000pF-QD for 30955@debbugs.gnu.org; Sat, 31 Mar 2018 19:40:33 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2VNeUWY021345; Sat, 31 Mar 2018 19:40:30 -0400 Received: by pastel.home (Postfix, from userid 20848) id DDE2D6018D; Sat, 31 Mar 2018 19:40:29 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> Date: Sat, 31 Mar 2018 19:40:29 -0400 In-Reply-To: <83zi2o6u5g.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Mar 2018 20:18:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6254=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6254> : inlines <6533> : streams <1782835> : uri <2618274> 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: -1.3 (-) > AFAICT, this patch is now installed on master, but I still see the > same issue: "C-h c" reports mouse-2 whereas I click mouse-1. It should report "header-line mouse-2 (translated from mouse-1)", yes. Stefan From unknown Wed Sep 10 01:08:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Apr 2018 06:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: m43cap@yandex.com, 30955@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30955-submit@debbugs.gnu.org id=B30955.15225654248326 (code B ref 30955); Sun, 01 Apr 2018 06:51:01 +0000 Received: (at 30955) by debbugs.gnu.org; 1 Apr 2018 06:50:24 +0000 Received: from localhost ([127.0.0.1]:33422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Wop-0002AD-No for submit@debbugs.gnu.org; Sun, 01 Apr 2018 02:50:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Woo-0002A2-8G for 30955@debbugs.gnu.org; Sun, 01 Apr 2018 02:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2Woi-0001YS-5u for 30955@debbugs.gnu.org; Sun, 01 Apr 2018 02:50:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2Wob-0001Uc-G8; Sun, 01 Apr 2018 02:50:09 -0400 Received: from [176.228.60.248] (port=3856 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f2Woa-0006RP-O7; Sun, 01 Apr 2018 02:50:09 -0400 Date: Sun, 01 Apr 2018 09:50:10 +0300 Message-Id: <83sh8f774t.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Sat, 31 Mar 2018 19:40:29 -0400) References: <83po3qga5g.fsf@gnu.org> <838tabdu3x.fsf@gnu.org> <83y3ibcbms.fsf@gnu.org> <83zi2o6u5g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) > From: Stefan Monnier > Cc: 30955@debbugs.gnu.org, m43cap@yandex.com > Date: Sat, 31 Mar 2018 19:40:29 -0400 > > > AFAICT, this patch is now installed on master, but I still see the > > same issue: "C-h c" reports mouse-2 whereas I click mouse-1. > > It should report "header-line mouse-2 (translated from mouse-1)", yes. OK, thanks.