From: martin rudalics <rudalics@gmx.at>
To: Glenn Morris <rgm@gnu.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: window-safely-shrinkable-p [was Re: Pretest begins end-June]
Date: Sat, 11 Jun 2011 22:44:33 +0200 [thread overview]
Message-ID: <4DF3D3B1.1030703@gmx.at> (raw)
In-Reply-To: <4imxhodwsx.fsf_-_@fencepost.gnu.org>
> The first thing I notice is that the function
> window-safely-shrinkable-p, used by calendar.el, seems to have vanished
> (with no ChangeLog entry) in r104562.
Arrrgh ...
Can you please try replacing
(when in-calendar-window
;; The second test used to be window-full-width-p.
;; Not sure what it was/is for, except perhaps some way of saying
;; "try not to mess with existing configurations".
;; If did the wrong thing on wide frames, where we have done a
;; horizontal split in calendar-basic-setup.
(if (or (one-window-p t) (not (window-safely-shrinkable-p)))
;; Don't mess with the window size, but ensure that the first
;; line is fully visible.
(set-window-vscroll nil 0)
;; Adjust the window to exactly fit the displayed calendar.
(fit-window-to-buffer nil nil calendar-minimum-window-height))
by
(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?
Thanks, martin
next prev parent reply other threads:[~2011-06-11 20:44 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 16:07 Pretest begins end-June Chong Yidong
2011-05-30 18:29 ` Eli Zaretskii
2011-05-30 19:20 ` Stefan Monnier
2011-05-30 21:12 ` Eli Zaretskii
2011-05-30 22:31 ` Stefan Monnier
2011-05-31 6:11 ` Eli Zaretskii
2011-05-31 12:54 ` Stefan Monnier
2011-05-31 18:05 ` Chong Yidong
2011-05-31 7:50 ` David Kastrup
2011-05-31 9:03 ` Eli Zaretskii
2011-05-31 9:11 ` David Kastrup
2011-05-31 9:59 ` Eli Zaretskii
2011-06-04 7:47 ` Eli Zaretskii
2011-06-04 12:55 ` Stefan Monnier
2011-05-31 5:23 ` Kenichi Handa
2011-05-31 7:44 ` David Kastrup
2011-06-01 9:15 ` martin rudalics
2011-06-01 12:46 ` Stefan Monnier
2011-06-01 14:07 ` martin rudalics
2011-06-01 14:41 ` Stefan Monnier
2011-06-01 15:25 ` Drew Adams
2011-06-01 15:58 ` martin rudalics
2011-06-01 17:10 ` Drew Adams
2011-06-01 18:13 ` Stefan Monnier
2011-06-01 19:08 ` martin rudalics
2011-06-01 15:58 ` martin rudalics
2011-06-01 16:45 ` Stefan Monnier
2011-06-01 19:07 ` martin rudalics
2011-06-01 19:43 ` Stefan Monnier
2011-06-02 8:28 ` martin rudalics
2011-06-01 15:21 ` Drew Adams
2011-06-02 8:27 ` martin rudalics
2011-06-11 18:53 ` window-safely-shrinkable-p [was Re: Pretest begins end-June] Glenn Morris
2011-06-11 20:44 ` martin rudalics [this message]
2011-06-11 22:18 ` window-safely-shrinkable-p Glenn Morris
2011-06-12 8:45 ` window-safely-shrinkable-p martin rudalics
2011-06-12 3:29 ` window-safely-shrinkable-p [was Re: Pretest begins end-June] Stefan Monnier
2011-06-12 8:45 ` martin rudalics
2011-06-14 3:01 ` Stefan Monnier
2011-06-08 3:31 ` 23.4 " Glenn Morris
2011-06-08 15:35 ` Stefan Monnier
2011-06-08 19:21 ` Daniel Colascione
2011-06-09 4:15 ` Stefan Monnier
2011-06-13 16:29 ` Pretest begins end-June Dan Nicolaescu
2011-06-13 17:19 ` Eli Zaretskii
2011-06-13 21:37 ` Chong Yidong
2011-06-14 2:58 ` Stefan Monnier
2011-06-15 14:58 ` deriving from prog-mode (was: Re: Pretest begins end-June) Dan Nicolaescu
2011-06-18 16:26 ` deriving from prog-mode Chong Yidong
2011-06-19 5:59 ` Dan Nicolaescu
2011-06-20 1:48 ` Stefan Monnier
2011-06-26 20:45 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DF3D3B1.1030703@gmx.at \
--to=rudalics@gmx.at \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.