GNU bug report logs -
#10186
23.3; save-some-buffers not making review windows large enough
Previous Next
Reported by: Dave Abrahams <dave <at> boostpro.com>
Date: Thu, 1 Dec 2011 19:09:02 UTC
Severity: normal
Tags: moreinfo
Found in version 23.3
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
on Fri Dec 02 2011, martin rudalics <rudalics-AT-gmx.at> wrote:
>> No, my frame is huge. The problem is that it is already divided up,
>> including a small window that sometimes/often gets chosen by Emacs for
>> display-buffer.
>
> This happens because `display-buffer-use-some-window' tries the least
> recently used window first. If that window happens to be small ...
>
> In any case this sounds like a more general problem with your setup so
> maybe something like the following would help
>
> (defun make-small-windows-softly-dedicated ()
> (walk-window-tree
> (lambda (window)
> (cond
> ((and (> (window-total-size window) 10)
> (eq (window-dedicated-p window) 'too-small))
> (set-window-dedicated-p window nil))
> ((and (<= (window-total-size window) 10)
> (not (window-dedicated-p window)))
> (set-window-dedicated-p window 'too-small))))))
>
> (add-hook 'window-configuration-change-hook 'make-small-windows-softly-dedicated)
>
> replacing the "10" by a value of your choice.
Thanks; I've been using your trick for a few days and it seems to be
working out; at least, I have not had much to complain about.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
This bug report was last modified 3 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.