From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Error with org-agenda-write Date: Wed, 30 Apr 2014 10:34:21 +0100 Message-ID: <5360C39D.4050408@wilkesley.net> References: <535FBC9C.1070907@wilkesley.net> <87a9b4gp5n.fsf@bzg.ath.cx> <535FE2E1.9060608@wilkesley.net> <87ha5c9fj9.fsf@bzg.ath.cx> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQuQ-0004Pm-Hu for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 05:34:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfQuK-0000WA-Qe for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 05:34:34 -0400 In-Reply-To: <87ha5c9fj9.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: ian@manor-farm.org, emacs-org On 29/04/14 19:06, Bastien wrote: > Ian Barton 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.