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:32:45 -0400 Message-ID: <6sw6c7d1q138gi.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao97D-0004wu-3l for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:32:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao978-0004od-PC for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:32:51 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao978-0004oT-LD for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 08:32:46 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 41572208EA for ; Thu, 7 Apr 2016 08:32:46 -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: > 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. Thanks again! -pd