all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: window groups
Date: Thu, 29 May 2008 12:10:04 -0400	[thread overview]
Message-ID: <87wsldgkgz.fsf@stupidchicken.com> (raw)
In-Reply-To: <483D4E9A.9020001@gmx.at> (martin rudalics's message of "Wed, 28 May 2008 14:22:50 +0200")

martin rudalics <rudalics@gmx.at> writes:

> Conceptually, (2) should be sufficient to satisfy the requirements of
> most IDE layouts like those of ECB or Eclipse "perspectives".
>
> - IDEs would typically specify one window group ("edit-area" in ECB,
>   "editor" in Eclipse) for each frame.  Splitting any window of that
>   group would be done by setting the GROUP argument for `split-window'
>   to t.  Other applications would not interfere with the layout of that
>   group since, by default, their GROUP argument would not be t.
>
> - IDE windows around that group (Eclipse "views") would be created as
>   follows: For the first such window either (i) call `split-window' with
>   GROUP set to `root' to obtain a full-height|width view, or (ii) call
>   `split-window' with GROUP set to nil to obtain a window just as
>   high|wide as the window group.  Further windows would be created by
>   splitting an existing window with GROUP set to nil (or t for the more
>   complex layout-outlines of ECB ).
>
>   Approach (i) appears best for displaying views on the left or right of
>   the edit area (file or tag views like the speedbar).  Approach (ii)
>   might be given preference for displaying windows above or below the
>   edit area (compile, shell, or grep views).

It seems to me that, in practice, any Elisp application that needs to
control the window configuration will probably want to control over the
entire frame.  Otherwise, the resulting windows will likely be too
small.  WDYT?  If so, maybe all that needs to be done, infrastructure
wise, is a few functions for, e.g., creating window configurations from
scratch, rather than window groups.

I also think that the main problem here is the *user interface* to allow
the user to choose one of several window configurations, akin to the
"perspectives browser".  Have you thought about how that might be
implemented?




  parent reply	other threads:[~2008-05-29 16:10 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 12:22 window groups martin rudalics
2008-05-29  1:39 ` Richard M Stallman
2008-05-29  9:26   ` martin rudalics
2008-05-29 16:30     ` Stefan Monnier
2008-05-30  7:05       ` martin rudalics
2008-05-30 13:58         ` Stefan Monnier
2008-05-30 19:27           ` martin rudalics
2008-05-31  4:52             ` Stefan Monnier
2008-05-31  9:10               ` martin rudalics
2008-05-30  0:59     ` Richard M Stallman
2008-05-30  7:08       ` martin rudalics
2008-05-31  2:07         ` Richard M Stallman
2008-05-31  6:17           ` Daniel Colascione
2008-05-31  7:09             ` Miles Bader
2008-05-31  9:10           ` martin rudalics
2008-05-30  0:59     ` Richard M Stallman
2008-05-30  7:08       ` martin rudalics
2008-05-29 15:18 ` Chong Yidong
2008-05-30  7:06   ` martin rudalics
2008-05-29 16:10 ` Chong Yidong [this message]
2008-05-29 19:11   ` Miles Bader
2008-05-29 21:40     ` Chong Yidong
2008-05-29 22:33       ` Miles Bader
2008-05-29 23:53         ` Thomas Lord
2008-05-30  7:07           ` martin rudalics
2008-05-30 16:42             ` Thomas Lord
2008-05-30 16:08               ` Stefan Monnier
2008-05-31  9:10               ` martin rudalics
2008-05-31 11:52                 ` Juanma Barranquero
2008-05-31 13:36                   ` martin rudalics
2008-05-31 17:22                     ` Thomas Lord
2008-05-31 22:37                       ` martin rudalics
2008-06-02  3:49                         ` Thomas Lord
2008-06-02  9:34                           ` martin rudalics
2008-06-02 21:32                             ` Thomas Lord
2008-06-03  5:52                             ` Miles Bader
2008-06-03  9:02                               ` martin rudalics
2008-06-03  9:51                                 ` René Kyllingstad
2008-06-03 11:26                                   ` martin rudalics
2008-06-03 11:54                                     ` Stephen Berman
2008-06-03 13:21                                       ` René Kyllingstad
2008-06-08  2:39                                         ` Stefan Monnier
2008-08-18 15:37                                           ` René Kyllingstad
2008-05-30  7:07         ` martin rudalics
2008-05-30  7:07     ` martin rudalics
2008-05-30  7:07   ` 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=87wsldgkgz.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.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 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.