From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 11:47:12 2011 Received: (at submit) by debbugs.gnu.org; 4 Apr 2011 15:47:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6lzj-0004kl-T1 for submit@debbugs.gnu.org; Mon, 04 Apr 2011 11:47:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6lzi-0004ka-62 for submit@debbugs.gnu.org; Mon, 04 Apr 2011 11:47:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6lzc-0006sE-39 for submit@debbugs.gnu.org; Mon, 04 Apr 2011 11:47:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:48262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6lzb-0006NU-Ed for submit@debbugs.gnu.org; Mon, 04 Apr 2011 11:47:04 -0400 Received: from [140.186.70.92] (port=53796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6l31-0003oS-9c for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 10:50:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6l2x-0006Fw-5T for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 10:46:28 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:51728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6l2w-0006Et-Rp for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 10:46:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=Mime-Version:To:Cc:Message-Id:Date:Subject:Content-Transfer-Encoding:Content-Type:From; bh=6K/fkr9ZcC0yxCY4l0xH/wliMpWtQObdq2ROrL4xqaM=; b=pmjIfqq/EHZpzMfvlyqobqMOwIOhpMswA7YxowZUYzFJXBnBazIZj1j9CvjPe6XJ1AqX2g9b/vNisK+jxN1Qx1aqocx07WTVMPeu6Gi/373fXg3RFdEuwkUbbxafaWv03aI8LfHi+K1AMD7jAzSQU8DLIgRLkw7Ns51BD+KXlII=; Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.75) (envelope-from ) id 1Q6l2r-0002x6-BX; Mon, 04 Apr 2011 16:46:21 +0200 Received: from pc2.wir.univie.ac.at ([131.130.85.112] helo=pc2.wir.univie.ac.at) by joan.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.75) (envelope-from ) id 1Q6l2r-0005p4-8F; Mon, 04 Apr 2011 16:46:21 +0200 From: Konrad Podczeck Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 23.3; Strange handling of mouse events in Nextstep/Cocoa port of Emacs23 Date: Mon, 4 Apr 2011 16:46:20 +0200 Message-Id: <180D0682-9D99-45F5-9385-37B53C0EF6F1@univie.ac.at> To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit Cc: Reitter David X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) I observe the following. Start Emacs and then open two files one after the other, which makes = them to appear in two separate frames, say A and B. Position the two = frames so that they overlap, say so that the respective active frame = covers half of the other frame. Let frame A be the active one and = position the cursor so that on its line there is text to the left as = well as to the right. Let me call this cursor position x. Now click into = frame B to make it active, and the click again into frame A first at a = place whose column is to the left of that of x, and then a second time = to a place whose column is to the the right of that of x. This yields an = unintended selection in frame A. This behaviour is annoying if one works with several frames at the same = time.=20 In GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-03-10 on black.porkrind.org Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--host=3Dx86_64-apple-darwin' = '--build=3Di686-apple-darwin' '--with-ns' = 'build_alias=3Di686-apple-darwin' 'host_alias=3Dx86_64-apple-darwin' = 'CC=3Dgcc -mmacosx-version-min=3D10.5'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 05:14:42 2011 Received: (at 8421) by debbugs.gnu.org; 14 Aug 2011 09:14:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QsWmI-00009O-8G for submit@debbugs.gnu.org; Sun, 14 Aug 2011 05:14:42 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QsWmF-00009C-OP for 8421@debbugs.gnu.org; Sun, 14 Aug 2011 05:14:40 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 35C7EEBA39 for <8421@debbugs.gnu.org>; Sun, 14 Aug 2011 11:13:02 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AndtAEWQR05V4S0aPGdsb2JhbABBDokBnmgLAQEBAR4ZDSWBQAEBBTgeEwEOARALIQ8HDwkDAgECARsMChQGDQEHAQEah1SyGINGgwEEmB6LMTo X-IronPort-AV: E=Sophos;i="4.67,369,1309730400"; d="scan'208";a="211474927" Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb2.telenor.se with ESMTP; 14 Aug 2011 11:13:02 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 112577FA059; Sun, 14 Aug 2011 11:13:02 +0200 (CEST) Message-ID: <4E47919E.1060103@swipnet.se> Date: Sun, 14 Aug 2011 11:13:02 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Konrad Podczeck Subject: Re: bug#8421: 23.3; Strange handling of mouse events in Nextstep/Cocoa port of Emacs23 References: <180D0682-9D99-45F5-9385-37B53C0EF6F1@univie.ac.at> In-Reply-To: <180D0682-9D99-45F5-9385-37B53C0EF6F1@univie.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 8421 Cc: 8421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) Hello. I can not reproduce this in Emacs 23.3 or the trunk. Can you test the trunk? Can you reproduce this when starting Emacs with -Q? Jan D. Konrad Podczeck skrev 2011-04-04 16:46: > I observe the following. > > Start Emacs and then open two files one after the other, which makes them to appear in two separate frames, say A and B. Position the two frames so that they overlap, say so that the respective active frame covers half of the other frame. Let frame A be the active one and position the cursor so that on its line there is text to the left as well as to the right. Let me call this cursor position x. Now click into frame B to make it active, and the click again into frame A first at a place whose column is to the left of that of x, and then a second time to a place whose column is to the the right of that of x. This yields an unintended selection in frame A. > > This behaviour is annoying if one works with several frames at the same time. > > > > In GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) > of 2011-03-10 on black.porkrind.org > Windowing system distributor `Apple', version 10.3.1038 > configured using `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: nil > value of $XMODIFIERS: nil > locale-coding-system: nil > default enable-multibyte-characters: t > > Major mode: Fundamental > > Minor modes in effect: > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > blink-cursor-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > nd-emacs-bug-report> > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr message ecomplete rfc822 mml mml-sec > password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 > rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc > time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 > hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks > lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe > lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar > mldrag 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 loaddefs button minibuffer faces cus-face files text-properties > overlay md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process ns multi-tty > emacs) > > From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 16:24:06 2011 Received: (at 8421) by debbugs.gnu.org; 18 Oct 2011 20:24:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGGCk-0007zT-9L for submit@debbugs.gnu.org; Tue, 18 Oct 2011 16:24:06 -0400 Received: from grace.univie.ac.at ([131.130.3.115]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGGCg-0007zI-Ue for 8421@debbugs.gnu.org; Tue, 18 Oct 2011 16:24:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Content-Type:Mime-Version:Subject; bh=FTJsK1uhXcONmfOpdZUAM8FtBzc+ndg90FxaJIokB0A=; b=p/itOSshuLf6jTbk/lImAM+DFEmC77KfZPX6ACzpq0/4VhidYLeHRtiFE11JkCrYk9HL1mnVLiRXls6T8XJiMZ/b3ZI/J8DE/I2gPoqBS4K+hypxXt3xjeOp5QUsGkLGhsvNDfEPFhTta9PiGyQ0bu4mQDng+c2a6EY+KAIZS0o=; Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.76) (envelope-from ) id 1RGGBi-0004Nf-Uu; Tue, 18 Oct 2011 22:23:02 +0200 Received: from [84.113.246.143] (helo=[10.0.1.2]) by jarvis.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RGGBi-0000e7-RV; Tue, 18 Oct 2011 22:23:02 +0200 Subject: Re: bug#8421: 23.3; Strange handling of mouse events in Nextstep/Cocoa port of Emacs23 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Konrad Podczeck In-Reply-To: <4E47919E.1060103@swipnet.se> Date: Tue, 18 Oct 2011 22:23:01 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <149F0295-B1A7-467A-8C0A-FDCB85D6B00B@univie.ac.at> References: <180D0682-9D99-45F5-9385-37B53C0EF6F1@univie.ac.at> <4E47919E.1060103@swipnet.se> To: =?iso-8859-1?Q?Jan_Dj=E4rv?= X-Mailer: Apple Mail (2.1251.1) X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8421 Cc: 8421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Hello Jan, first, thanks for your response, and excuse my answer being late. I still can reproduce the phenomena with the latest nightly build of = Emacs24, downloaded from http://emacsformacosx.com/builds on October 18. Here the steps in more detail. (1) Open Emacs from the finder. (2) Via Apple-O, open some file, say A, and have the cursor in row 1 and = column 1. =20 (3) Via Apple-O, open another file, say B, and have the cursor in row 1 = and column 1. (4) Position the frame of B so that it has the same vertical coordinates = on the screen as B, and horizontally overlaps the right half of the = frame of A. The frame with B thus remains the active one, with the = cursor position as given on (3). (5) With mouse1, click on the frame of A at the cursor position there, = so that the frame with A becomes active, then click somewhere on the = visible part of the frame with B, but at vertical coordinate below row = 1, so that, in particular, the frame with B becomes active again, and = finally click somewhere in the frame with B, but at a vertical = coordinate below that of the previous click and horizontal coordinate in = the middle between column 1 and the horizontal coordinate of the = previous click. This gives me an unintended selection in the frame of B. Starting Emacs from the command line with -Q, but otherwise proceeding = the same way, gives the same. With Emacs23, making a build by myself, I found something to make the = phenomena to disappear: I the file keyboard.c of the source code of Emacs23, lines 1495 to 1499 = are: FOR_EACH_FRAME (tail, frame) { if (XFRAME (frame)->mouse_moved) return XFRAME (frame);=20 } I have inserted a new line of code before the closing brace so as to = have: FOR_EACH_FRAME (tail, frame) { if (XFRAME (frame)->mouse_moved) return XFRAME (frame);=20 return 0; } Could this make any sense? I found it just by trial and error, and have = no theoretical explanation. In any case, I worked with a Emacs23 build = with this hack for several mounts now and didn't encounter any problem, Thanks, Konrad Am 14.08.2011 um 11:13 schrieb Jan Dj=E4rv: > Hello. >=20 > I can not reproduce this in Emacs 23.3 or the trunk. Can you test the = trunk? Can you reproduce this when starting Emacs with -Q? >=20 > Jan D. >=20 >=20 > Konrad Podczeck skrev 2011-04-04 16:46: >> I observe the following. >>=20 >> Start Emacs and then open two files one after the other, which makes = them to appear in two separate frames, say A and B. Position the two = frames so that they overlap, say so that the respective active frame = covers half of the other frame. Let frame A be the active one and = position the cursor so that on its line there is text to the left as = well as to the right. Let me call this cursor position x. Now click into = frame B to make it active, and the click again into frame A first at a = place whose column is to the left of that of x, and then a second time = to a place whose column is to the the right of that of x. This yields an = unintended selection in frame A. >>=20 >> This behaviour is annoying if one works with several frames at the = same time. >>=20 >>=20 >>=20 >> In GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) >> of 2011-03-10 on black.porkrind.org >> Windowing system distributor `Apple', version 10.3.1038 >> configured using `configure '--host=3Dx86_64-apple-darwin' = '--build=3Di686-apple-darwin' '--with-ns' = 'build_alias=3Di686-apple-darwin' 'host_alias=3Dx86_64-apple-darwin' = 'CC=3Dgcc -mmacosx-version-min=3D10.5'' >>=20 >> Important settings: >> value of $LC_ALL: nil >> value of $LC_COLLATE: nil >> value of $LC_CTYPE: nil >> value of $LC_MESSAGES: nil >> value of $LC_MONETARY: nil >> value of $LC_NUMERIC: nil >> value of $LC_TIME: nil >> value of $LANG: nil >> value of $XMODIFIERS: nil >> locale-coding-system: nil >> default enable-multibyte-characters: t >>=20 >> Major mode: Fundamental >>=20 >> Minor modes in effect: >> tooltip-mode: t >> mouse-wheel-mode: t >> menu-bar-mode: t >> file-name-shadow-mode: t >> global-font-lock-mode: t >> blink-cursor-mode: t >> auto-encryption-mode: t >> auto-compression-mode: t >> line-number-mode: t >> transient-mark-mode: t >>=20 >> Recent input: >> > nd-emacs-bug-report> >>=20 >> Recent messages: >> For information about GNU Emacs and the GNU system, type C-h C-a. >>=20 >> Load-path shadows: >> None found. >>=20 >> Features: >> (shadow sort mail-extr message ecomplete rfc822 mml mml-sec >> password-cache mm-decode mm-bodies mm-encode mailcap mail-parse = rfc2231 >> rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc >> time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock = sha1 >> hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks >> lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image = fringe >> lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar >> mldrag 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 loaddefs button minibuffer faces cus-face files = text-properties >> overlay md5 base64 format env code-pages mule custom widget >> hashtable-print-readable backquote make-network-process ns multi-tty >> emacs) >>=20 >>=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 04:35:20 2011 Received: (at 8421) by debbugs.gnu.org; 22 Oct 2011 08:35:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHX31-0007ZE-Rj for submit@debbugs.gnu.org; Sat, 22 Oct 2011 04:35:20 -0400 Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHX2z-0007Z0-55 for 8421@debbugs.gnu.org; Sat, 22 Oct 2011 04:35:18 -0400 Received: from iph5.telenor.se (iph5.telenor.se [195.54.127.136]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 4692FC7D9 for <8421@debbugs.gnu.org>; Sat, 22 Oct 2011 10:33:52 +0200 (CEST) X-SENDER-IP: [85.225.45.201] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq5cAKp+ok5V4S3JPGdsb2JhbABDDokun2QZAQEBATcygW4BAQQBJy8jBQsLRi0MChQGiBMCslWHX2EEmTWLeDk X-IronPort-AV: E=Sophos;i="4.69,390,1315173600"; d="scan'208";a="57479475" Received: from c-c92de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.201]) by iph5.telenor.se with ESMTP; 22 Oct 2011 10:33:51 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id DD4C27FA058; Sat, 22 Oct 2011 10:33:50 +0200 (CEST) Subject: Re: bug#8421: 23.3; Strange handling of mouse events in Nextstep/Cocoa port of Emacs23 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <149F0295-B1A7-467A-8C0A-FDCB85D6B00B@univie.ac.at> Date: Sat, 22 Oct 2011 10:33:50 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <36C9591A-74DE-4BBA-9C4F-3D40D8B3EF54@swipnet.se> References: <180D0682-9D99-45F5-9385-37B53C0EF6F1@univie.ac.at> <4E47919E.1060103@swipnet.se> <149F0295-B1A7-467A-8C0A-FDCB85D6B00B@univie.ac.at> To: Konrad Podczeck X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 8421 Cc: 8421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) Hello. 18 okt 2011 kl. 22:23 skrev Konrad Podczeck: > Here the steps in more detail. >=20 > (1) Open Emacs from the finder. >=20 > (2) Via Apple-O, open some file, say A, and have the cursor in row 1 = and column 1. >=20 > (3) Via Apple-O, open another file, say B, and have the cursor in row = 1 and column 1. >=20 > (4) Position the frame of B so that it has the same vertical = coordinates on the screen as B, and horizontally overlaps the right half = of the frame of A. The frame with B thus remains the active one, with = the cursor position as given on (3). >=20 > (5) With mouse1, click on the frame of A at the cursor position there, = so that the frame with A becomes active, then click somewhere on the = visible part of the frame with B, but at vertical coordinate below row = 1, so that, in particular, the frame with B becomes active again, and = finally click somewhere in the frame with B, but at a vertical = coordinate below that of the previous click and horizontal coordinate in = the middle between column 1 and the horizontal coordinate of the = previous click. >=20 > This gives me an unintended selection in the frame of B. Using this steps, I can now reproduce it, even in the trunk. >=20 > I the file keyboard.c of the source code of Emacs23, lines 1495 to = 1499 are: >=20 > FOR_EACH_FRAME (tail, frame) > { > if (XFRAME (frame)->mouse_moved) > return XFRAME (frame);=20 > } >=20 > I have inserted a new line of code before the closing brace so as to = have: >=20 > FOR_EACH_FRAME (tail, frame) > { > if (XFRAME (frame)->mouse_moved) > return XFRAME (frame);=20 > return 0; > } >=20 >=20 > Could this make any sense? I found it just by trial and error, and = have no theoretical explanation. In any case, I worked with a Emacs23 = build with this hack for several mounts now and didn't encounter any = problem, As keyboard.c contains generic code and the problem does not show up on = X11 for example, I do not think this is the right fix. The problem must = be in the NS-specific code. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 31 13:32:08 2013 Received: (at 8421) by debbugs.gnu.org; 31 Dec 2013 18:32:08 +0000 Received: from localhost ([127.0.0.1]:54944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vy46p-0001Oe-H8 for submit@debbugs.gnu.org; Tue, 31 Dec 2013 13:32:08 -0500 Received: from mailfe01.swip.net ([212.247.154.1]:33105 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vy46m-0001OV-Gw for 8421@debbugs.gnu.org; Tue, 31 Dec 2013 13:32:05 -0500 X-T2-Spam-Status: No, hits=2.0 required=5.0 tests=BAYES_80 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 468381059 for 8421@debbugs.gnu.org; Tue, 31 Dec 2013 19:32:03 +0100 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Unarchive Message-Id: Date: Tue, 31 Dec 2013 19:31:58 +0100 To: "8421@debbugs.gnu.org" <8421@debbugs.gnu.org> Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 8421 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: -0.0 (/) unarchive 8421 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 31 13:37:06 2013 Received: (at 8421-done) by debbugs.gnu.org; 31 Dec 2013 18:37:06 +0000 Received: from localhost ([127.0.0.1]:54957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vy4Bd-0001YK-TW for submit@debbugs.gnu.org; Tue, 31 Dec 2013 13:37:06 -0500 Received: from mailfe09.tele2.se ([212.247.155.1]:50434 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vy4Bb-0001YA-Kw for 8421-done@debbugs.gnu.org; Tue, 31 Dec 2013 13:37:03 -0500 X-T2-Spam-Status: No, hits=1.5 required=5.0 tests=BAYES_60 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 291777825; Tue, 31 Dec 2013 19:37:02 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#8421: 23.3; Strange handling of mouse events in Nextstep/Cocoa port of Emacs23 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: Date: Tue, 31 Dec 2013 19:37:00 +0100 Content-Transfer-Encoding: 7bit Message-Id: <96C6328C-43CB-4BBF-8D35-F2AB6D064F68@swipnet.se> References: To: Konrad Podczeck X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 8421-done Cc: "8421-done@debbugs.gnu.org" <8421-done@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: -0.0 (/) Hello. This has been fixed in the trunk. Jan D. From unknown Tue Jun 24 14:00:19 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, 29 Jan 2014 12:24:03 +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