From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Can't email multipart/alternative anymore Date: Tue, 27 Oct 2015 15:15:00 +0000 Message-ID: <87y4eoxs0b.fsf@gmail.com> References: <6sw6c7io5xg58k.fsf@pfdstudio.com> <87fv11zqej.fsf@gmail.com> <877fmdz567.fsf@nicolasgoaziou.fr> <562A9F48.7020203@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr5xv-0005fv-SQ for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr5xr-0004X8-Jw for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:15:11 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:38179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr5xr-0004Wl-Ds for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:15:07 -0400 Received: by wicll6 with SMTP id ll6so165183196wic.1 for ; Tue, 27 Oct 2015 08:15:06 -0700 (PDT) In-Reply-To: <562A9F48.7020203@pfdstudio.com> 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: Peter Davis , emacs-orgmode@gnu.org 2015ko urriak 23an, Peter Davis-ek idatzi zuen: >=20 > On 10/23/15 4:44 PM, Nicolas Goaziou wrote: >> Hello, >>=20 >> Aaron Ecay writes: >>=20 >>> Based on the backtrace, I think that if you do M-x load-library RET >>> ox-org RET your error should disappear. >>>=20 >>> If that=E2=80=99s the cause, the attached (draft) patch should give a b= etter >>> error message in cases like this. >> Thank you. >>=20 >> However, `org-export-barf-if-invalid-backend' raises an error, not >> a user-error. IOW, it doesn't need to be verbose: it is a bug if a user >> sees it anyway. >=20 > Actually, I didn't see the barf part in the mini-buffer. All I saw there= =20 > was: >=20 > Unknown "nil" back-end: Aborting export Indeed =E2=80=93 the patch I sent was targeted at better error messages, not at avoiding the error. (I first tried to automatically load ox-org in the relevant case, but that runs into circular require problems). I could do a smaller patch which just changes the error message text within o-e-barf-if-invalid-backend. Or drop it if you feel it=E2=80=99s not worth it. >=20 >=20 > I copied the rest from *Messages* >> I suggest to (require 'ox-org) where appropriate and fix the issue. >> I didn't look closely at the problem so you know better than me where >> this line should be added. > I replied earlier, but it doesn't seem to have shown up on the list yet.= =20 > Explicitly loading ox-org *did* fix the problem for me, but I already have >=20 > (require 'ox-org) >=20 > in my .emacs file, so I'm not sure why that was ineffective. As Nicolas said, it would be good to know if upgrading org fixes the issue that you see. Thanks, --=20 Aaron Ecay