From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4892: compute_motion, mouse_position Date: Mon, 09 Nov 2009 14:46:17 -0500 Message-ID: References: <43A5D82E-4F2B-41C3-BC8E-598B3D44434F@gmail.com> Reply-To: Stefan Monnier , 4892@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257797260 18209 80.91.229.12 (9 Nov 2009 20:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 20:07:40 +0000 (UTC) Cc: 4892@emacsbugs.donarmstrong.com To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 09 21:07:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N7aWS-0006yV-O0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 21:07:32 +0100 Original-Received: from localhost ([127.0.0.1]:32791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7aWR-0006RQ-Nk for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 15:07:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7aWM-0006OB-4U for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 15:07:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7aWH-0006Jm-KW for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 15:07:25 -0500 Original-Received: from [199.232.76.173] (port=47845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7aWH-0006Je-Gu for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 15:07:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53329) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7aWG-0003MH-NO for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 15:07:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA9K7HYC023690; Mon, 9 Nov 2009 12:07:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA9Jt5ZR021955; Mon, 9 Nov 2009 11:55:05 -0800 Resent-Date: Mon, 9 Nov 2009 11:55:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 09 Nov 2009 19:55:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4892 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4892-submit@emacsbugs.donarmstrong.com id=B4892.125779598221489 (code B ref 4892); Mon, 09 Nov 2009 19:55:04 +0000 Original-Received: (at 4892) by emacsbugs.donarmstrong.com; 9 Nov 2009 19:46:22 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA9JkJ2J021486 for <4892@emacsbugs.donarmstrong.com>; Mon, 9 Nov 2009 11:46:21 -0800 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id nA9JkHWM007921; Mon, 9 Nov 2009 14:46:17 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 95E533A1DA; Mon, 9 Nov 2009 14:46:17 -0500 (EST) In-Reply-To: <43A5D82E-4F2B-41C3-BC8E-598B3D44434F@gmail.com> (David Reitter's message of "Mon, 9 Nov 2009 12:10:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3402=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 09 Nov 2009 15:07:25 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32501 Archived-At: > I've run into problems with mouse-position and compute-motion while > debugging the broken drag&drop mechanism for faces in the NS port. > These problems are probably not specific to NS. Both sound like generic bugs, indeed. Until they get fixed, I recommend you try and use posn-at-point and posn-at-x-y rather than compute-motion, whenever possible. For mouse-position, try to use the position info included in input (mouse) events instead. Stefan