all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: window-resizable confusion
Date: Wed, 09 Nov 2011 14:47:59 +0800	[thread overview]
Message-ID: <87hb2daj1c.fsf@gnu.org> (raw)
In-Reply-To: <4EB97114.3000709@gmx.at> (martin rudalics's message of "Tue, 08 Nov 2011 19:12:36 +0100")

martin rudalics <rudalics@gmx.at> writes:

> The answer to the question whether a window W can be resized consists of
> two parts - a "down" part and an "up" part.  In the down part I check
> whether resizing would violate the min-/fixed-size restrictions of W or,
> if W is internal, the leaf windows of W's subtree.  In the up part I
> check whether resizing W would violate the min-/fixed-size restrictions
> of W's siblings, its parent's siblings, ...
>
> NODOWN non-nil means do not perform the down part because it's not
> needed, for example, when W is deleted or I already know that W or its
> subwindows can be given the requested size.
>
> The doc-string is obviously silly in this respect.  If you can do any
> better, please try.  Otherwise, I'll fix it somehow.

I think the NOUP and NODOWN arguments should be replaced with a single
argument, SUBTREE.  If the value is `upper-tree', that would be
equivalent to NODOWN non-nil; if the value is `lower-tree', that would
be equivalent to NOUP non-nil.



  reply	other threads:[~2011-11-09  6:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 15:10 window-resizable confusion Chong Yidong
2011-11-08 18:12 ` martin rudalics
2011-11-09  6:47   ` Chong Yidong [this message]
2011-11-09  9:45     ` martin rudalics

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

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

  git send-email \
    --in-reply-to=87hb2daj1c.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.