Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: void-variable gnus-face-properties-alist
Date: Sat, 15 Apr 2006 21:06:47 +0200	[thread overview]
Message-ID: <v9zmim3bg8.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

in the German-speaking Gnus newsgroup, I got the following report from
Wolfgang Bauer.

When displaying an article containing a Face header, Wolfgang got the
backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable gnus-face-properties-alist)
  article-display-face()
  apply(article-display-face nil)
  (if interactive (call-interactively (quote article-display-face))
    (apply (quote article-display-face) args))
  (save-excursion (set-buffer gnus-article-buffer) (if interactive
    (call-interactively ...) (apply ... args)))
  gnus-article-display-face()
  gnus-treat-article(head)
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(23029 nil)
  gnus-summary-display-article(23029 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
* call-interactively(gnus-summary-scroll-up)
--8<---------------cut here---------------end--------------->8---

AFAICS, `article-display-face' uses `gnus-face-properties-alist', but
`gnus-fun' is not loaded:

--8<---------------cut here---------------start------------->8---
(eval-when-compile
  (defvar gnus-face-properties-alist))

(defun article-display-face ()
  "Display any Face headers in the header."
  (interactive)
[...]
			(apply 'gnus-create-image png 'png t
			       (cdr (assq 'png gnus-face-properties-alist))))
--8<---------------cut here---------------end--------------->8---

Should we add (require 'gnus-fun) inside the defun or move the
defcustom to `gnus-art.el'?  (Or something else?)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




             reply	other threads:[~2006-04-15 19:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 19:06 Reiner Steib [this message]
2006-04-16  7:27 ` Lars Magne Ingebrigtsen
2006-04-16  7:30   ` Lars Magne Ingebrigtsen

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=v9zmim3bg8.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).