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: Mon, 08 Sep 2014 11:31:57 +0200 Message-ID: <540D778D.905@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> <540C9DEF.1010301@gmx.at> <8338c3cjrd.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 1410168749 31688 80.91.229.3 (8 Sep 2014 09:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 09:32: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 Mon Sep 08 11:32: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 1XQvJ7-0007UW-L9 for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2014 11:32:21 +0200 Original-Received: from localhost ([::1]:41887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQvJ7-00085Y-9P for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2014 05:32:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQvIx-00084V-9J for emacs-devel@gnu.org; Mon, 08 Sep 2014 05:32:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQvIn-0000Gg-Vz for emacs-devel@gnu.org; Mon, 08 Sep 2014 05:32:11 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:65214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQvIn-0000Ga-Nj; Mon, 08 Sep 2014 05:32:01 -0400 Original-Received: from [91.113.7.66] ([91.113.7.66]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MMBiP-1XRja92npF-0085rh; Mon, 08 Sep 2014 11:32:00 +0200 In-Reply-To: <8338c3cjrd.fsf@gnu.org> X-Provags-ID: V03:K0:FimS+lQPNpZg54RlHKkvT45d36BdKmDIT3WpzOt148wL7c9ujXw NF/s/slXBjXaiGjv8w/EmnviIxYGrHp2tSwALmNPFoF6n7A1Q9Bcq7h0+qLItJCDStej390 nMmVpS7/v1RCjAU2jYEKZeOPjlxxxHtec79JkOUmxM0Hw9mPUDHhsuXArHpSmZY/TMZ4GVM G7mtk99be0tgeewhTVEDg== 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.18 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:174075 Archived-At: > f->official only means that the basic faces were realized; all the > other faces are not realized yet. So if you want that flag to be it, > we will have to make sure all the faces are realized before we set > that flag. I believe the faces are realized in > face-set-after-frame-default. OK. I can offer a number of ways to approach this problem: (1) Do not run `window-configuration-change-hook' while creating a frame. (2) Run `window-configuration-change-hook' from `tty-create-frame-with-faces' and `x-create-frame-with-faces' if `success' is non-nil in the unwindform. (3) Like (2) but in addition set f->official t if `success' is non-nil in the unwindform. martin