From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Trunk emacs infelicity with linum mode Date: Thu, 11 Sep 2014 11:26:00 +0200 Message-ID: <54116AA8.1040503@gmx.at> 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> <83vbp1deta.fsf@gnu.org> <540ACB6A.5020402@gmx.at> <540AED8A.9030000@gmx.at> <83ha0jcv31.fsf@gnu.org> <540C9F76.2020606@gmx.at> <831trncjhf.fsf@gnu.org> <540D7793.6010704@gmx.at> <83mwa9aqdq.fsf@gnu.org> <541005DC.9060704@gmx.at> <83a9679xyf.fsf@gnu.org> <5410A059.9000102@gmx.at> <831trj9tip.fsf@gnu.org> <83zje78ei7.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 1410427709 2688 80.91.229.3 (11 Sep 2014 09:28:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 09:28:29 +0000 (UTC) Cc: srivasta@ieee.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 11 11:28:21 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 1XS0eG-0006ay-9n for ged-emacs-devel@m.gmane.org; Thu, 11 Sep 2014 11:26:40 +0200 Original-Received: from localhost ([::1]:35420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0eF-000102-T1 for ged-emacs-devel@m.gmane.org; Thu, 11 Sep 2014 05:26:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0e5-0000zi-DK for emacs-devel@gnu.org; Thu, 11 Sep 2014 05:26:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS0dx-0001Tx-TA for emacs-devel@gnu.org; Thu, 11 Sep 2014 05:26:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0dp-0001RZ-NZ; Thu, 11 Sep 2014 05:26:13 -0400 Original-Received: from [188.22.105.219] ([188.22.105.219]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M7pI0-1YEUYT0P5s-00vMIo; Thu, 11 Sep 2014 11:26:09 +0200 In-Reply-To: <83zje78ei7.fsf@gnu.org> X-Provags-ID: V03:K0:vyELNuD4WSIonNWZKedV7uqPjL0NWDj2IPB8bvjxzekds0nqvZH YG4weTQBAcQNuAeoncqOKnFxmtG87vZG/ImnJpMam+PBf8rF4+3PYhrwxyG/ZMDjy3Zy/GW cXjroPRda8/iHZ4yBxMTdyAkQwiQfiqRYRWq5F2dr0EN1ohf9CdpGV+w11+4GQkC11Ri3Wq Bh6hky4XLR7bkN8tWPfWw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.19 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:174173 Archived-At: > Inside the first call to adjust_frame_size, the one from line 4609, we > do call run_window_configuration_change_hook. But it doesn't abort > here. Because the frame is not official yet so if (NILP (Vrun_hooks) || !(f->official)) return; will return immediately. > If I set a breakpoint in Fface_font, which is what barfed in the OP's > case, the breakpoint doesn't break inside the call to > adjust_frame_size or Fx_create_frame, it breaks after Fx_create_frame > already returned. I don't know why the difference. I suppose the OP confused two calls of adjust_frame_size - the one at line 4609 and the one at line 4678. The latter indeed does run the functions on `window-configuration-change-hook' and breaks in Fface_font. It doesn't break on Windows or Gtk because there apparently the sizes do not change any more. I still don't know why the sizes change on Motif/Lucid. martin