[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Priority #B in Agenda causes invalid face reference [8.2.1
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Priority #B in Agenda causes invalid face reference [8.2.1 (8.2.1-15-ge5cecc-elpa @ /Users/Paul/.emacs.d/elpa/org-20131021/)] |
Date: |
Tue, 28 Apr 2015 21:22:20 +0200 |
Hello,
Renato <address@hidden> writes:
> I'm using release_8.2.10 and experienced the same problem.
>
> The problem seems to be the function org-agenda-fontify-priorities which
> calls:
> (org-face-from-face-or-color
> 'priority nil
> (cdr (assoc p org-priority-faces)))
>
> which expects a face to inherit from. When org-priority-faces is nil or
> color or even does not specify the priority(e.g. "B") it inherits from
> nil and causes the message.
AFAIU, this isn't right. If (assoc p org-priority-faces) is nil, so is
its cdr and `org-face-from-face-or-color' returns nil, too. The `cond'
moves to the next branch.
> Setting it to something like
> (quote
> ((65 . org-level-1)
> (66 . org-level-2)
> (67 . org-level-3)
> (68 . org-level-4))))
>
> is a workaround to the problem.
It is. But it hides where the real problem is.
Do you have an ECM?
Regards,
--
Nicolas Goaziou