From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: new exporter Date: Tue, 26 Jun 2012 20:43:01 +0200 Message-ID: <87395hkj7u.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> <87r4t261fw.fsf@Rainer.invalid> <87k3yu15wj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjajR-0003mj-12 for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 14:43:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjajO-00047K-Py for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 14:43:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:34830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjajO-00046p-JY for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 14:43:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SjajK-0006x9-Lg for emacs-orgmode@gnu.org; Tue, 26 Jun 2012 20:43:14 +0200 Received: from pd9eb521a.dip.t-dialin.net ([217.235.82.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jun 2012 20:43:14 +0200 Received: from Stromeko by pd9eb521a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jun 2012 20:43:14 +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 Nicolas Goaziou writes: > That may not solve the problem, but could at least simplify it. The problem can be demonstrated with just this code snippet in place of org-export.el: --8<---------------cut here---------------start------------->8--- (eval-when-compile (require 'cl)) (require 'org-macs) (defun org-export-as (backend &optional subtreep visible-only body-only ext-plist noexpand) (org-export-with-current-buffer-copy ())) (defmacro org-export-with-current-buffer-copy (&rest body) (org-with-gensyms (original-buffer offset buffer-string overlays) `(let ((,original-buffer ,(current-buffer))) (with-temp-buffer)))) (provide 'org-export) --8<---------------cut here---------------end--------------->8--- So it might be a bit easier to solve now (I hope). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds