[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The window-pub branch (was Re: bug#7381: 24.0.50; Provide a hook run

From: martin rudalics
Subject: Re: The window-pub branch (was Re: bug#7381: 24.0.50; Provide a hook run when a window is selected)
Date: Sun, 14 Nov 2010 19:59:50 +0100
User-agent: Thunderbird (Windows/20090302)

> Alright... I built it and was going to use it, but I hit one
> show-stopper immediately: the `split-{height,width}-threshold' variables
> seem to be ignored: I have the former set to 80, the latter to 150 and
> `pop-up-windows' to t, but with window-pub a 59x158 window is
> split vertically, making Emacs pretty much unusable for me.

Thanks for testing.  I expected you to find a show-stopper earlier.  Do
you mean that 24 lines is to small for a new window (many popped up
windows here are only a few lines tall).

> The docstrings state that the above variables are obsolete and one
> should use `display-buffer-names' etc., but I have no idea how to get
> the previous correct behaviour (I assume messing with `min-width' and
> similar inside `display-buffer-names' might be the way to go, but I
> don't see why the obsolete variables should not be respected when the
> new ones are nil by default anyway).

The new ones are not nil.  `display-buffer-regexps' specifies them as 24
lines and 60 columns for the new window which obviously don't match the
defaults of the trunk.  So please change the default values of the
min-height and min-width specifiers in `display-buffer-regexps'

     (reuse-buffer-window . nil)
     (new-window (largest . nil) (lru . nil))
     (min-height . 24) (min-width . 60)
     (even-window-sizes . t)
     (reuse-buffer-window . visible)
     (graphic-only . t)
      (height . 24) (width . 80) (unsplittable . t))))

to something more reasonable and tell me about the next show-stopper you

Thanks, martin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]