From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Halliday Subject: Re: migrating to the snapshot api Date: Fri, 25 Aug 2017 09:19:49 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl9qL-00005X-6H for Emacs-orgmode@gnu.org; Fri, 25 Aug 2017 04:19:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dl9qK-0006O8-3S for Emacs-orgmode@gnu.org; Fri, 25 Aug 2017 04:19:53 -0400 Received: from mail-vk0-x22c.google.com ([2607:f8b0:400c:c05::22c]:35888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dl9qJ-0006NY-V4 for Emacs-orgmode@gnu.org; Fri, 25 Aug 2017 04:19:52 -0400 Received: by mail-vk0-x22c.google.com with SMTP id d124so5356748vkf.3 for ; Fri, 25 Aug 2017 01:19:50 -0700 (PDT) In-Reply-To: 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 Apologies for bumping this, I was wondering if anybody had any more thoughts on migrating this backend to the latest version of org-mode? Seems to be something changed that isn't in the migration notes... On 21 August 2017 at 19:21, Sam Halliday wrote: > 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