Gnus development mailing list
 help / color / mirror / Atom feed
* Invalid face attribute
@ 2015-02-22 17:19 Peter Münster
  2015-02-23  2:42 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2015-02-22 17:19 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid face attribute
  2015-02-22 17:19 Invalid face attribute Peter Münster
@ 2015-02-23  2:42 ` Katsumi Yamaoka
  2015-02-23  7:50   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Katsumi Yamaoka @ 2015-02-23  2:42 UTC (permalink / raw)
  To: Peter Münster; +Cc: ding

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

On Sun, 22 Feb 2015 18:19:56 +0100, Peter Münster wrote:
> 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.

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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 418 bytes --]

--- 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)))

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid face attribute
  2015-02-23  2:42 ` Katsumi Yamaoka
@ 2015-02-23  7:50   ` Peter Münster
  2015-02-23 16:39     ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2015-02-23  7:50 UTC (permalink / raw)
  To: ding

On Mon, Feb 23 2015, Katsumi Yamaoka wrote:

> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid face attribute
  2015-02-23  7:50   ` Peter Münster
@ 2015-02-23 16:39     ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2015-02-23 16:39 UTC (permalink / raw)
  To: ding

On Monday, 23 Feb 2015 at 08:50, Peter Münster wrote:

[...]

> 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)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-23 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22 17:19 Invalid face attribute Peter Münster
2015-02-23  2:42 ` Katsumi Yamaoka
2015-02-23  7:50   ` Peter Münster
2015-02-23 16:39     ` Eric S Fraga

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 NNTP newsgroup(s).