emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giuseppe Lipari <giulipari@gmail.com>
To: Adonay Felipe Nogueira <adfeno@hyperbola.info>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error: Symbol's value as variable is void: overlays
Date: Sun, 08 Apr 2018 19:20:35 +0000	[thread overview]
Message-ID: <CABHo5SDx4GbC00wXF5au-HKz7HEC+PxO4U5XLyTrdcbNFN=-nA@mail.gmail.com> (raw)
In-Reply-To: <87tvslfrw1.fsf@hyperbola.info>

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

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 à 20:57, Adonay Felipe Nogueira <adfeno@hyperbola.info>
a écrit :

> 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.
>
>

[-- Attachment #2: Type: text/html, Size: 1685 bytes --]

      reply	other threads:[~2018-04-08 19:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-08 17:00 Error: Symbol's value as variable is void: overlays Giuseppe Lipari
2018-04-08 17:55 ` Giuseppe Lipari
2018-04-08 18:57 ` Adonay Felipe Nogueira
2018-04-08 19:20   ` Giuseppe Lipari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHo5SDx4GbC00wXF5au-HKz7HEC+PxO4U5XLyTrdcbNFN=-nA@mail.gmail.com' \
    --to=giulipari@gmail.com \
    --cc=adfeno@hyperbola.info \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).