From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4892: compute_motion, mouse_position Date: Mon, 9 Nov 2009 12:10:17 -0500 Message-ID: <43A5D82E-4F2B-41C3-BC8E-598B3D44434F@gmail.com> Reply-To: David Reitter , 4892@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257788844 19433 80.91.229.12 (9 Nov 2009 17:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 17:47:24 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 09 18:47:17 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 1N7YKg-0003p4-PO for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 18:47:15 +0100 Original-Received: from localhost ([127.0.0.1]:42653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7YKg-0001lv-94 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 12:47:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7Y1W-0003r2-DP for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 12:27:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7Y1R-0003oj-QH for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 12:27:25 -0500 Original-Received: from [199.232.76.173] (port=55227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7Y1R-0003oe-Kx for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 12:27:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55881) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7Y1R-0005VH-1g for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 12:27: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 nA9HRHSZ008262; Mon, 9 Nov 2009 09:27:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA9HKO3O007489; Mon, 9 Nov 2009 09:20:24 -0800 Resent-Date: Mon, 9 Nov 2009 09:20:24 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Reitter Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 09 Nov 2009 17:20:21 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4892 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12577866296331 (code B ref -1); Mon, 09 Nov 2009 17:20:21 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Nov 2009 17:10:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA9HARup006324 for ; Mon, 9 Nov 2009 09:10:28 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:49175 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N7Xl4-0003Do-IL for emacs-pretest-bug@gnu.org; Mon, 09 Nov 2009 12:10:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N7Xkz-0002Uj-Se for emacs-pretest-bug@gnu.org; Mon, 09 Nov 2009 12:10:25 -0500 Original-Received: from qw-out-1920.google.com ([74.125.92.144]:62196) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7Xkz-0002UV-E7 for emacs-pretest-bug@gnu.org; Mon, 09 Nov 2009 12:10:21 -0500 Original-Received: by qw-out-1920.google.com with SMTP id 5so637591qwc.24 for ; Mon, 09 Nov 2009 09:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=MAJ/vyTbchIw7RzUFnE5zcPOJQOd3dfJWtF+YGbbtoM=; b=DWv2COeGZI/TcDndpSjTrQqrmIL/1otgCmAgKE1z74ZIOGewBEYMPgQvF8XGnNHCqe N3rOROQDWzzVs9yaDKyPdAFzA3QM/kytKz5EaDEzQMLqA0eSYCuuNpxKyP3JMDIV9VnK 0fjd026C3dArEKhdrHsGRUWzTbUTGjqtBNMrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=k7QWKMC51MtzxHuCd1/AswWndESA46prF5Dd/G+2l5kh1ThugrOiXujrAO5GRLkP79 /+M7sxh42Pqr/iKWD/byaV/rW7ZgeATvGhoFghebuw7wxtIqP1X95h2l6KlxVglISsUU o8Rj4SB3MZDzXS3AEN3J6yMAu2KMhmdHkbSKs= Original-Received: by 10.224.29.136 with SMTP id q8mr4242492qac.51.1257786620874; Mon, 09 Nov 2009 09:10:20 -0800 (PST) Original-Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id 23sm592242qyk.7.2009.11.09.09.10.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Nov 2009 09:10:20 -0800 (PST) X-Mailer: Apple Mail (2.1076) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 09 Nov 2009 12:27: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:32496 gmane.emacs.pretest.bugs:25171 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. 1. (mouse-position) does not return the selected frame when several frames overlap (partially). To reproduce, I arrange the frames on the screen, then select the lower one by clicking with the mouse, then the one that's supposed to go on top. With the mouse cursor still over the intersecting section (on top of the upper frame), I do M-: (mouse- position). This will then return the wrong frame. Reproducible with Emacs -Q (NS port with NS frames) 2. (compute-motion) does not correspond to what's shown on the screen when word-wrap is turned on. 3. (mouse-position) is incorrect when face-remapping-alist is used, enlarging the default face, for example. I hope these are sufficiently specific to understand and identify the code, if not reproduce. Let me know if not, and I can elaborate. In GNU Emacs 23.1.50.1 (i386-apple-darwin10.0.0, NS apple- appkit-1038.11) of 2009-10-08 on scarlett.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x' 'CC=gcc -arch i386'' 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: which-function-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x 5 2 : ( m o u s e - p o s i t i o n ) : : : s-n C-x k s-v C-x C-e C-x C-f t e s t C-y x n s - s h o w - c o l o c o l o x e n l a r C-g x z o o m C-g x g r o w C-g Recent messages: Mark set # Auto-saving... # Making completion list... Quit [2 times] Quit Load-path shadows: None found.