From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 25 19:52:32 2014 Received: (at submit) by debbugs.gnu.org; 26 Nov 2014 00:52:32 +0000 Received: from localhost ([127.0.0.1]:45369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtQqN-0006c5-O9 for submit@debbugs.gnu.org; Tue, 25 Nov 2014 19:52:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36927) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtQqL-0006bw-1i for submit@debbugs.gnu.org; Tue, 25 Nov 2014 19:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtQqF-0000HP-NZ for submit@debbugs.gnu.org; Tue, 25 Nov 2014 19:52:28 -0500 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_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtQqF-0000HK-Jz for submit@debbugs.gnu.org; Tue, 25 Nov 2014 19:52:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtQqA-0007KU-UI for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 19:52:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtQq6-0000ER-4A for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 19:52:18 -0500 Received: from md5i.com ([75.151.244.229]:48897 helo=maru2) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtQq5-0000D3-UR for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 19:52:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=TjAF+7goch2h5bdv7/GtK4hgPx5N2LS7DXyV+lHkIXY=; b=ner81NVsNRAOjJtmWW2XBw4Y3QNrUrdf9+g2tfYT4GEGZbURUdugjzpSzWbGOLxbym5iTTaUFvfgCWMp/2qGIqqM8oJ9R5/AXK4z+qwYu8GW0CPNwyZYqHleIlLy77jZ; Received: from md5i by maru2 with local (Exim 4.84) (envelope-from ) id 1XtQq0-0002it-4P for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 19:52:08 -0500 From: Michael Welsh Duggan To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Strangeness with mouse-1 button up events Date: Tue, 25 Nov 2014 19:52:08 -0500 Message-ID: <87fvd63hs7.fsf@maru2.md5i.com> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.1 (----) emacs -Q C-h k We get the following *Help*: at that spot runs the command mouse-drag-region (found in global-map), which is an interactive compiled Lisp function in `mouse.el'. It is bound to . (mouse-drag-region START-EVENT) Set the region to the text that the mouse is dragged over. Highlight the drag area as you move the mouse. This must be bound to a button-down mouse event. In Transient Mark mode, the highlighting remains as long as the mark remains active. Otherwise, it remains until the next input event. ----------------- up-event ---------------- at that spot runs the command mouse-set-point (found in global-map), which is an interactive compiled Lisp function in `mouse.el'. It is bound to . (mouse-set-point EVENT &optional PROMOTE-TO-REGION) Move point to the position clicked on with the mouse. This should be bound to a mouse click event type. If PROMOTE-TO-REGION is non-nil and event is a multiple-click, select the corresponding element around point. [back] Now, type C-h k and click (mouse-1) on a `mouse.el' link in the *Help* buffer. (translated from ) at that spot runs the command mouse-drag-region (found in global-map), which is an interactive compiled Lisp function in `mouse.el'. It is bound to . (mouse-drag-region START-EVENT) Set the region to the text that the mouse is dragged over. Highlight the drag area as you move the mouse. This must be bound to a button-down mouse event. In Transient Mark mode, the highlighting remains as long as the mark remains active. Otherwise, it remains until the next input event. ----------------- up-event ---------------- at that spot runs the command push-button (found in button-map), which is an interactive compiled Lisp function in `button.el'. (push-button &optional POS USE-MOUSE-ACTION) Perform the action specified by a button at location POS. POS may be either a buffer position or a mouse-event. If USE-MOUSE-ACTION is non-nil, invoke the button's mouse-action instead of its normal action; if the button has no mouse-action, the normal action is used instead. The action may be either a function to call or a marker to display and is invoked using `button-activate' (which see). POS defaults to point, except when `push-button' is invoked interactively as the result of a mouse-event, in which case, the mouse event is used. If there's no button at POS, do nothing and return nil, otherwise return t. [back] Here the up-event is . Why? Going further, if I am in Gnus and click on a link in an email, I get the following: (translated from ) at that spot runs the command widget-button-click (found in gnus-article-mode-map), which is an interactive compiled Lisp function in `wid-edit.el'. (widget-button-click EVENT) Invoke the button that the mouse is pointing at. ----------------- up-event ---------------- at that spot runs the command mouse-yank-primary (found in global-map), which is an interactive compiled Lisp function in `mouse.el'. (mouse-yank-primary CLICK) Insert the primary selection at the position clicked on. Move point to the end of the inserted text, and set mark at beginning. If `mouse-yank-at-point' is non-nil, insert at point regardless of where you click. [back] This is definitely wrong. widget-button-click makes sense, but mouse-yank-primary makes Emacs beep at me. In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) of 2014-11-13 on maru2 Windowing system distributor `The X.Org Foundation', version 11.0.11601000 System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --without-toolkit-scroll-bars --with-x-toolkit=lucid 'CFLAGS=-Og -ggdb -g3' --with-wide-int' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Making completion list... Type C-x 1 to delete the help window. previous-line: Beginning of buffer [2 times] Type C-x 1 to delete the help window, C-M-v to scroll help. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu help-fns time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 78708 8870) (symbols 48 18226 0) (miscs 40 56 150) (strings 32 12151 4682) (string-bytes 1 315968) (vectors 16 9437) (vector-slots 8 387790 14511) (floats 8 79 357) (intervals 56 666 183) (buffers 976 14) (heap 1024 22548 1237)) -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 25 21:46:51 2014 Received: (at 19185) by debbugs.gnu.org; 26 Nov 2014 02:46:51 +0000 Received: from localhost ([127.0.0.1]:45461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtSd1-0002Zi-HE for submit@debbugs.gnu.org; Tue, 25 Nov 2014 21:46:51 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:35784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtScz-0002Zb-OO for 19185@debbugs.gnu.org; Tue, 25 Nov 2014 21:46:50 -0500 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sAQ2kmel004708; Tue, 25 Nov 2014 21:46:48 -0500 Received: by pastel.home (Postfix, from userid 20848) id 829B2653E; Tue, 25 Nov 2014 21:46:48 -0500 (EST) From: Stefan Monnier To: Michael Welsh Duggan Subject: Re: bug#19185: 25.0.50; Strangeness with mouse-1 button up events Message-ID: References: <87fvd63hs7.fsf@maru2.md5i.com> Date: Tue, 25 Nov 2014 21:46:48 -0500 In-Reply-To: <87fvd63hs7.fsf@maru2.md5i.com> (Michael Welsh Duggan's message of "Tue, 25 Nov 2014 19:52:08 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.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: 1 Rules triggered RV5136=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5136> : inlines <1561> : streams <1348713> : uri <1836156> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 19185 Cc: 19185@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (-) > Here the up-event is . Why? That's how mouse-1-click-follows-link works. > This is definitely wrong. widget-button-click makes sense, but > mouse-yank-primary makes Emacs beep at me. Indeed, there's something wrong with the interaction between widget-button-click and mouse--down-1-maybe-follows-link. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 14:27:45 2016 Received: (at control) by debbugs.gnu.org; 30 Apr 2016 18:27:45 +0000 Received: from localhost ([127.0.0.1]:58346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZcG-0008F2-Tx for submit@debbugs.gnu.org; Sat, 30 Apr 2016 14:27:45 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:59380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZcF-0008Eu-6h for control@debbugs.gnu.org; Sat, 30 Apr 2016 14:27:43 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awZcC-0005P8-W4 for control@debbugs.gnu.org; Sat, 30 Apr 2016 20:27:42 +0200 Date: Sat, 30 Apr 2016 20:27:40 +0200 Message-Id: <87mvobdk9v.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20398 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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.0 (/) forcemerge 20398 19185 From unknown Wed Jun 25 10:52:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator