emacs-devel
[Top][All Lists]
Advanced

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

Re: window-safely-shrinkable-p


From: Glenn Morris
Subject: Re: window-safely-shrinkable-p
Date: Sat, 11 Jun 2011 18:18:52 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

martin rudalics wrote:

>     (when in-calendar-window
>       (if (window-iso-combined-p)
>         ;; Adjust the window to exactly fit the displayed calendar.
>         (fit-window-to-buffer nil nil calendar-minimum-window-height)
>       ;; For a full height window or a window that is horizontally
>       ;; combined don't fit height to that of its buffer.
>       (set-window-vscroll nil 0))
>
> and tell me whether it works?


I can only do very limited testing right now, but it seems ok, thanks.
Feel free to install this and and any other related changes to calendar
window handling. I'm looking forward to the improvements/simplifications
that your work should bring, window handling has been messy in the past.



reply via email to

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