[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Error with org-agenda-write
From: |
Ian Barton |
Subject: |
Re: [O] Error with org-agenda-write |
Date: |
Wed, 30 Apr 2014 10:34:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 29/04/14 19:06, Bastien wrote:
Ian Barton <address@hidden> writes:
The only version of the file I have on my disk is in
/home/ian/.emacs.d/src/org-mode/contrib/lisp/htmlize.el
Looks like a problem with one of your (customized?) face.
Can you reproduce it with emacs -Q ?
Well I had narrowed it down to this part of my init file:
#+BEGIN_SRC emacs-lisp
(defun my-adjoin-to-list-or-symbol (element list-or-symbol)
(let ((list (if (not (listp list-or-symbol))
(list list-or-symbol)
list-or-symbol)))
(require 'cl-lib)
(cl-adjoin element list)))
(mapc
(lambda (face)
(set-face-attribute
face nil
:inherit
(my-adjoin-to-list-or-symbol
'fixed-pitch
(face-attribute face :inherit))))
(list 'org-code 'org-block 'org-table 'org-block-background
'org-date 'org-link 'org-footnote))
#+END_SRC
After removing this the error went away. However, just to confirm this
was the problem I put that section back in my init file, to see if the
error re-occurred, and now it all works perfectly with no errors.
I blame the goblins in my computer:) Sorry for the noise.
Ian.