emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors in redisplay in eww


From: Eli Zaretskii
Subject: Re: Errors in redisplay in eww
Date: Wed, 30 Dec 2015 20:08:10 +0200

> From: Ivan Shmakov <address@hidden>
> Date: Wed, 30 Dec 2015 14:00:43 +0000
> 
>  > 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?

The contents of the trace buffer is below.  Does this reveal anything
interesting?

Thanks.

  ======================================================================
  1 -> (shr-add-font 38 43 bold)
  1 <- shr-add-font: nil
  ======================================================================
  1 -> (shr-face-background variable-pitch)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background nil)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background variable-pitch)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background nil)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-add-font 126 147 shr-link)
  1 <- shr-add-font: nil
  ======================================================================
  1 -> (shr-add-font 149 163 bold)
  1 <- shr-add-font: nil
  ======================================================================
  1 -> (shr-face-background variable-pitch)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background nil)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background variable-pitch)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background nil)
  1 <- shr-face-background: nil
  ======================================================================
  1 -> (shr-face-background (variable-pitch (:background "#ffffff")))
  1 <- shr-face-background: (:background "#ffffff")
  ======================================================================
  1 -> (shr-face-background (variable-pitch bold (:background "#ffffff")))
  1 <- shr-face-background: (:background "#ffffff")
  ======================================================================
  1 -> (shr-face-background (variable-pitch shr-link (:background "#ffffff")))
  1 <- shr-face-background: (:background "#ffffff")
  ======================================================================
  1 -> (shr-face-background (variable-pitch bold (:background "#ffffff")))
  1 <- shr-face-background: (:background "#ffffff")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]