From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [bug] void-variable org-special-blocks-line when exporting to HTML Date: Wed, 18 Apr 2012 17:18:36 +0200 Message-ID: <8062cxukz7.fsf@somewhere.org> References: <801uo2ld57.fsf@somewhere.org> <87r4w2eagm.fsf@gnu.org> <20120406010927.GD1023@smoon> <807gxt8dry.fsf@somewhere.org> <874nsxi63l.fsf@gnu.org> <80iphddvll.fsf@somewhere.org> <87ty0txiwh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> I'm not out of the blue yet... I still can't understand why: >> >> - you were unable to reproduce it? >> What's the difference between you and me?=C2=A0;-) >> I mean why does Org behave differently between us? >> >> - nobody else seemed hit by this? >> I'm surprised by the absence of reactions while HTML export was comple= tely >> failing for a couple of days. Once again, why only me? >> >> - this wasn't trapped by the ERT test suite? >> There are a lot of HTML exports done in the tests. Why did they succee= d? >> >> Have you hints on this? > > I guess that's because not everybody uses org-special-blocks.el as a > module. By "using org-special-blocks.el as a module", if you mean "having a line su= ch as": (add-to-list 'org-modules 'org-special-blocks) I did not have one either. I just had: (require 'org-special-blocks) But, IIUC, that's more or less equivalent: - being in `org-modules' means that the package will be required[1] many ti= mes before trying to do different operations (such as inserting a link, etc.), and that there is a protection mechanism in case the package can't be loa= ded - being explicitly required in my .emacs does only try to load it once. Apart from that, I don't see differences. > The ERT suite doesn't make any test against this. Well against exporting HTML. But I did not realize that I was more or less = the only one in the world=C2=A0;-) to load `org-special-blocks'[2] while export= ing to HTML. This must explain that. Case is closed. Best regards, Seb Footnotes: [1] Though, really only loaded once. [2] And I must admit I maybe have used it once or twice, not more... Though= , I still find it an interesting feature. --=20 Sebastien Vauban