From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-mode-line should maybe use window-tree Date: Sat, 26 Nov 2005 19:31:54 -0500 Message-ID: References: <43850983.8000707@student.lu.se> <4388372C.2010305@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1133052084 5443 80.91.229.2 (27 Nov 2005 00:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2005 00:41:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 27 01:41:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgAb6-0002U7-37 for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2005 01:40:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgAb4-0003K3-NB for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2005 19:40:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgASi-0005a3-6l for emacs-devel@gnu.org; Sat, 26 Nov 2005 19:32:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgAST-0005VH-Uu for emacs-devel@gnu.org; Sat, 26 Nov 2005 19:32:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgASR-0005TG-CF for emacs-devel@gnu.org; Sat, 26 Nov 2005 19:31:56 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgASR-0004O6-HZ for emacs-devel@gnu.org; Sat, 26 Nov 2005 19:31:55 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EgASQ-0000Ku-76; Sat, 26 Nov 2005 19:31:54 -0500 Original-To: Lennart Borgman In-reply-to: <4388372C.2010305@student.lu.se> (message from Lennart Borgman on Sat, 26 Nov 2005 11:21:32 +0100) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46634 Archived-At: Sorry, forgot to write that it is the code in `mouse-drag-window-above' that looks suspicious to me. It seems like it only compares the top of the parameter window with the bottom of other windows. Yes, it is finding a window whose bottom is at the same height as the top of this one. Are you saying it might find the wrong window? It could find a window that ends at the same vertical position as the right window, but is located to the side of it? I am not sure if that bug can occur. Can you add code to verify that the window found overlaps in the horizontal dimension with the given window?