all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Dmitry Antipov <dmantipov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: [RFC] some reworking of struct window
Date: Thu, 21 Mar 2013 19:50:05 -0400	[thread overview]
Message-ID: <jwv38voxqjl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83620kzk8z.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Mar 2013 20:21:48 +0200")

>> +enum window_type
>> +  {
>> +    WINDOW_LEAF,
>> +    WINDOW_HORIZONTAL_COMBINATION,
>> +    WINDOW_VERTICAL_COMBINATION,
>> +  };
> The test BUFFERP (w->object) already gives you the same info as
> WINDOW_LEAF type, no?

Right, we could probably replace window_type by a boolean, used only for
the "child is a window" case and indicating whether the split is
vertical or horizontal.


        Stefan



  reply	other threads:[~2013-03-21 23:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  9:39 [RFC] some reworking of struct window Dmitry Antipov
2013-03-21 11:38 ` martin rudalics
2013-03-21 18:45   ` Eli Zaretskii
2013-03-21 21:17     ` martin rudalics
2013-03-21 14:26 ` Davis Herring
2013-03-21 14:46 ` Stefan Monnier
2013-03-21 15:01   ` Dmitry Antipov
2013-03-21 17:40     ` Eli Zaretskii
2013-03-21 18:21 ` Eli Zaretskii
2013-03-21 23:50   ` Stefan Monnier [this message]
2013-03-22  7:40     ` Alternate design [Was: Re: [RFC] some reworking of struct window] Dmitry Antipov
2013-03-22 13:34       ` Stefan Monnier
2013-03-25 15:29         ` Dmitry Antipov
2013-03-25 19:02           ` Stefan Monnier
2013-03-22  6:13   ` [RFC] some reworking of struct window Dmitry Antipov
2013-03-22  8:47     ` Eli Zaretskii

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=jwv38voxqjl.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --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.