all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: display-buffer cleverness - how to tame?
Date: Mon, 4 May 2009 00:41:24 -0700	[thread overview]
Message-ID: <000c01c9cc8b$ba796c50$0200a8c0@us.oracle.com> (raw)

I'm sure the new display-buffer behavior is an improvement in some way, but it
seems too clever by half, at least in one context I have.

I'm not suggesting the smarter behavior should be reverted (I'd have to
understand it first, to be able to suggest that ;-)). I just want to know which
settings I need, to get back the previous behavior for some code I have that
(apparently) depends on it. The code works with Emacs 20-22, but breaks with
Emacs 23. Because of a different bug (#3081), which was recently fixed, I
couldn't see this bug before now.

I haven't spent a lot of time investigating, but the problem seems to be that
display-buffer now tries to split the largest window. I can see that there are
several variables that control display-buffer, but could someone please point
out the settings that will restore the previous (Emacs 22) unclever behavior. 

In particular, I have two windows, left and right, with the left one wider and
selected when I call display-buffer. The behavior I want is for the right,
narrower window to be split (vertically). Instead, it is the left, wider window
that gets split (vertically).

Thx.





             reply	other threads:[~2009-05-04  7:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04  7:41 Drew Adams [this message]
2009-05-04  8:38 ` display-buffer cleverness - how to tame? martin rudalics
2009-05-04 14:39   ` Drew Adams
2009-05-04 15:03     ` Miles Bader
2009-05-04 15:49       ` Drew Adams
2009-05-04 18:58         ` Samuel Bronson
2009-05-05  2:50         ` Miles Bader
2009-05-04 16:36     ` Stefan Monnier
2009-05-04 16:41     ` martin rudalics
2009-05-04 17:13       ` Drew Adams
2009-05-05  7:02         ` martin rudalics
2009-05-05 14:18           ` Drew Adams
2009-05-05 16:33             ` martin rudalics
2009-05-05 16:58               ` Drew Adams
2009-05-05 18:55                 ` martin rudalics
2009-05-05 20:20                   ` Drew Adams
2009-05-06 16:21                     ` martin rudalics
2009-05-06 17:54                       ` Drew Adams
2009-05-07  9:37                         ` 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='000c01c9cc8b$ba796c50$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@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.