From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Lipari Subject: Re: Error: Symbol's value as variable is void: overlays Date: Sun, 08 Apr 2018 19:20:35 +0000 Message-ID: References: <87tvslfrw1.fsf@hyperbola.info> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114e1aacad083305695b2fa2" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5Frs-0000Vb-HA for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 15:20:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5Frr-0003Jv-Df for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 15:20:48 -0400 Received: from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]:35854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5Frr-0003JY-8J for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 15:20:47 -0400 Received: by mail-vk0-x234.google.com with SMTP id q198so3542877vke.3 for ; Sun, 08 Apr 2018 12:20:47 -0700 (PDT) In-Reply-To: <87tvslfrw1.fsf@hyperbola.info> 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" To: Adonay Felipe Nogueira Cc: emacs-orgmode@gnu.org --001a114e1aacad083305695b2fa2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Here you are : -------------cut-here------------ Debugger entered--Lisp error: (void-variable overlays) htmlize-sorted-overlays-at(1) htmlize-faces-at-point() htmlize-buffer-1() htmlize-region(1 58) org-html-htmlize-region-for-paste(1 58) org-html-fontify-code("int main() {\n printf(\"hello world\\n\");\n return 0;\n}" "c") org-html-do-format-code("int main() {\n printf(\"hello world\\n\");\n return 0;\n}" "c" nil t nil) ..... -------------cut-here------------ It is htmlize-faces-at-point(), and only when the exported org-buffer contains a snippet of code. Otherwise, the export process works fine. Giuseppe Lipari Le dim. 8 avr. 2018 =C3=A0 20:57, Adonay Felipe Nogueira a =C3=A9crit : > 2018-04-08T17:00:59+0000 Giuseppe Lipari wrote: > > Symbol's value as variable is void: overlays > > Make sure to get the backtrace, like so: > > --8<---------------cut here---------------start------------->8--- > emacs --batch --eval '(setq debug-on-error t)' -l batch_project.el --kill > --8<---------------cut here---------------end--------------->8--- > > ... this might help us all find where the "overlays" is being called. > > --001a114e1aacad083305695b2fa2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Here you are :

-------------cut-here----= --------
Debugger entered--Lisp error: (void-variable overlays)
= =C2=A0 htmlize-sorted-overlays-at(1)
=C2=A0 htmlize-faces-at-point()
= =C2=A0 htmlize-buffer-1()
=C2=A0 htmlize-region(1 58)
=C2=A0 org-html= -htmlize-region-for-paste(1 58)
=C2=A0 org-html-fontify-code("int m= ain() {\n=C2=A0=C2=A0=C2=A0 printf(\"hello world\\n\");\n=C2=A0= =C2=A0=C2=A0 return 0;\n}" "c")
=C2=A0 org-html-do-format= -code("int main() {\n=C2=A0=C2=A0=C2=A0 printf(\"hello world\\n\&= quot;);\n=C2=A0=C2=A0=C2=A0 return 0;\n}" "c" nil t nil)
= .....
-------------cut-here------------

It is htmlize-= faces-at-point(), and only when the exported org-buffer contains a snippet = of code. Otherwise, the export process works fine.

Giuse= ppe Lipari


Le=C2=A0dim. 8 avr. 2018 =C3=A0=C2=A020:57, Adonay Felipe Nog= ueira <adfeno@hyperbola.info> a =C3=A9crit=C2=A0:
2018-04-= 08T17:00:59+0000 Giuseppe Lipari wrote:
> Symbol's value as variable is void: overlays

Make sure to get the backtrace, like so:

--8<---------------cut here---------------start------------->8---
emacs --batch --eval '(setq debug-on-error t)' -l batch_project.el = --kill
--8<---------------cut here---------------end--------------->8---

... this might help us all find where the "overlays" is being cal= led.

--001a114e1aacad083305695b2fa2--