From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Export in Foswiki format? Date: Mon, 24 Apr 2017 10:21:17 +0200 Message-ID: <87h91edxmq.fsf@fu-berlin.de> References: <87efwnwcwh.fsf@fu-berlin.de> <87a87bwbaz.fsf@fu-berlin.de> <87fuh2ng0s.fsf@fu-berlin.de> <87zif97pmp.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2ZFU-00044z-1p for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 04:21:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2ZFO-0003jB-7b for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 04:21:32 -0400 Received: from [195.159.176.226] (port=60109 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2ZFO-0003j3-0Z for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 04:21:26 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d2ZFG-00072a-2I for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 10:21:18 +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" To: emacs-orgmode@gnu.org Nick Dokos writes: > "Loris Bennett" writes: > >> "Loris Bennett" writes: >> >>> "Loris Bennett" writes: >>> >>>> Hi, >>>> >>>> I'm interested in exporting from Org to Foswiki format. Is >>>> org-export-generic.el still the way to go or has this been >>>> superseded by something else? >>> >>> Nevermind, I found this: >>> >>> https://github.com/dfeich/org8-wikiexporters >>> >>> also available via MELPA. >> >> The following >> >> M-x org-twiki-export-as-twiki >> >> worked on a file yesterday. Today, with the same file, I get >> >> org-export-barf-if-invalid-backend: Unknown "nil" back-end: >> Aborting export >> >> Any ideas of what I might have accidentally tweaked to make things >> break? >> > > Restarted your emacs and forgot to load ox-twiki.el? No and yes. 'No' in the sense that I use (and have used for at least a couple of years) Fabrice Niessen's 'try-require' function (http://www.mygooglest.com/fni/dot-emacs.html) for loading things in my .emacs. If the thing to be loaded is missing the error is caught and logged to *Messages*. Loading in this way fails in a subtle way, since the funtion 'org-twiki-export-as-twiki' is known, but broken. 'Yes' in the sense that if I just open the file 'ox-twiki.el' and evaluate the buffer, exporting works fine. I'll open a new thread on the topic of how to require packages which may be missing. Cheers, Loris -- This signature is currently under construction.