emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giuseppe Lipari <giulipari@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Error: Symbol's value as variable is void: overlays
Date: Sun, 08 Apr 2018 17:00:59 +0000	[thread overview]
Message-ID: <CABHo5SAocL0vxn4ogYBoAJ08aODybw7T5R8e=F-0zaUQENSc=g@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1003 bytes --]

Dear all,

I use org-mode to publish my web site that I update every now and then. The
site contains my lectures, and indeed I am preparing my lecture for
tomorrow. Unfortunately, while publishing the site using the usual
procedure, I get the infamous error

    Symbol's value as variable is void: overlays

For publishing, I run emacs in batch mode from a makefile as follows:

    emacs --batch -l batch_project.el --kill

and my batch_project.el is attached. I cannot attach a minimal file that
produces the error, because I find it difficult to come up with a minimal
example. All I can say is that the error is produced after many .org files
have been correctly processed.  Everything used to work until a few months
ago. Last week I switched to the latest version of emacs from the git repo,
and today I get the error. Maybe I should clean some cache? Or change the
configuration of the project?

Can someone suggest me any direction where I should look into?

Thanks in advance

Giuseppe Lipari

[-- Attachment #1.2: Type: text/html, Size: 1216 bytes --]

[-- Attachment #2: batch_project.el --]
[-- Type: text/x-emacs-lisp, Size: 1424 bytes --]

(add-to-list 'load-path "~/elisp/org-mode.old/lisp")
(add-to-list 'load-path "~/elisp/org-mode.old/contrib/lisp")
(add-to-list 'load-path "~/elisp/emacs-htmlize")

(require 'org)

(require 'htmlize) 
(setq c-standard-font-lock-fontify-region-function
      'font-lock-default-fontify-region)

(setq org-export-backends (quote (ascii html)))     
(org-babel-do-load-languages
 'org-babel-load-languages
 '((dot . t)
   (emacs-lisp . t)
   (python . t)
   (ditaa . t)
   (sh . t)))

(custom-set-variables '(org-confirm-babel-evaluate nil))

(require 'ox-publish)
(org-babel-lob-ingest "~/Documents/www/org-web/org-code/navbar-code.org")
(setq org-publish-project-alist
      '(
	("org-notes"
	 :base-directory "~/Documents/www/org-web/"
	 :base-extension "org"
	 :publishing-directory "~/Documents/www/public_html"
	 :recursive t
	 :publishing-function org-html-publish-to-html
	 :headline-levels 5             ; Just the default for this project.
	 :auto-preamble t
	 )
	
	("org-static"
	 :base-directory "~/Documents/www/org-web/"
	 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|config\\|sh\\|zip\\|c\\|h"
	 :publishing-directory "~/Documents/www/public_html"
	 :recursive t
	 :publishing-function org-publish-attachment
	 )

	("org" :components ("org-notes" "org-static"))
	;; ... add all the components here (see below)...
      ))

(org-publish-remove-all-timestamps)

(org-publish-project "org")

             reply	other threads:[~2018-04-08 17:01 UTC|newest]

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

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='CABHo5SAocL0vxn4ogYBoAJ08aODybw7T5R8e=F-0zaUQENSc=g@mail.gmail.com' \
    --to=giulipari@gmail.com \
    --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).