[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse-drag-mode-line should maybe use window-tree

From: Lennart Borgman
Subject: Re: mouse-drag-mode-line should maybe use window-tree
Date: Mon, 05 Dec 2005 01:37:12 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]