Gnus development mailing list
 help / color / mirror / Atom feed
From: Wolfgang Jenkner <wjenkner@inode.at>
To: ding@gnus.org
Subject: Re: face issue in latest emacs snapshot
Date: Wed, 09 Jan 2013 01:56:56 +0100	[thread overview]
Message-ID: <85ehhv5g2v.fsf@iznogoud.viz> (raw)
In-Reply-To: <7vfw2b9r1w.fsf@news.eternal-september.org> (Richard Riley's message of "Tue, 08 Jan 2013 23:46:19 +0000")

On Wed, Jan 09 2013, Richard Riley wrote:

> | Debugger entered--Lisp error: (wrong-type-argument listp my-inbox-icon-face-unread)
> |   gnus-put-text-property-excluding-characters-with-faces(1 79 face gnus-group-mail-1)
> |   gnus-group-highlight-line("root-email" 1 79)
> |   gnus-group-insert-group-line("root-email" 1 ((seen (1 . 270))) 1 nil)
> |   gnus-topic-prepare-topic((("Email" visible nil ((visible . t))) (("Mailing Lists" visible nil nil)) (("Trips" visible nil nil))) 1 1 nil nil 1 nil)
> |   gnus-topic-prepare-topic((("Gnus" visible nil nil) (("misc" visible nil nil)) (("News" visible nil nil)) (("Email" visible nil ((visible . t))) (("Mailing Lists" visible nil nil)) (("Trips" visible nil nil))) (("Gnu" visible nil nil) (("General" visible nil nil)) (("Emacs" visible nil nil))) (("Programming" visible nil nil) (("Linux" visible nil nil)) (("PHP" visible nil nil) (("Javascript" invisible nil nil))))) 0 1 nil nil 1 nil)
> |   gnus-group-prepare-topics(1 nil nil)
> `----
>
> The docstring doesnt really make much sense to me I'm afraid:-
>
> ,----
> | gnus-put-text-property-excluding-characters-with-faces is a compiled Lisp
> | function.
> | 
> | (gnus-put-text-property-excluding-characters-with-faces BEG END PROP VAL)
> | 
> | The same as `put-text-property', except where `gnus-face' is set.
> | If so, and PROP is `face', set the second element of its value to VAL.
> | Otherwise, do nothing.
> `----
>
> What does "where gnus-face is set" mean?

That means characters which have a `gnus-face' text-property with
a non-nil value.  Such a `gnus-face' property is put on those parts of
a summary line which are highlighted with a gnus-face-N (for some
non-negative integer N) and which are indicated by the %N{ ... %} format
specifiers in gnus-summary-line-format.

The new thing is that the value of the `face' text-property on such
characters ought to be a list...

Could you please show the value of your gnus-summary-line-format?

> Is this a known issue in Gnus or something more likely to be borked in
> the emacs-snapshot compilation? 

Please see

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12451

Wolfgang





  parent reply	other threads:[~2013-01-09  0:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 23:46 Richard Riley
2013-01-09  0:45 ` Katsumi Yamaoka
2013-01-09  4:34   ` Katsumi Yamaoka
2013-01-09  0:56 ` Wolfgang Jenkner [this message]
2013-01-09  8:20   ` Richard Riley
2013-01-09 10:22     ` Katsumi Yamaoka
2013-01-09 19:33     ` Wolfgang Jenkner

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

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

  git send-email \
    --in-reply-to=85ehhv5g2v.fsf@iznogoud.viz \
    --to=wjenkner@inode.at \
    --cc=ding@gnus.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.
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).