unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: emacs-devel@gnu.org
Subject: Re: Errors in redisplay in eww
Date: Wed, 30 Dec 2015 14:00:43 +0000	[thread overview]
Message-ID: <87twn0vxx0.fsf@violet.siamics.net> (raw)
In-Reply-To: <8360zhdtv9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Dec 2015 19:53:14 +0200")

>>>>> Eli Zaretskii <eliz@gnu.org> writes:
>>>>> From: Lars Ingebrigtsen  Date: Tue, 29 Dec 2015 17:16:05 +0100
>>>>> Eli Zaretskii <eliz@gnu.org> writes:

 >>> When browsing this page:

 >>> https://news.ycombinator.com/reply?id=10801669&goto=item?id=10801368

 >>> 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’m 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?

-- 
FSF associate member #7257  http://am-1.org/~ivan/      … 3013 B6A0 230E 334A



  parent reply	other threads:[~2015-12-30 14:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-29 15:52 Errors in redisplay in eww Eli Zaretskii
2015-12-29 16:16 ` Lars Ingebrigtsen
2015-12-29 17:53   ` Eli Zaretskii
2015-12-30 11:24     ` Lars Magne Ingebrigtsen
2015-12-30 16:06       ` Eli Zaretskii
2016-01-02  5:54         ` Lars Magne Ingebrigtsen
2016-01-02  8:41           ` Eli Zaretskii
2016-01-03  9:19             ` Lars Magne Ingebrigtsen
2016-01-04 19:09               ` Eli Zaretskii
2016-01-09  9:13                 ` Lars Magne Ingebrigtsen
2016-01-09  9:46                   ` Eli Zaretskii
2016-01-09 11:59                     ` Lars Magne Ingebrigtsen
2016-02-04  3:25                     ` Lars Ingebrigtsen
2015-12-30 14:00     ` Ivan Shmakov [this message]
2015-12-30 18:08       ` Eli Zaretskii
2016-01-02 23:40         ` Ivan Shmakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twn0vxx0.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).