From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: Errors in redisplay in eww Date: Wed, 30 Dec 2015 14:00:43 +0000 Message-ID: <87twn0vxx0.fsf@violet.siamics.net> References: <83twn1dzg8.fsf@gnu.org> <874mf16xiy.fsf@gnus.org> <8360zhdtv9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451484083 7785 80.91.229.3 (30 Dec 2015 14:01:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2015 14:01:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 30 15:01:16 2015 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 1aEHJS-0001my-KZ for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2015 15:01:14 +0100 Original-Received: from localhost ([::1]:52576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEHJR-0004Yr-IK for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2015 09:01:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEHJK-0004YU-Ro for emacs-devel@gnu.org; Wed, 30 Dec 2015 09:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEHJJ-0006ph-Ln for emacs-devel@gnu.org; Wed, 30 Dec 2015 09:01:06 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:34316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEHJJ-0006f4-CZ for emacs-devel@gnu.org; Wed, 30 Dec 2015 09:01:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=E/llSKXWBdRbuj/ytdINgrnex17EHtiG1YS0VsnZqUs=; b=TQAAEIOVmTm6nZJ18qTwJjXwDj9K8Fo8cviJFndrg9Y4eYLUw8c3+Db3ZXYGmlLMF75Bv7TNn8N+p1z2F++OVhBbJLeWUpnu0RZbr5AIJi/RJiqM8oLxjtZCRBvvrJgHzvESH3G/G6Z2GLJFacLDeiM3Cvu57qkA7Ah4Rwf4IgE=; Original-Received: from violet.siamics.net ([2001:470:1f13:1eb::1:1d]) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aEHJ7-00056l-Jd for emacs-devel@gnu.org; Wed, 30 Dec 2015 14:00:53 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aEHIx-0003S7-R6 for emacs-devel@gnu.org; Wed, 30 Dec 2015 21:00:43 +0700 In-Reply-To: <8360zhdtv9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Dec 2015 19:53:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2a01:4f8:d15:1b86::2 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:197171 Archived-At: >>>>> Eli Zaretskii writes: >>>>> From: Lars Ingebrigtsen Date: Tue, 29 Dec 2015 17:16:05 +0100 >>>>> Eli Zaretskii writes: >>> When browsing this page: >>> https://news.ycombinator.com/reply?id=3D10801669&goto=3Ditem?id=3D1080= 1368 >>> I see a lot of error messages in *Messages*: >>> Invalid face reference: nil [329 times] >>> Invalid face reference: nil [2000 times] >> I don't get any such errors (running under Linux). Could you see >> what face it is that's nil? > The face is (nil (:background "#ffffff")), and the problem happens > when we try to merge its car (which is nil, not a valid face). If I=E2=80=99m reading the code correctly, the 'face property value is set to either a font or the value returned by the shr-face-background function, /or/ the value passed to shr-add-font is prepended to the current face list. Could you please try doing, say, trace-function-background on these two functions and see if the former ever returns anything suspicious (like the list above; and for what inputs), or if the latter is ever called with a nil TYPE argument? --=20 FSF associate member #7257 http://am-1.org/~ivan/ =E2=80=A6 3013 B6A0= 230E 334A