all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "N. Jackson" <nljlistbox2@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,
	martin rudalics <rudalics@gmx.at>,
	Roland Winkler <winkler@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: Suggesting `frame-split-biggest-window' Re: customize location and shape of a new window in a frame
Date: Sat, 15 Sep 2018 08:24:24 -0400	[thread overview]
Message-ID: <87va773q4n.fsf@moondust.localdomain> (raw)
In-Reply-To: <jwv5zz8guik.fsf-monnier+Inbox@gnu.org> (Stefan Monnier's message of "Fri, 14 Sep 2018 08:01:07 -0400")

At 08:01 -0400 on Friday 2018-09-14, Stefan Monnier wrote:
>
>> The purpose of 'display-buffer-alist' is to set up a window for
>> one single buffer. It already fails miserably to make sure that
>> two buffers get displayed simultaneously as the thread of
>> Bug#32607 shows.
>
> Exactly. So for the purpose of "orderly setting up and saving
> compositions of windows", it's of no use, but in the specific case
> of BBDB (which just needs to (temporarily) pop up a single
> buffer), it should be sufficient.

The BBDB window isn't as ephemeral as a completions window is (for
example) which just needs to pop up temporarily. Here I have the
BBDB window displayed at all times when I'm reading mail and news --
it displays the records for the sender and/or recipients of the
message.

Perhaps `display-buffer-alist' is sufficient for the BBDB case. As
its documentation is a little unclear (while recursive code is okay,
recursive documentation is a little bit trying), it would be nice to
see an example of how this might be done.

It seems to me that it requires the developer or the user to write
code (to iterate through all the windows in the frame) that will be
almost identical to the code that the OP of this thread suggested
should not need to be reinvented by every developer/user wanting to
do essentially the same thing; rather the functionality should be
provided by the Emacs infrastructure.





  parent reply	other threads:[~2018-09-15 12:24 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
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 [this message]
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=87va773q4n.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=rudalics@gmx.at \
    --cc=winkler@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.