From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: new exporter Date: Tue, 26 Jun 2012 08:18:27 +0200 Message-ID: <87r4t261fw.fsf@Rainer.invalid> References: <3C38420E-E2FA-4CAB-B3FD-9C5F8584E60A@gmail.com> <81fwadrgoo.fsf@gmail.com> <87396dzlai.fsf_-_@Rainer.invalid> <871ulqgb4t.fsf@gmail.com> <87y5nyx4ku.fsf@Rainer.invalid> <87a9zq7htj.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjP6p-0001AB-TN for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 02:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjP6o-00031q-1Y for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 02:18:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:44091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjP6n-00031e-Qj for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 02:18:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SjP6l-0002qg-Gi for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 08:18:39 +0200 Received: from pd9eb5d3d.dip.t-dialin.net ([217.235.93.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jun 2012 08:18:39 +0200 Received: from Stromeko by pd9eb5d3d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jun 2012 08:18:39 +0200 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: emacs-orgmode@gnu.org Achim Gratz writes: > This causes the (current-buffer) to expand literally into the byte-code > (look at the byte-code!) instead of being compiled as a function, which > obviously isn't going to work. This does not happen if I either remove > the cond form or if I wrap the BODY in save-restriction in progn, but I > haven't done any further investigation if the code still works with that > change and if maybe there are other places that are similarly struck. No, that's not right... as long as I compile org-export.el in isolation, it compiles correctly. It croaks if I compile either one of org-e-html.el or org-e-odt.el in the same session. These are the two backends that have a (require 'org-export) in them. SOmething about this must be altering the environment in a way that throws the byte-compiler off-course. Back to the drawing board. :-( Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra