Subject: bug#19482: Changing to big font cause display problem

From: 张海君 <[email-masked]>
Date: Fri, 20 Feb 2015 18:23:11 +0800

> 在 2015年2月19日，14:57，martin rudalics <[email-masked]> 写道：
> 
>> When I do that, emacs reports error:
>> 
>> Debugger entered--Lisp error: (void-function window-dump-frame)
>>   (window-dump-frame)
>>   eval((window-dump-frame) nil)
>>   eval-expression((window-dump-frame) nil)
>>   call-interactively(eval-expression nil nil)
>>   command-execute(eval-expression)
> 
> I'm too silly.  I meant
> 
> M-: (window--dump-frame)
> 
> Sorry for the confusion, martin

Three results:
----------------------------- (1) before issuing (set-frame-font "Menlo:size=30") ------------------------------------
frame pixel: 874 x 669   cols/lines: 87 x 35   units: 10 x 19
frame text pixel: 850 x 665   cols/lines: 85 x 35
tool: 0  scroll: 0  fringe: 20  border: 2  right: 0  bottom: 0

#<window 3 on *scratch*>   parent: nil
pixel left: 0   top: 0   size: 870 x 646   new: 646
char left: 0   top: 0   size: 87 x 34   new: 33
normal: 1.0 x 1.0   new: nil
body pixel: 850 x 628   char: 85 x 33
width left fringe: 10  left margin: 0  right margin: 0
width right fringe: 10  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 18  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 646   size: 870 x 19   new: 0
char left: 0   top: 34   size: 870 x 1   new: 0
normal: 1.0 x 1.0   new: ignore
body pixel: 850 x 19   char: 85 x 1
width left fringe: 10  left margin: 0  right margin: 0
width right fringe: 10  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 0  divider: 0

----------------------------- (2) after issuing (set-frame-font "Menlo:size=30") ----------------------
frame pixel: 1552 x 1194   cols/lines: 86 x 35   units: 18 x 34
frame text pixel: 1530 x 1190   cols/lines: 85 x 35
tool: 0  scroll: 0  fringe: 18  border: 2  right: 0  bottom: 0

#<window 3 on *scratch*>   parent: nil
pixel left: 0   top: 0   size: 1548 x 1156   new: 1156
char left: 0   top: 0   size: 86 x 34   new: 33
normal: 1.0 x 1.0   new: nil
body pixel: 1530 x 1123   char: 85 x 33
width left fringe: 9  left margin: 0  right margin: 0
width right fringe: 9  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 33  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 1156   size: 1548 x 34   new: 0
char left: 0   top: 34   size: 1548 x 1   new: 0
normal: 1.0 x 1.0   new: ignore
body pixel: 1530 x 34   char: 85 x 1
width left fringe: 9  left margin: 0  right margin: 0
width right fringe: 9  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 0  divider: 0

-------------------------- (3) after resizing the frame ----------------------
frame pixel: 1392 x 840   cols/lines: 77 x 24   units: 18 x 34
frame text pixel: 1370 x 836   cols/lines: 76 x 24
tool: 0  scroll: 0  fringe: 18  border: 2  right: 0  bottom: 0

#<window 3 on *window-frame-dump*>   parent: nil
pixel left: 0   top: 0   size: 1388 x 802   new: 802
char left: 0   top: 0   size: 77 x 23   new: 22
normal: 1.0 x 1.0   new: nil
body pixel: 1370 x 769   char: 76 x 22
width left fringe: 9  left margin: 0  right margin: 0
width right fringe: 9  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 33  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 802   size: 1388 x 34   new: 0
char left: 0   top: 23   size: 1388 x 1   new: 0
normal: 1.0 x 1.0   new: ignore
body pixel: 1370 x 34   char: 76 x 1
width left fringe: 9  left margin: 0  right margin: 0
width right fringe: 9  scroll-bar: 0  divider: 0
height header-line: 0  mode-line: 0  divider: 0

--------------------------------------------------------------------------

My screen resolution is 1440x900.