From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30955: 27.0.50; Mouse clicks on header-line in Info are broken Date: Mon, 26 Mar 2018 17:54:19 +0300 Message-ID: <83po3qga5g.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522076000 28353 195.159.176.226 (26 Mar 2018 14:53:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 14:53:20 +0000 (UTC) To: 30955@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 16:53:16 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0TUq-0007JE-2s for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 16:53:16 +0200 Original-Received: from localhost ([::1]:57182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TWt-0003Tt-J9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 10:55:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TWd-0003Jt-4p for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:55:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TWY-0001Pn-DM for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0TWY-0001Pf-95 for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0TWY-0000Qz-28 for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 10:55:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15220760811634 (code B ref -1); Mon, 26 Mar 2018 14:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Mar 2018 14:54:41 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144630 Archived-At: 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))