unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Subwindow terminology
Date: Sun, 06 Nov 2011 01:16:31 -0800	[thread overview]
Message-ID: <m2aa89d30w.fsf@boostpro.com> (raw)
In-Reply-To: <4EB64A64.8080902@gmx.at> (martin rudalics's message of "Sun, 06 Nov 2011 09:50:44 +0100")


on Sun Nov 06 2011, martin rudalics <rudalics-AT-gmx.at> wrote:

>> 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.

It's a broken metaphor if a child of X is not also a descendant of X,
and terribly counter-intuitive.  I don't have any idea what it means for
a child window to be adopted, and I don't think it matters.

>> 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?

I wasn't aiming my suggestion at you in particular.  I don't think
anything, the particular alternative I suggested might not have been
considered.

> 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.

I'm sorry, but you did.  You said "often a parent window is
genealogically a descendant..."  Of course, you were explaining why the
term descendant was misleading, but I wouldn't have posted at all if it
weren't for the fact that you used these terms together.


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



  reply	other threads:[~2011-11-06  9:16 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
2011-11-06  9:16           ` Dave Abrahams [this message]
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

  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=m2aa89d30w.fsf@boostpro.com \
    --to=dave@boostpro.com \
    --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 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).