From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [Accepted] org-export-preprocess-string: Use backend var Date: Mon, 28 Feb 2011 18:16:22 +0530 Message-ID: <81vd0472e9.fsf@gmail.com> References: <8162sgx8l7.fsf@gmail.com> <20110228112050.0F5D86A2C@myhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38391 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu2Um-0003Jv-9H for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 07:46:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu2Ul-0000mZ-77 for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 07:46:36 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:40939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu2Ul-0000lp-3U for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 07:46:35 -0500 Received: by iyf13 with SMTP id 13so3882908iyf.0 for ; Mon, 28 Feb 2011 04:46:34 -0800 (PST) In-Reply-To: <20110228112050.0F5D86A2C@myhost.localdomain> (Bastien Guerry's message of "Mon, 28 Feb 2011 12:20:50 +0100 (CET)") 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: emacs-orgmode@gnu.org Bastien >> + ;; Backend-specific preprocessing >> + (let* ((backend-name (symbol-name backend)) >> + (f (intern (format "org-export-%s-preprocess" backend-name)))) >> + (require (intern (concat "org-" backend-name)) nil) >> + (funcall f parameters)) A few words of explanation from my side. Summary: Facilitate transparent plugging-in of per-backend pre-processing logic to the org exporter. Jambunathan K.