all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: pop-up-windows value to force a new window
Date: Sat, 2 Sep 2006 13:38:11 -0700	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBOELEDEAA.drew.adams@oracle.com> (raw)

I don't see a good way to force `display-buffer' and related functions to
always use another window, even when there is more than one window displayed
currently. Is there some way (besides defining `display-buffer-function' in
such a way that it does this)?

What about letting a special non-nil value of `pop-up-windows', say
`new-window', cause this to happen? That is, if `pop-up-windows' =
`new-window', then `display-buffer', `pop-to-buffer', etc. would always use
a new window; they would never reuse an existing window.

This would let Lisp code, for example, bind to that value, and be sure that
`display-buffer' etc. will always create a new window. Subsequently deleting
that window will not leave fewer windows than before the display. IOW, this
would let you use `display-buffer' to always pop up an extra window.

This should have no effect on existing code (unless there is some code that
already uses that special value).

             reply	other threads:[~2006-09-02 20:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 20:38 Drew Adams [this message]
2006-09-02 21:20 ` pop-up-windows value to force a new window Eli Zaretskii
2006-09-02 21:53   ` Drew Adams
2006-09-02 22:25     ` Chong Yidong
2006-09-03 21:33       ` Kim F. Storm
2006-09-05 19:59 ` Stuart D. Herring
2006-09-05 21:33   ` Drew Adams

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=MEEKKIABFKKDFJMPIOEBOELEDEAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.