From: martin rudalics <rudalics@gmx.at>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: window groups
Date: Fri, 30 May 2008 09:08:34 +0200 [thread overview]
Message-ID: <483FA7F2.90503@gmx.at> (raw)
In-Reply-To: <E1K1syN-0005EA-8S@fencepost.gnu.org>
> One of the problems of integrating ECB into Emacs is to avoid that
> "other" Emacs operations interfere with those of ECB (where other
> operations include popping up a *help*, *info*, or *backtrace* window).
>
> This is an attempt to design a feature to distinguish between the
> "editing area" and other add-ons, it seems. Is that right?
It's merely keeping apart IDE specific objects like the editing area or
the IDE's own help system from Emacs specific *help* or *info* buffers.
> But it also attempts to generalize this by allowing for more than one
> group. Do you see a scenario in which having more than one window
> group in one frame would be used?
All IDEs I know of use just one edit area. Stefan mentioned that view
areas could be considered a group as well and there are some ECB layouts
where views are split both horizontally _and_ vertically. In that case
using groups within the view area might be useful.
> Without such a scenario, we have no
> basis to think about what operations ought to do in such a case, and thus
> no basis for the generalization.
One scenario is that of multiple speedbar/window combinations appearing
simultaneously on a frame. Every such combination would form a separate
window group.
> Based on what you've said, it seems that there are three kinds of
> buffers that might appear in something like ECB. (I am partly guessing,
> since I have not seen ECB itself.)
I'm guessing as well.
> * File buffers
>
> * Special buffers of ECB
>
> * Other buffers such as *Help*, *Info*, and so on.
>
> I think the right way to design this feature is to figure out the
> right thing to do with windows for these three kinds of buffers,
> and then design an interface to request that.
Yes.
> But we should not try to make it any more general than that
> until we have use cases to guide our thinking about them.
>
> By default `display-buffer' does not invoke `split-window' with GROUP
> set to t - hence these windows always appear outside the rectangular
> ares reserved for group windows. The same holds for any application
> that is not aware of the group the selected window belongs to.
>
> ...
>
> Interactively, `split-window-horizontally' and `split-window-vertically'
> would call `split-window' with GROUP set to t iff WINDOW is part of a
> group.
>
> What about C-x 4 C-f? If you do that inside ECB, should the new window
> be part of the ECB group?
I think so but it should be customizable. The default value would have
to be decided individually for each function.
next prev parent reply other threads:[~2008-05-30 7:08 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 [this message]
2008-05-29 15:18 ` Chong Yidong
2008-05-30 7:06 ` martin rudalics
2008-05-29 16:10 ` Chong Yidong
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=483FA7F2.90503@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=rms@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.