From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] Export snippet translations are ignored Date: Fri, 25 Oct 2013 19:09:13 +0200 Message-ID: <87iowls2fa.fsf@gmail.com> References: <20131025113651.GA2733@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZksj-0001yI-1E for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 13:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZksa-0003jX-In for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 13:09:04 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:47659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZksa-0003jP-Bp for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 13:08:56 -0400 Received: by mail-wi0-f170.google.com with SMTP id l12so1344391wiv.1 for ; Fri, 25 Oct 2013 10:08:55 -0700 (PDT) In-Reply-To: <20131025113651.GA2733@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 25 Oct 2013 13:36:51 +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: Suvayu Ali Cc: Emacs Org mode Hello, Suvayu Ali writes: > I noticed yesterday that export snippet translations are being ignored. > I have tested this behaviour in a minimal Emacs instance. > > 1. $ emacs -Q -l minimal-org.el > 2. Eval: > (add-to-list 'org-export-snippet-translation-alist > '(("b" . "beamer") > ("l" . "latex"))) This produces an invalid value for the variable: '((("b" . "beamer") ("l" . "latex"))) Notice the spurious pair of parens. You may use: (add-to-list 'org-export-snippet-translation-alist '("b" . "beamer")) (add-to-list 'org-export-snippet-translation-alist '("l" . "latex")) Regards, -- Nicolas Goaziou