From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-mode-line should maybe use window-tree Date: Sat, 26 Nov 2005 11:21:32 +0100 Message-ID: <4388372C.2010305@student.lu.se> References: <43850983.8000707@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133008632 27364 80.91.229.2 (26 Nov 2005 12:37:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2005 12:37:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 26 13:37:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EfzHv-0000Rq-3n for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2005 13:36:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfzHu-0007VK-Ip for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2005 07:36:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EfxbL-0002xR-5q for emacs-devel@gnu.org; Sat, 26 Nov 2005 05:48:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EfxWv-0001Bv-CM for emacs-devel@gnu.org; Sat, 26 Nov 2005 05:43:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfxBX-0007wb-GF for emacs-devel@gnu.org; Sat, 26 Nov 2005 05:21:37 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EfxBW-0000kh-G1; Sat, 26 Nov 2005 05:21:34 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 43871827000590C1; Sat, 26 Nov 2005 11:21:33 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: rms@gnu.org 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: , 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:46610 Archived-At: Richard M. Stallman wrote: > Looking a bit at `mouse-drag-mode-line' I found that it in certain > window configuration might fail because it does not seem aware of that > window splitting is two dimensional. > >Could you please be more specific? > 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. Maybe that could fail, I am not sure. If the code is correct it must depend on the order in which `previous-window' returns the windows. I have not however been able to find a window configuration where it fails so I guess that the code is correct. But maybe it deserves a comment in `mouse-drag-window-above'?