From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Tanzer Newsgroups: gmane.emacs.bugs Subject: bug#19003: 24.4; Mouse-click in different frame displaying same buffer breaks region Date: Sun, 09 Nov 2014 11:26:50 +0100 Message-ID: Reply-To: Christian Tanzer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415558425 19186 80.91.229.3 (9 Nov 2014 18:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 18:40:25 +0000 (UTC) To: 19003@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 09 19:40:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XnXPQ-0006J7-OJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 19:40:20 +0100 Original-Received: from localhost ([::1]:39678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXPQ-0004az-DO for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 13:40:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXPH-0004Y7-RS for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 13:40:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnXPC-0006B0-OI for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 13:40:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXPC-0006As-Ln for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 13:40:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnXPC-0005qB-4C for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 13:40:06 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christian Tanzer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Nov 2014 18:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19003 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.141555837622381 (code B ref -1); Sun, 09 Nov 2014 18:40:05 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2014 18:39:36 +0000 Original-Received: from localhost ([127.0.0.1]:55079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnXOh-0005oo-0X for submit@debbugs.gnu.org; Sun, 09 Nov 2014 13:39:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56925) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnQ3k-0008D2-Px for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:49:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnQ3f-0000DN-EA for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:49:28 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnQ3f-0000DJ-B2 for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:49:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnQ3a-0002WO-I4 for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:49:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnQ3V-0000AG-UP for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:49:18 -0500 Original-Received: from 85-125-208-90.work.xdsl-line.inode.at ([85.125.208.90]:55057 helo=swing.co.at) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnQ3V-00007l-Ft for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:49:13 -0500 Original-Received: from tr.swing.cluster ([127.0.0.1]) by swing.co.at with esmtp (Exim 4.84) (envelope-from ) id 1XnPiE-0004uC-TF; Sun, 09 Nov 2014 11:27:14 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 09 Nov 2014 13:39:33 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95786 Starting point =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D A buffer is displayed in two frames, a region was selected with the mouse in one of the frames. The problem =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If one clicks (mouse-1) into the other frame, the region is silently extended to that point =E2=80=94 although it isn't highlighted anymore. A subsequent mouse-yank-primary inserts the broken region. I originally noticed this problem when I used mouse-yank-primary to yank a region into a different frame (without fist using mouse-1 to select that frame). For mouse-yank-primary, it can be solved by moving=20 (or mouse-yank-at-point (mouse-set-point click)) into the `let' for `primary'. I have no idea how to solve it for mouse-1 events.=20 Emacs versions effected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I originally noticed the problem in Emacs 24.1. It's still there in 24.4. The problem occurs, when starting from `emacs -Q'. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.24) of 2014-10-22 on tr Windowing system distributor `The X.Org Foundation', version 11.0.11500000 Configured using: `configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc --localstatedir=3D/var/lib --libdir=3D/usr/lib64 --disable-silent-rules --disable-dependency-tracking --program-suffix=3D-emacs-24 --infodir=3D/usr/share/info/emacs-24 --localstatedir=3D/var --enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=3Dgames --without-compress-install --with-file-notification=3Dinotify --disable-acl --with-dbus --with-gnutls --with-gpm --without-hesiod --without-kerberos --without-kerberos5 --without-xml2 --without-selinux --without-wide-int --with-zlib --with-sound=3Dalsa --with-x --without-ns --without-gconf --without-gsettings --with-toolkit-scroll-bars --with-gif --with-jpeg --without-png --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=3Dgtk2 GENTOO_PACKAGE=3Dapp-editors/emacs-24.4 'CFLAGS=3D-march=3Dcore2 -O2 -pipe' CPPFLAGS=3D 'LDFLAGS=3D-Wl,-O1 -Wl,--as-needed'' Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: tooltip-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 line-number-mode: t transient-mark-mode: t Recent input: =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 r e p o r t - C-_ M-x r e p o r t =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. (No files need saving) C-x is undefined byte-code: Beginning of buffer Mark set Undo! Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip 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 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 inotify dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 90242 9111) (symbols 48 17584 0) (miscs 40 62 139) (strings 32 9232 4284) (string-bytes 1 253117) (vectors 16 9031) (vector-slots 8 394987 16042) (floats 8 67 531) (intervals 56 4353 0) (buffers 960 13) (heap 1024 13846 595)) --=20 Christian Tanzer http://www.c-tanzer.at/