emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Export in Foswiki format?
Date: Mon, 24 Apr 2017 10:21:17 +0200	[thread overview]
Message-ID: <87h91edxmq.fsf@fu-berlin.de> (raw)
In-Reply-To: 87zif97pmp.fsf@alphaville.usersys.redhat.com

Nick Dokos <ndokos@gmail.com> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>
>>> "Loris Bennett" <loris.bennett@fu-berlin.de> 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.

      reply	other threads:[~2017-04-24  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20 11:12 Export in Foswiki format? Loris Bennett
2017-04-20 11:47 ` Loris Bennett
2017-04-21 11:42   ` Loris Bennett
2017-04-21 15:21     ` Nick Dokos
2017-04-24  8:21       ` Loris Bennett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h91edxmq.fsf@fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).