Merge with trunk. Add even-window-sizes and adjust-width buffer display
commit97c4d32332d615276ea12545b49aa0072d7224fd
authorMartin Rudalics <rudalics@gmx.at>
Thu, 4 Nov 2010 13:26:46 +0000 (4 14:26 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 4 Nov 2010 13:26:46 +0000 (4 14:26 +0100)
tree4ee057c921cc540bc114ff7ad91ec17baf5479af
parentf92c5f91099a448ff39a46ecbc3fc44a3e56239d
parent14782c5968660699138da8088864d7d68f943d95
Merge ... trunk.  Add even-window-sizes and adjust-width buffer display
specifiers.  Redesign adjust-height buffer display specifier.  Adjust
callers in compile.el.

* window.el (display-buffer-names, display-buffer-regexps): Make
even-window-sizes a seperate specifier.  Allow numbers and
functions in the cdr of the adjust-height specifier and remove
even-window-heights and the special handling of
fit-window-to-buffer and shrink-window-if-larger-than-buffer.
Add new specifier adjust-width similar to adjust-height.
(display-buffer-normalize-specifiers-1): Fix typo.
(display-buffer-even-sizes, display-buffer-adjust-height)
(display-buffer-adjust-width): New functions to handle size
adjustment of new window.
(display-buffer-adjust-heights): Remove.
(display-buffer-in-window): Don't call
display-buffer-adjust-heights any more.
(display-buffer-in-lru-buffer-window)
(display-buffer-in-lru-window): Call display-buffer-even-sizes.
(display-buffer-in-new-window): Use functionp instead of
fboundp.  Call display-buffer-adjust-height and
display-buffer-adjust-width.
(display-buffer): Use functionp instead of fboundp.
(fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.

* progmodes/compile.el (compilation-start)
(compilation-goto-locus): Use adjust-height specifier in
display-buffer calls.
doc/lispref/ChangeLog
doc/lispref/windows.texi
lisp/ChangeLog
lisp/cus-start.el
lisp/info.el
lisp/progmodes/compile.el
lisp/window.el
src/ChangeLog
src/frame.c
src/xdisp.c