From: David Maus <dmaus@ictsoc.de>
To: manonfire@lavabit.com
Cc: emacs-orgmode@gnu.org
Subject: Re: (require 'cl) seems not to be compiled
Date: Sun, 27 Jun 2010 12:00:32 +0200 [thread overview]
Message-ID: <87aaqglrr3.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <7078.192.251.226.206.1276191465.squirrel@lavabit.com>
[-- Attachment #1.1: Type: text/plain, Size: 1059 bytes --]
wrote:
>Hello,
>some time ago I had a problem with agenda pdf export due to flet macro not
>found,
>which could be worked around by putting (require 'cl) in .emacs.
>http://comments.gmane.org/gmane.emacs.orgmode/21837
>Carsten Dominik pointed out this is unnecessary because of
>(eval-when-compile
> (require 'cl))
>in the sources.
>But I still can't get it to work on several different systems with Ubuntu.
>It doesn't seem to be compiled in.
I can reproduce this, have an idea about what's happening, but none
about howto best fix this. The problem is, that lisp structure that
uses the flet macro in `org-write-agenda' is passed as argument eq
quoted list to `org-let'. The byte compiler doesn't compile the lisp
structure, it is evaluated by `org-let' at runtime.
Thus, if no other package had loaded cl before `org-write-agenda' is
called, passes the lisp structure to `org-let, which evaluates it and
flet is found not to be fbound.
HTH
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-06-27 10:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 17:37 (require 'cl) seems not to be compiled manonfire
2010-06-27 10:00 ` David Maus [this message]
2010-06-27 14:30 ` [PATCH] Make sure `flet' is fbound when executing `org-write-agenda' David Maus
2010-06-27 14:30 ` David Maus
2010-06-27 15:00 ` Štěpán Němec
2010-06-27 16:01 ` [PATCH] Use backquotes to make byte compiler expand `flet' macro David Maus
2010-06-27 16:01 ` David Maus
2010-06-28 4:29 ` Carsten Dominik
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aaqglrr3.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=manonfire@lavabit.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).