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 19:59:06 +0200 Message-ID: <5411E2EA.9040308@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> <54116AA8.1040503@gmx.at> <83oaum8a0e.fsf@gnu.org> <5411D069.5020007@gmx.at> <83d2b285eq.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 1410458408 24600 80.91.229.3 (11 Sep 2014 18:00:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 18:00:08 +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 20:00:00 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 1XS8f0-0004GT-1V for ged-emacs-devel@m.gmane.org; Thu, 11 Sep 2014 19:59:58 +0200 Original-Received: from localhost ([::1]:40500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS8ez-0004lu-NG for ged-emacs-devel@m.gmane.org; Thu, 11 Sep 2014 13:59:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS8eg-0004lC-B2 for emacs-devel@gnu.org; Thu, 11 Sep 2014 13:59:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS8eY-0003dD-Qp for emacs-devel@gnu.org; Thu, 11 Sep 2014 13:59:38 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS8eL-0003GL-F4; Thu, 11 Sep 2014 13:59:17 -0400 Original-Received: from [88.117.61.137] ([88.117.61.137]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lu874-1YT93V1Uxi-011PMj; Thu, 11 Sep 2014 19:59:15 +0200 In-Reply-To: <83d2b285eq.fsf@gnu.org> X-Provags-ID: V03:K0:77x050+9eZuUEki6pWOJWZnrLFyoxnALJCdRseyHqPRtVW4EgV/ FMpd3gF8ARNE1oIETqJ3GBbz1yVjfr1DTYztAUkXEXnWHth3jHk5oNIFloMOWyTxbKstdaq MKIph0WnvLL7614uljKPvrSn9yMxDBgvOsfKmfUc1OiduXb5tGSiua+grxKGnikchEQ4cKJ zyhQry4RzDyT6S5PeJHnA== 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.15 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:174186 Archived-At: >> > What will break if we set f->official true only _after_ the second >> > adjust_frame_size returns? >> >> Nothing, I presume. More so, because the fact that the hook is not >> triggered on Windows and Gtk, already constitutes a bug which makes the >> use of the hook during frame setup impractical on these systems. Note, >> however, that the hook might still trigger any time in between setting >> f->official and executing >> >> (face-set-after-frame-default frame parameters) >> >> though currently I can't see how that could happen. > > So I suggest that Manoj tries that, and if that solves that problem, > let's install this change on the trunk. I just tried and it neither works on Lucid nor on Motif. Apparently, the change_frame_size call arrives after exiting Fx_create_frame but before `face-set-after-frame-default' gets executed. When I make the frame official at the end of `x-create-frame-with-faces' it works. Now the problem is that making the frame official in `x-create-frame-with-faces' means that if someone calls Fx_create_frame from somewhere else, the frame never gets official. martin