From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix `window-at' and `coordinates-in-window-p' Date: Sun, 25 Jul 2004 13:46:34 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200407241430.i6OEUqv27206@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090777637 29371 80.91.224.253 (25 Jul 2004 17:47:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2004 17:47:17 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 25 19:47:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bon5Z-0004pp-00 for ; Sun, 25 Jul 2004 19:47:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bon8Y-000471-Ot for ged-emacs-devel@m.gmane.org; Sun, 25 Jul 2004 13:50:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bon89-00041J-5D for emacs-devel@gnu.org; Sun, 25 Jul 2004 13:49:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bon88-00040l-1s for emacs-devel@gnu.org; Sun, 25 Jul 2004 13:49:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bon87-00040U-UC for emacs-devel@gnu.org; Sun, 25 Jul 2004 13:49:47 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bon51-0008S7-5X for emacs-devel@gnu.org; Sun, 25 Jul 2004 13:46:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Bon50-00007E-K7; Sun, 25 Jul 2004 13:46:34 -0400 Original-To: lorentey@elte.hu (=?iso-8859-2?Q?L=F5rentey_K=E1roly?=) In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25943 I think it's easier to adjust the pixel coordinates right inside coordinates_in_window_p, which both functions use: This is not clean, because it gives the arguments of coordinates_in_window_p a peculiar meaning (and doesn't document it, by the way). It is much better to keep their meanings consistent with the rest of Emacs. I will fix the other call. Meanwhile, I fixed the other reported bug in coordinates-in-window-p.