From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Re: [BUG] htmlp and latexp Date: Tue, 01 Mar 2011 20:06:01 +0100 Message-ID: <87r5aqlkyu.fsf@gnu.org> References: <4D5B8E60.4070307@christianmoe.com> <871v38s1gw.fsf@gnu.org> <87d3mpekpg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58888 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuUtr-0003v7-36 for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 14:06:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuUtq-0000Wv-7K for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 14:06:23 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:59527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuUtq-0000WC-13 for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 14:06:22 -0500 Received: by bwz17 with SMTP id 17so5734866bwz.0 for ; Tue, 01 Mar 2011 11:06:20 -0800 (PST) In-Reply-To: (Dan Davison's message of "Tue, 22 Feb 2011 11:08:57 -0800") 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: Dan Davison Cc: Org , mail@christianmoe.com Hi Dan, Dan Davison writes: > Here's a patch. I note that Eric S pointed out in a separate thread that > org-current-export-file can be used for a similar purpose. Thanks a lot for the patch. I applied a generalized version of it, using `org-export-current-backend' whenever possible - see last git repository. Now one can use `org-export-current-backend' anytime during export to check the current export backend. This also reduces the amount of variable we need to pass to the function. I've been through the functions which had a "backend" variable and I think it's safe to always dismiss such a variable and use `org-export-current-backend'. Best, -- Bastien