From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Halliday Subject: migrating to the snapshot api Date: Mon, 21 Aug 2017 19:21:10 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djrK5-0005wN-6t for Emacs-orgmode@gnu.org; Mon, 21 Aug 2017 14:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djrK4-0001IC-6r for Emacs-orgmode@gnu.org; Mon, 21 Aug 2017 14:21:13 -0400 Received: from mail-ua0-x22e.google.com ([2607:f8b0:400c:c08::22e]:38320) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djrK4-0001HX-2t for Emacs-orgmode@gnu.org; Mon, 21 Aug 2017 14:21:12 -0400 Received: by mail-ua0-x22e.google.com with SMTP id n29so25568118uai.5 for ; Mon, 21 Aug 2017 11:21:12 -0700 (PDT) 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" To: emacs-org list Hi all, I maintain a fork of an org-mode backend for a markdown based publishing format https://github.com/fommil/dotfiles/blob/master/.emacs.d/lisp/ox-leanpub.el Which works great for the org-mode that ships with emacs 25.2. However, when I use the latest org-mode from the snapshots on even the most simple of files, e.g. the one line ========== Wibble wibble I'm a fish ========== I get a stacktrace like this (huge amount of data elided) ========== Debugger entered--Lisp error: (wrong-type-argument sequencep :back-end) mapc(#[ mapc(#[ org-element-map( org-export--footnote-reference-map( org-export-collect-footnote-definitions( org-leanpub-inner-template( org-export-as(leanpub nil nil nil nil) org-export-to-buffer(leanpub "*Org LEANPUB Export*" nil nil nil nil nil (lambda nil (text-mode))) org-leanpub-export-as-markdown() funcall-interactively(org-leanpub-export-as-markdown) call-interactively(org-leanpub-export-as-markdown record nil) command-execute(org-leanpub-export-as-markdown record) execute-extended-command(nil "org-leanpub-export-as-markdown" nil) funcall-interactively(execute-extended-command nil "org-leanpub-export-as-markdown" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) ========== >From reading http://orgmode.org/Changes.html#org1e55804 I can see that I am supposed to remove the :export-block, which I have done locally. Can anybody see what else I need to change to be compatible with the latest version? Best regards, Sam