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: Mon, 05 Dec 2005 01:37:12 +0100 Message-ID: <43938BB8.4060002@student.lu.se> References: <200511251837.jAPIbONx025976@brains.moreideas.ca> <438F8DA5.1040102@ourcomments.org> <87zmngbdts.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133743126 31715 80.91.229.2 (5 Dec 2005 00:38:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 00:38:46 +0000 (UTC) Cc: rms@gnu.org, emacs@whaite.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 05 01:38:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ej4Mp-0004Ju-QE for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 01:38:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej4Mv-0005l8-Vw for ged-emacs-devel@m.gmane.org; Sun, 04 Dec 2005 19:38:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ej4MN-0005l3-7d for emacs-devel@gnu.org; Sun, 04 Dec 2005 19:37:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ej4MK-0005kd-DZ for emacs-devel@gnu.org; Sun, 04 Dec 2005 19:37:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej4MJ-0005kY-Th for emacs-devel@gnu.org; Sun, 04 Dec 2005 19:37:36 -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 1Ej4Mh-0006fd-8r; Sun, 04 Dec 2005 19:37:59 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 43903C2400094B21; Mon, 5 Dec 2005 01:37:12 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: <87zmngbdts.fsf-monnier+emacs@gnu.org> 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:46978 Archived-At: Stefan Monnier wrote: >> To me the documentation for `adjust-window-trailing-edge' looks like it >> is doing the same thing as `enlarge-window' with preserve-before set to >> t. Am I missing something? >>They are not the same, because adjust-window-trailing-edge will never >>delete a window. >> >> > >Could you explain the choice of identifier? I have a hard time understanding >what "adjust-window-trailing-edge" can mean. What's a trailing edge? > > I think it comes from the structure of the window split tree. I believe siblings are ordered from top to bottom or from left to right depending on the split direction. So trailing edge is the edge at the bottom or at the right. >Couldn't we just change the `preserve-before' argument (which is new in >Emacs-22 anyway) instead? > > There is another nice feature of the new function: It takes a window argument. That means you do not have to set and reset the selected window.