Discussion:
Invalid face attribute
Peter Münster
2015-02-22 17:19:56 UTC
Permalink
Hi,

When I open this message:

Newsgroups: gmane.comp.freedesktop.xorg
Subject: DPMS switches to suspend too early

I get these errors:

Invalid face attribute :italic t [68 times]
gnus-mime-display-part: End of bufferInvalid face attribute :italic t
Invalid face attribute :italic t [11 times]

and all headers are displayed.

I use Gnus from emacs-git (9074a684990600abd9dfad0477c7cd1d2f339ed3).

How could I avoid this problem please?

TIA for any hints,
--
Peter
Katsumi Yamaoka
2015-02-23 02:42:00 UTC
Permalink
Post by Peter Münster
Newsgroups: gmane.comp.freedesktop.xorg
Subject: DPMS switches to suspend too early
Invalid face attribute :italic t [68 times]
gnus-mime-display-part: End of bufferInvalid face attribute :italic t
Invalid face attribute :italic t [11 times]
and all headers are displayed.
The "End of buffer" error is due to my fault (2014-05-14). I've
fixed it in the Gnus git master and the Emacs git master. Thanks.
But I couldn't reproduce the "Invalid face attribute" error for
the article in question. Could you try this change?
Peter Münster
2015-02-23 07:50:34 UTC
Permalink
Post by Katsumi Yamaoka
The "End of buffer" error is due to my fault (2014-05-14). I've
fixed it in the Gnus git master and the Emacs git master. Thanks.
But I couldn't reproduce the "Invalid face attribute" error for
the article in question. Could you try this change?
--- gnus-art.el~ 2015-02-23 02:36:46.810434200 +0000
+++ gnus-art.el 2015-02-23 02:38:35.605025300 +0000
@@ -6101,7 +6101,7 @@
(gnus-article-insert-newline)
(if (prog1
(= (skip-chars-backward "\n") -1)
- (forward-char 1))
+ (unless (eobp) (forward-char 1)))
(gnus-article-insert-newline)
(put-text-property (point) (point-max) 'gnus-undeletable t))
(goto-char (point-max)))
Thanks, that fixes the problem!

I still get "Invalid face attribute :italic t [18 times]" in the
*Messages* buffer, but this is probably related to this line

(setq gnus-summary-normal-ancient '(:foreground "black" :background "white"
:italic t))

in my gnus.el file.
I'll try to figure out, what this line means and fix it...

Thanks,
--
Peter
Eric S Fraga
2015-02-23 16:39:43 UTC
Permalink
On Monday, 23 Feb 2015 at 08:50, Peter Münster wrote:

[...]
Post by Peter Münster
I still get "Invalid face attribute :italic t [18 times]" in the
*Messages* buffer, but this is probably related to this line
(setq gnus-summary-normal-ancient '(:foreground "black" :background "white"
:italic t))
in my gnus.el file.
I'll try to figure out, what this line means and fix it...
You probably want ":slant italic"...
--
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.4.1 + Ma Gnus v0.12 + evil-git-43eaf60
: BBDB version 3.1.2 (2014-08-30 22:31:11 -0500)
Continue reading on narkive:
Loading...