From: martin rudalics <rudalics@gmx.at>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-devel@gnu.org
Subject: Re: Subwindow terminology
Date: Sun, 06 Nov 2011 09:50:44 +0100 [thread overview]
Message-ID: <4EB64A64.8080902@gmx.at> (raw)
In-Reply-To: <m2obwqs44n.fsf@boostpro.com>
> So sometimes a child window is not necessarily a descendant window? If
> so, that's just horrible.
Some child windows have been adopted by their parents, others not.
What's so horrible about that? Alternatively, we would have to demand
that a fresh frame always has a parent window with one child window
which doesn't strike me as very useful.
> If you don't want to change the "subwindow"
> terminology, maybe "child window" should become "immediate subwindow" or
> "direct subwindow."
I already regret that I started to describe the window tree at all. Do
you think that I did not consider alternative ways of doing that?
Window trees are described in terms of four well known concepts - root
window, parent window, child window and subwindow. All these relations
have been in the Emacs sources for years (think of `frame-root-window',
the parent and vchild/hchild fields in the window structure, or the
routine delete_all_subwindows) and I don't have much interest changing
anything here. I didn't use the terms "ancestor" and "descendant"
because these would introduce a genealogical connotation that doesn't
exist.
The terms "sibling" and "combination" are occasionally useful for
describing the behavior of splitting and deleting windows. In any case,
these terms have been widely used in Emacs 23 so I don't see a reason to
change that.
In addition I used the term "internal" for windows that are not visible
on the screen and "live" or "leaf" for visible windows. I don't like
the term "live" for the latter but this has been in Emacs ever since, so
there's little hope to change this. We could abandon the term "internal
window" in favor of "parent window" as Stefan suggested but this would
lead to a connotation like "parent windows are not live" which I don't
like (at least not as an explicit dichotomy).
martin
next prev parent reply other threads:[~2011-11-06 8:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-05 4:36 Subwindow terminology Chong Yidong
2011-11-05 11:23 ` martin rudalics
2011-11-05 12:50 ` Stephen J. Turnbull
2011-11-05 13:28 ` martin rudalics
2011-11-05 13:36 ` Stephen J. Turnbull
2011-11-05 15:05 ` martin rudalics
2011-11-05 16:54 ` Stephen J. Turnbull
2011-11-05 20:31 ` Dave Abrahams
2011-11-06 8:50 ` martin rudalics [this message]
2011-11-06 9:16 ` Dave Abrahams
2011-11-06 10:59 ` martin rudalics
2011-11-06 11:36 ` Dave Abrahams
2011-11-06 13:24 ` martin rudalics
2011-11-06 9:26 ` Stephen J. Turnbull
2011-11-06 10:59 ` martin rudalics
2011-11-06 11:11 ` Eli Zaretskii
2011-11-06 23:17 ` Stephen J. Turnbull
2011-11-07 10:18 ` martin rudalics
2011-11-08 9:55 ` Chong Yidong
2011-11-06 22:15 ` Stephen J. Turnbull
2011-11-07 10:17 ` martin rudalics
2011-11-07 10:16 ` 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=4EB64A64.8080902@gmx.at \
--to=rudalics@gmx.at \
--cc=dave@boostpro.com \
--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 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.