From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter, conditional options according to backend Date: Fri, 25 Jan 2013 18:50:27 +0100 Message-ID: <87wqv1xicc.fsf@gmail.com> References: <87hame8pdk.fsf@david.espiga4.com.ar> <87sj5w23ia.fsf@gmail.com> <87ip6l2mge.fsf@tajo.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TynQP-0000ze-Ph for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 12:50:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TynQN-0007DY-4v for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 12:50:49 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:41307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TynQM-0007DQ-Rc for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 12:50:47 -0500 Received: by mail-wi0-f180.google.com with SMTP id hj13so532896wib.7 for ; Fri, 25 Jan 2013 09:50:46 -0800 (PST) In-Reply-To: <87ip6l2mge.fsf@tajo.ucsd.edu> (cberry@tajo.ucsd.edu's message of "Fri, 25 Jan 2013 09:37:21 -0800") 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: cberry@tajo.ucsd.edu Cc: emacs-orgmode@gnu.org Hello, cberry@tajo.ucsd.edu writes: > 'backend' is in the scope of transcoding functions like > inline-src-block. > > I am currently taking advantage of this, but it is a shortcut rather > than a necessity. > > Is your advice "Don't do that" ? I would rather say "Don't do that in public code". There's no guarantee this hack will always work. As you probably know, the clean way to retrieve the back-end symbol from a transcoding function is: (plist-get info :back-end) INFO being the third argument passed to the function. Regards, -- Nicolas Goaziou