From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter Date: Thu, 07 Jun 2012 21:44:34 +0200 Message-ID: <871ulqgb4t.fsf@gmail.com> References: <3C38420E-E2FA-4CAB-B3FD-9C5F8584E60A@gmail.com> <81fwadrgoo.fsf@gmail.com> <87396dzlai.fsf_-_@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScigI-000638-MX for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScigG-00081f-Qe for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:47:42 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:57549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScigG-00081Z-Hd for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:47:40 -0400 Received: by eekb47 with SMTP id b47so500982eek.0 for ; Thu, 07 Jun 2012 12:47:38 -0700 (PDT) In-Reply-To: <87396dzlai.fsf_-_@Rainer.invalid> (Achim Gratz's message of p"Sat, 02 Jun 2012 19:16:37 +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: Achim Gratz Cc: emacs-orgmode@gnu.org Hello, Achim Gratz writes: >here's my first stab on fixing some of that: > > From d7ef1bfbaef873521731697d86112029f02cdc8b Mon Sep 17 00:00:00 2001 > From: Achim Gratz > Date: Sat, 2 Jun 2012 18:38:24 +0200 > Subject: [PATCH 5/5] Make byte-compiler more happy > > * contrib/lisp/org-e-ascii.el: Remove declarations and replace with > require. > > * contrib/lisp/org-e-html.el: Remove declarations and replace with > require. > > * contrib/lisp/org-e-latex.el: Remove declarations and replace with > require. > > * contrib/lisp/org-e-publish.el: Remove declarations and replace with > require. > > * contrib/lisp/org-export.el: Remove declarations and replace with > require. Prevent byte-compilation, it currently would produce an > error due to circular dependencies in the file. declarations (instead of requires) are here to avoid circular dependencies. Why do you want to revert that in the first place? > The way org-export is structured unfortunately produces circular > dependencies due to the dispatcher and that prevents it from being > compiled properly. I think that adding autoload cookies on export functions and removing requires in the dispatcher should solve most problems. > One of test fails (but independently of compiling or not compiling the > rest of the new exporter). The failing test is > test-org-element/src-block-interpreter, it appears that the test > expects the block to be indented by two spaces, but it starts at the > beginning of line for me. Maybe some configuration is missing, but in > any case that should be provided by the test. It should be fixed now. Thank you. Regards, -- Nicolas Goaziou