From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Trunk emacs infelicity with linum mode Date: Thu, 04 Sep 2014 16:25:09 -0400 Message-ID: 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> <83k35jdyf2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1409862376 30413 80.91.229.3 (4 Sep 2014 20:26:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2014 20:26:16 +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 04 22:26:09 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 1XPdbb-0005GW-Tt for ged-emacs-devel@m.gmane.org; Thu, 04 Sep 2014 22:26:08 +0200 Original-Received: from localhost ([::1]:54034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdbb-0006PA-Ap for ged-emacs-devel@m.gmane.org; Thu, 04 Sep 2014 16:26:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdbH-0006N1-63 for emacs-devel@gnu.org; Thu, 04 Sep 2014 16:25:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPdb9-0002u1-NY for emacs-devel@gnu.org; Thu, 04 Sep 2014 16:25:47 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:36508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdb1-0002sr-Jw; Thu, 04 Sep 2014 16:25:31 -0400 Original-Received: from ceviche.home ([24.201.170.218]) by VL-VM-MR005.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0NBE009OE8PW0C70@VL-VM-MR005.ip.videotron.ca>; Thu, 04 Sep 2014 16:25:08 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 85A8A660C4; Thu, 04 Sep 2014 16:25:09 -0400 (EDT) In-reply-to: <83k35jdyf2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 24.201.245.36 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:174018 Archived-At: >> This brings a new concept to me: how can a face be invalid in a specific >> frame? > I think it's because the face was not yet realized for that frame. > Before we create a new frame, we realize its basic faces, but not the > rest. I think. Yes, I kind of guessed this part, but it would be good to try and not expose those details to Elisp. IOW I think it's a bug that Elisp gets to know about "not yet realized faces". I guess in the present case, the underlying problem is that we run window-configuration-change-hook too early. Stefan