From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: (require 'cl) seems not to be compiled Date: Sun, 27 Jun 2010 12:00:32 +0200 Message-ID: <87aaqglrr3.wl%dmaus@ictsoc.de> References: <7078.192.251.226.206.1276191465.squirrel@lavabit.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0131048796==" Return-path: Received: from [140.186.70.92] (port=56862 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSofJ-0008Ur-G5 for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSofH-0003Sz-Gs for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:00:41 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:58725) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSofH-0003Sb-By for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:00:39 -0400 In-Reply-To: <7078.192.251.226.206.1276191465.squirrel@lavabit.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: manonfire@lavabit.com Cc: emacs-orgmode@gnu.org --===============0131048796== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Jun_27_12:00:32_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Jun_27_12:00:32_2010-1 Content-Type: text/plain; charset=US-ASCII 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 --pgp-sign-Multipart_Sun_Jun_27_12:00:32_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkwnIUAACgkQma24O1pEeOb4OwEA5NAOHrkZQbHMg365LRQ1QKYv HCy/A0BmB5QklyRhnh8BANKiK7ordviYUx3JhAe5UASyvPi4fb2R3ZlqmtEfTMaa =7o1J -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Jun_27_12:00:32_2010-1-- --===============0131048796== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0131048796==--