From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#18357: 24.3.93; Calendar not fully displayed Date: Sat, 30 Aug 2014 18:40:39 +0200 Message-ID: <5401FE87.8090207@gmx.at> References: <874mwv40ja.fsf@rosalinde.fritz.box> <83vbpaguyl.fsf@gnu.org> <87a96mqkl3.fsf@rosalinde.fritz.box> <5401C6E7.9070000@gmx.at> <5401C837.9090704@gmx.at> <83sikegla7.fsf@gnu.org> <5401D6F6.6010109@gmx.at> <83r3zygjbd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409416895 13483 80.91.229.3 (30 Aug 2014 16:41:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2014 16:41:35 +0000 (UTC) Cc: 18357@debbugs.gnu.org, stephen.berman@gmx.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 18:41:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNliN-0005aW-Bb for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 18:41:23 +0200 Original-Received: from localhost ([::1]:47146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNliN-0007js-01 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 12:41:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNliC-0007iU-CK for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:41:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNli4-0002TB-Q0 for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:41:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNli4-0002T5-ML for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XNli4-0007Ek-81 for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:41:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Aug 2014 16:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18357-submit@debbugs.gnu.org id=B18357.140941685227784 (code B ref 18357); Sat, 30 Aug 2014 16:41:04 +0000 Original-Received: (at 18357) by debbugs.gnu.org; 30 Aug 2014 16:40:52 +0000 Original-Received: from localhost ([127.0.0.1]:54557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNlhq-0007E3-U1 for submit@debbugs.gnu.org; Sat, 30 Aug 2014 12:40:51 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:59950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNlhm-0007Dl-ON for 18357@debbugs.gnu.org; Sat, 30 Aug 2014 12:40:47 -0400 Original-Received: from [93.82.13.122] ([93.82.13.122]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LkBPy-1XzZEA2u78-00cCA9; Sat, 30 Aug 2014 18:40:40 +0200 In-Reply-To: <83r3zygjbd.fsf@gnu.org> X-Provags-ID: V03:K0:aLo/wPbLOWSLVeIr9HCDNJyczptU8eEsM9cQB9WImXR3hLlL2N6 XT8LZqQpThPsjTV968RpUgm6F3I6tMtM8PbejAU+h/sRtZq3IknsWCW4nBd3B3XRVm8jR39 Q1ZnB176mIbbUUuV4Lwlnccbh0sxJ79e9pSW56nquM0wILYd4JRwpC7dm5J0LypR4WK8u5X R/wOpKiAAzqEHQunR3rNQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92866 Archived-At: > The original report was about mode-line face causing the problem. Are > you saying that the problem is not the face, but the lack of sit-for > somewhere? The mode line face specifies the height of the mode line. IIUC `fit-window-to-buffer' gets this height via CURRENT_MODE_LINE_HEIGHT (in dispextern.h) which is likely wrong if the font has not been applied yet to the target window. Note that we allow the font to change the height of the mode line which may partially overwrite the last line(s) of the window text. This seems to backfire here (I haven't checked it). Personally, I'd prefer to have the user specify the height of the modeline in advance and have the display engine use a smaller font if the one the user asked for doesn't fit within the specified height. Maybe that's over-engineering but it should avoid problems like the present one. martin