unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: mouse-drag-mode-line should maybe use window-tree
Date: Mon, 05 Dec 2005 00:20:25 +0100	[thread overview]
Message-ID: <439379B9.4050003@student.lu.se> (raw)
In-Reply-To: <E1EiFXp-000402-5Y@fencepost.gnu.org>

Richard M. Stallman 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.
>  
>
After spending some time wondering why you wrote the new function I 
realized that it was just enough to nicely fit the needs of the resizing 
functions. The new function also seems to work in all cases I have 
tested so far. Thanks for this, it made it much easier to write the new 
functions for balance-windows. I have replaced `enlarge-window' with 
`adjust-window-trailing-edge' everywhere in the new version:

    http://ourcomments.org/Emacs/DL/elisp/test/bwcvs.el

I am stil waiting for someone to test this and give some feedback. 
(There is still a little bit cleanup to do in the code, but I wait with 
this until I have seen that using the new functions have been tested a 
bit more.) So please test this.

A little recall of the proposed new functions:

   C-x +     -- this now starts a new temporary minor mode for resizing, 
bw-window-resize-mode

In this temporary minor mode the keybindings are:

   +        -- new balance-windows, called bw-balance
   .        --  balance siblings only, called bw-balance-siblings
   arrow keys   -- interactive resize, modelled after GUI keyboard 
resize on w32

  reply	other threads:[~2005-12-04 23:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  0:29 mouse-drag-mode-line should maybe use window-tree Lennart Borgman
2005-11-25 15:50 ` Richard M. Stallman
2005-11-25 18:37   ` Peter Whaite
2005-11-27 19:36     ` Richard M. Stallman
2005-12-01 23:56       ` Lennart Borgman
2005-12-02 18:22         ` Richard M. Stallman
2005-12-04 23:20           ` Lennart Borgman [this message]
2005-12-05 16:37             ` Richard M. Stallman
2005-12-05 16:48               ` Lennart Borgman
2005-12-06 16:41                 ` Richard M. Stallman
2005-12-07 22:42                   ` Lennart Borgman
2005-12-05  0:20           ` Stefan Monnier
2005-12-05  0:37             ` Lennart Borgman
2005-12-05  0:42               ` Lennart Borgman
2005-12-05  0:42               ` Stefan Monnier
2005-12-05 16:37             ` Richard M. Stallman
2005-12-05 17:04               ` Lennart Borgman
2005-12-06 16:43                 ` Richard M. Stallman
2005-11-26 10:21   ` Lennart Borgman
2005-11-27  0:31     ` Richard M. Stallman
2005-11-28 23:57       ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439379B9.4050003@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).