all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: Bastien <bzg@gnu.org>
Cc: ian@manor-farm.org, emacs-org <emacs-orgmode@gnu.org>
Subject: Re: Error with org-agenda-write
Date: Wed, 30 Apr 2014 10:34:21 +0100	[thread overview]
Message-ID: <5360C39D.4050408@wilkesley.net> (raw)
In-Reply-To: <87ha5c9fj9.fsf@bzg.ath.cx>

On 29/04/14 19:06, Bastien wrote:

> Ian Barton <lists@wilkesley.net> 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.

      reply	other threads:[~2014-04-30  9:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29 14:52 Error with org-agenda-write Ian Barton
2014-04-29 14:56 ` Bastien
2014-04-29 17:35   ` Ian Barton
2014-04-29 18:06     ` Bastien
2014-04-30  9:34       ` Ian Barton [this message]

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=5360C39D.4050408@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.