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: Eli Zaretskii
Subject: Re: Trunk emacs infelicity with linum mode
Date: Fri, 05 Sep 2014 22:53:37 +0300

> From: Manoj Srivastava <address@hidden>
> Date: Fri, 05 Sep 2014 11:48:09 -0700
> 
>         For some reason, all the values for the old window are set to
>  10. Here is the session:
> --8<---------------cut here---------------start------------->8---
> Breakpoint 4, adjust_frame_size (f=0x11db380, new_width=<optimized out>, 
> new_height=<optimized out>, inhibit=5, 
>     pretend=<optimized out>) at frame.c:514
> 514       if (new_windows_width != old_windows_width)
> (gdb) list
> 509          by our video hardware.  Try to find the smallest size greater
> 510          or equal to the requested dimensions.  */
> 511       dos_set_window_size (&new_lines, &new_cols);
> 512     #endif
> 513
> 514       if (new_windows_width != old_windows_width)
> 515         {
> 516           resize_frame_windows (f, new_windows_width, 1, 1);
> 517
> 518           /* MSDOS frames cannot PRETEND, as they change frame size by
> (gdb) print new_windows_width
> $1 = 106
> (gdb) print old_windows_width
> $2 = 10
>  ...
> *(gdb) print new_text_width
> $4 = 90
> *(gdb) print old_text_width
> $5 = 10
> (gdb) print new_windows_width
> $6 = 106
> *(gdb) print old_windows_width
> $7 = 10
> (gdb) print new_windows_height
> $8 = 230
> *(gdb) print old_windows_height
> $9 = 10
> (gdb) print new_pixel_width
> $10 = 108
> *(gdb) print old_pixel_width
> $11 = 10

Thanks.

Martin, could you take a look at this?  The 10x10 are the dimensiuons
used when there's nothing to use initially, AFAIR.



reply via email to

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