emacs-devel
[Top][All Lists]
Advanced

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

Re: The window-pub branch


From: martin rudalics
Subject: Re: The window-pub branch
Date: Mon, 15 Nov 2010 09:00:32 +0100
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> With Emacs from window-pub, even when I change `min-height' in the
> default value of `display-buffer-regexps' to 1000 and `min-width' to 10,
> I still get a vertical split!
>
> So as I said, I have no idea what "something more reasonable" should
> actually look like... :-|
>
> Could you provide a value for `display-buffer-regexps' that should
> produce the behaviour I expect (or at least some other kind of sensible
> behaviour -- I don't consider preferring vertical splits of a
> much-wider-than-high window sensible at all)?

Sorry.  I didn't understand immediately that you wanted to split windows
horizontally.  This is part of code I changed recently and didn't test
yet with non-standard settings :-(

The obvious bug is in the _last_ line of the function
`display-buffer-split-window'.  Please replace

              window (or side 'below) min-width max-width)))))

by

              window (or side 'right) min-width max-width)))))

which means "if you didn't specify explicitly where the new window
should go, put it on the right".

martin




reply via email to

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