From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-export-current-backend variable and org-mode 8 Date: Wed, 31 Jul 2013 22:40:13 +0200 Message-ID: <87siyuzcnm.fsf@gmail.com> References: <874nbavgmw.fsf@cantab.net> <87y58mtult.fsf@cantab.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4dBn-00089z-4Q for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 16:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4dBh-00072N-Jg for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 16:40:07 -0400 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:61797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4dBh-000724-DF for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 16:40:01 -0400 Received: by mail-we0-f171.google.com with SMTP id q55so1044652wes.30 for ; Wed, 31 Jul 2013 13:40:00 -0700 (PDT) In-Reply-To: <87y58mtult.fsf@cantab.net> (Christophe Rhodes's message of "Wed, 31 Jul 2013 20:09:02 +0100") 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: Christophe Rhodes Cc: emacs-orgmode@gnu.org Hello, Christophe Rhodes writes: > so that if (as I hope) org-export-current-backend makes a later > reappearance, my documents can work with both org-mode 7 and 8, and > maybe 9? I'm hoping that the disappearance of the variable is an > oversight rather than intentional :-/ It is intentional. I tried to reduce the number of dynamically scoped variables. On the other hand, hooks and filters all get back-end's name, if any, as an argument, which limits the need for that variable. The only missing part is Babel. I thought the recently introduced `by-backend' feature was sufficient. Isn't it the case? I also thought about reintroducing `org-export-current-backend', but that would be redundant with hooks and filters' arguments. Removing these is not an option either, as that would break every hook/filter in the wild. Regards, -- Nicolas Goaziou