From: "Roland Winkler" <winkler@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,
"N. Jackson" <nljlistbox2@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: Suggesting `frame-split-biggest-window' Re: customize location and shape of a new window in a frame
Date: Fri, 14 Sep 2018 00:17:04 -0500 [thread overview]
Message-ID: <17488.90794.824863.23451@gargle.gargle.HOWL> (raw)
In-Reply-To: <5B9A1599.2060800@gmx.at>
On Thu Sep 13 2018 martin rudalics wrote:
> One functionality Emacs is sadly lacking is that of orderly setting up
> and saving compositions of windows in form of a rectangle. Eclipse
> calls these "perspectives", in Emacs the concept of "window state"
> comes most closely. Currently, you have to set up such a state by
> using a sequence of 'split-window' calls which requires to know the
> intrinsics of window splitting, the relationship of parent and child
> windows, window combinations and the like. Using 'display-buffer' for
> setting up states will hardly produce good results.
Much agreed!
How is it possible that (as confirmed on this list)
gnus-window-to-buffer and gnus-add-configuration can be used to make
BBDB interact with Gnus windows as expected, while BBDB's function
bbdb-pop-up-window for creating BBDB windows does not know anything
about Gnus' mechanism for managing window layouts? When I first
heard of gnus-window-to-buffer and gnus-add-configuration I thought
this cannot work with BBDB because Gnus will bring its own
hand-crafted functions to create windows, functions that obey the
customizations using gnus-window-to-buffer and gnus-add-configuration.
> It would be nice to have some sort of basic, prefabricated layouts
> like the ones you sketched and choose from them.
Again: much agreed!
Can `display-buffer-alist' mentioned by Stefan do that (at least: in
principle)? I looked at its documentation in the elisp manual (not
the Emacs manual!), and I could not figure out how to use this
variable to achieve the goals discussed here. Does
`display-buffer-alist' provide the same functionality as the Gnus
code discussed in this thread?
Certainly, it would be nice if different packages like Gnus and
other MUAs could use the same code for the generic problem of
defining window layouts so that a package like BBDB can interact
with this, too.
next prev parent reply other threads:[~2018-09-14 5:17 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 20:31 customize location and shape of a new window in a frame Roland Winkler
2018-09-11 21:22 ` Eric Abrahamsen
2018-09-12 19:36 ` N. Jackson
2018-09-12 20:12 ` Eric Abrahamsen
2018-09-12 23:21 ` Suggesting `frame-split-biggest-window' " N. Jackson
2018-09-13 7:45 ` martin rudalics
2018-09-13 13:07 ` N. Jackson
2018-09-14 8:31 ` martin rudalics
2018-09-13 16:33 ` Eric Abrahamsen
2018-09-14 8:33 ` martin rudalics
2018-09-14 16:56 ` Eric Abrahamsen
2018-09-15 8:17 ` martin rudalics
2018-09-14 5:17 ` Roland Winkler [this message]
2018-09-14 8:33 ` martin rudalics
2018-09-14 12:01 ` Stefan Monnier
2018-09-15 4:12 ` Roland Winkler
2018-09-15 4:58 ` Drew Adams
2018-09-15 8:18 ` martin rudalics
2018-09-15 16:34 ` Roland Winkler
2018-09-15 18:34 ` Stefan Monnier
2018-09-15 19:21 ` Roland Winkler
2018-09-15 12:24 ` N. Jackson
2018-09-15 14:56 ` Stefan Monnier
2018-09-15 0:46 ` Richard Stallman
2018-09-15 8:17 ` martin rudalics
2018-09-16 3:14 ` Richard Stallman
2018-09-16 19:05 ` John Yates
2018-09-16 19:22 ` Eli Zaretskii
2018-09-16 20:30 ` Drew Adams
2018-09-13 16:38 ` Eric Abrahamsen
2018-09-12 14:54 ` Stefan Monnier
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=17488.90794.824863.23451@gargle.gargle.HOWL \
--to=winkler@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=eric@ericabrahamsen.net \
--cc=monnier@iro.umontreal.ca \
--cc=nljlistbox2@gmail.com \
--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.