From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#16647: Imprecisions with window-resizing cursors Date: Fri, 07 Feb 2014 17:32:23 +0000 Message-ID: <877g96g76g.fsf@gmail.com> References: <87y51qnlfe.fsf@gmail.com> <52F21707.9050509@gmx.at> <87k3d81tqz.fsf@gmail.com> <52F3635C.9040408@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391794392 29488 80.91.229.3 (7 Feb 2014 17:33:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 17:33:12 +0000 (UTC) Cc: 16647@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 18:33:19 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 1WBpIj-00062J-Br for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 18:33:17 +0100 Original-Received: from localhost ([::1]:42871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpIi-00012U-Nu for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 12:33:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpIa-00011O-4m for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:33:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBpIU-0002Fn-A0 for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:33:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpIU-0002Fj-6H for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBpIT-0001Qt-L4 for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16647-submit@debbugs.gnu.org id=B16647.13917943505460 (code B ref 16647); Fri, 07 Feb 2014 17:33:01 +0000 Original-Received: (at 16647) by debbugs.gnu.org; 7 Feb 2014 17:32:30 +0000 Original-Received: from localhost ([127.0.0.1]:55337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBpHw-0001Pz-UI for submit@debbugs.gnu.org; Fri, 07 Feb 2014 12:32:29 -0500 Original-Received: from mail-we0-f175.google.com ([74.125.82.175]:32805) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBpHt-0001Pq-QY for 16647@debbugs.gnu.org; Fri, 07 Feb 2014 12:32:26 -0500 Original-Received: by mail-we0-f175.google.com with SMTP id q59so2486905wes.6 for <16647@debbugs.gnu.org>; Fri, 07 Feb 2014 09:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=PXxbNfpBXxRicz5SO3ICJiMYfN47mGQrTVPmIZi4eU8=; b=RMyv90yqsRYMJA2imlOVTAPb55sVBBmY726gPcnfNloTYIaWjJPWjzao6kRrcNdhN1 bBbA/cgoTCGOQKhb0+p1Mol3QffsX90hxrJzhlZS1XBQySyIJoml97o4tY+0IPyqbzSi 6q9jpbl2QF0guCITdRrH0mwlefV6pcOpdDEnuh6I7uYYB2EEpWB9KT7Xbn+pgkKUU9Qu QuUfrkgjYSJnpfauoYJ41StqQn4DRBJN6BUJ9BLzodj5civqdmlnMwlv2k77WcxAvjdv OGN8Vqu27+osfwGEduYEEunQBE83gylBBO/tfZSaOSFAZjb+NAL34S0w3wlc8V55bwp9 AQQg== X-Received: by 10.180.37.162 with SMTP id z2mr674907wij.51.1391794344879; Fri, 07 Feb 2014 09:32:24 -0800 (PST) Original-Received: from ubuntu ([2.125.179.120]) by mx.google.com with ESMTPSA id jw4sm12277258wjc.20.2014.02.07.09.32.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 07 Feb 2014 09:32:24 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2 In-reply-to: <52F3635C.9040408@gmx.at> 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:84830 Archived-At: martin rudalics writes: > (1) Check whether setting the right-divider frame parameter to 1 suffers > from the same problem. No change. > (2) Try putting `coordinates-in-window-p' in a loop where you simulate > (by incrementing the car of the first argument) the course of the > mouse and display the return value via a message. > > (3) In window.c DEFVAR_LISP a new variable, in coordinates_in_window set > that variable to the value coordinates_in_window is about to return, > display the value of that variable in the modeline, and then move > the mouse to find out what it reports. > (progn (scroll-bar-mode -1) (require 'cl-lib) (run-with-timer 0 0.1 (lambda () (let ((win-list (window-list)) (func (apply-partially 'coordinates-in-window-p (cdr (mouse-position))))) (message "%s" (cl-find-if func win-list)))))) I've tried the snippet above. There where imprecisions, but shouldn't that be expected, given `coordinates-in-window-p' returns characters and not pixels? Should I try something similar with `track-mouse' and pixels? Evgeni