emacs-devel
[Top][All Lists]
Advanced

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

Re: Trunk emacs infelicity with linum mode


From: martin rudalics
Subject: Re: Trunk emacs infelicity with linum mode
Date: Wed, 10 Sep 2014 10:03:40 +0200

>> The only way to change the coordinates from 10x10 to something else is
>> via adjust_frame_size.
>
> You are welcome to step through x_create_frame on Windows, after
> typing "C-x 5 2", and see how it avoids that.

Here, I get

(gdb) bt
#0  adjust_frame_size (f=0x49b98a8, new_width=80, new_height=160, inhibit=5, 
pretend=true) at frame.c:390
#1  0x0120420c in Fx_create_frame (parameters=...) at w32fns.c:4609
[...]

and

(gdb) p FRAME_TEXT_HEIGHT (f)
$1 = 10
(gdb) p  FRAME_TEXT_WIDTH (f)
$2 = 10

Stepping through adjust_frame_size now gets me on line 550 of frame.c

(gdb) p  FRAME_TEXT_WIDTH (f)
$8 = 80
(gdb) p FRAME_TEXT_HEIGHT (f)
$9 = 160
(gdb)

Or what did you mean?

martin



reply via email to

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