From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: org-mime-org-buffer-htmlize can't find back-end Date: Thu, 07 Apr 2016 08:41:24 -0400 Message-ID: <6sw6c760vt3823.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao9FZ-0003CU-JM for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:41:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao9FV-0006Yn-Gu for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:41:29 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao9FV-0006Yg-CL for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:41:25 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BCA9620BC2 for ; Thu, 7 Apr 2016 08:41:24 -0400 (EDT) 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: Rasmus Cc: emacs-orgmode@gnu.org Peter Davis writes: > Peter Davis writes: > >> Rasmus writes: >> >>> Hi Peter, >>> >>> Peter Davis writes: >>> >>>> I used to be able to use org-buffer-org-mime-htmlize to send my org >>>> documents as multipart/alternative html & text email. For some >>>> reason, this is stopped working, and now displays >>>> >>>> Unknown "nil" back-end: Aborting export >>>> >>>> In the *Messages* buffer, I see >>>> >>>> org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export >>>> >>>> So how is the back-end supposed to be defined? (And why might it have >>>> broken?) I haven't not made any related changes in a *long* >>>> time. >>> >>> Could you provide a reproducible example starting with emacs -q? >>> >>> I can't reproduce it here by >>> >>> 1. starting from emacs -q with latest org from master >>> 2. creating an org buffer with the content: >>> - 1 >>> - 2 >>> 3. calling org-mime-org-buffer-htmlize on this buffer. >> >> Thank you, Rasmus, but ... >> >> If I start emacs with -q, it doesn't know about org. It can't set org-mode, or run org-mime commands. Is there a way to load this >> manually? >> >> Also, can "the latest org from master" be gotten through package manager? > > > Hmmm. It seems I had this same problem last October, and manually loading ox-org solved it, as it does now. That was suggested by > Aaron Ecay. > > Then, as suggested by Nicolas, I added (require 'ox-org) to my .emacs. I guess that worked for the time being. I haven't changed > much in my startup file since then, and almost everything following that is commented out. I did, however, try to add startup > commands for hyperbole, but I never got that working. Perhaps that broke things somehow. Actually, after re-reading the old exchange more carefully, it seems that I already had (require 'ox-org) in my startup file, but still got the error. However, manually loading the ox-org library avoided the error. So it seems that: 1) the cause of the problem was never identified, 2) manually loading ox-org avoids the problem, and, 3) I guess I just haven't been using org-mime-org-buffer-htmlize on this machine for a while, so I forgot about it. Interestingly, this all works with no problems on my other MacBook. Thanks, -pd