From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trunk emacs infelicity with linum mode Date: Fri, 05 Sep 2014 22:53:37 +0300 Message-ID: <83vbp1deta.fsf@gnu.org> References: <87zjeix7hg.fsf@glaurung.internal.golden-gryphon.com> <838um1gar9.fsf@gnu.org> <87ppfdyhpf.fsf@glaurung.internal.golden-gryphon.com> <8361h5g7mv.fsf@gnu.org> <87zjehw5cs.fsf@glaurung.internal.golden-gryphon.com> <834mwog0u0.fsf@gnu.org> <87wq9kd5y3.fsf@glaurung.internal.golden-gryphon.com> <83oauve75i.fsf@gnu.org> <87lhpxaopi.fsf@glaurung.internal.golden-gryphon.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1409946845 27579 80.91.229.3 (5 Sep 2014 19:54:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2014 19:54:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Manoj Srivastava , martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 05 21:53:58 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XPzZy-0003Lr-7z for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2014 21:53:54 +0200 Original-Received: from localhost ([::1]:59955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPzZx-0004Bx-RL for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2014 15:53:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPzZo-0004B0-Pt for emacs-devel@gnu.org; Fri, 05 Sep 2014 15:53:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPzZi-0006i9-SZ for emacs-devel@gnu.org; Fri, 05 Sep 2014 15:53:44 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPzZi-0006i2-KD for emacs-devel@gnu.org; Fri, 05 Sep 2014 15:53:38 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NBG00300186UF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 05 Sep 2014 22:53:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBG003IU1XCU320@a-mtaout22.012.net.il>; Fri, 05 Sep 2014 22:53:37 +0300 (IDT) In-reply-to: <87lhpxaopi.fsf@glaurung.internal.golden-gryphon.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174049 Archived-At: > From: Manoj Srivastava > 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=, new_height=, inhibit=5, > pretend=) 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.