From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Warning while publishing
Date: Tue, 26 Mar 2013 16:32:15 -0400 [thread overview]
Message-ID: <864nfxgawg.fsf@iro.umontreal.ca> (raw)
Hi, gang. While publishing Org files in batch, I see these warnings:
Warning: defvar ignored because org-agenda-archives-mode is let-bound
Warning: defvar ignored because org-agenda-skip-function is let-bound
which are likely innocuous, but I'm not sure. At first, I do not
understand why agendas get into the picture of publication.
Some more detailed information, in case useful. The publishing script
(called many times from a Makefile) is:
------------------------------------------------------------------------------->
#!/bin/dash
echo
echo "Publishing $1"
echo "Publishing $1" | sed 's/./-/g'
echo
if [ -n "$2" ]; then
rm -f $1
ln -s $2 $1
cp setup.org $1
fi
emacs -Q --batch --load publish.el --eval '(org-publish "'$1'" t)' 2>&1 \
| egrep --line-buffered -v '^(Fontifying|Publishing|Skipping) ' \
|| :
rm -f $1/*~
if [ -n "$2" ]; then
rm -f $1/setup.org $1
fi
-------------------------------------------------------------------------------<
and publish.el is:
------------------------------------------------------------------------------->
(defvar api-org-distribution "~/emacs/_/org-mode")
(add-to-list 'load-path (concat api-org-distribution "/lisp"))
(require 'org)
(org-babel-do-load-languages
'org-babel-load-languages
'((ditaa . t)))
(setq org-confirm-babel-evaluate nil
org-export-allow-BIND t
org-export-default-language "fr"
org-export-with-sub-superscripts nil
org-html-coding-system 'utf-8
org-html-postamble nil)
(setq org-publish-project-alist
`(("base"
:base-directory "~/ubity/org"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html"
:publishing-function org-html-publish-to-html)
("asterisk" :components ("asterisk-data" "asterisk-text"))
("asterisk-data"
:base-directory "~/ubity/org/asterisk"
:base-extension "png"
:publishing-directory "~/ubity/html/asterisk"
:publishing-function org-publish-attachment)
("asterisk-text"
:base-directory "~/ubity/org/asterisk"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/asterisk"
:publishing-function org-html-publish-to-html)
("control2" :components ("control2-data" "control2-text"))
("control2-data"
:base-directory "~/ubity/org/control2"
:base-extension "png"
:publishing-directory "~/ubity/html/control2"
:publishing-function org-publish-attachment)
("control2-text"
:base-directory "~/ubity/org/control2"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/control2"
:publishing-function org-html-publish-to-html)
("control3"
:base-directory "~/ubity/org/control3"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/control3"
:publishing-function org-html-publish-to-html)
("octopasty" :components ("octopasty-data" "octopasty-text"))
("octopasty-data"
:base-directory "~/ubity/org/octopasty"
:base-extension "png"
:publishing-directory "~/ubity/html/octopasty"
:publishing-function org-publish-attachment)
("octopasty-text"
:base-directory "~/ubity/org/octopasty"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/octopasty"
:publishing-function org-html-publish-to-html)
("prov_ng" :components ("prov_ng-data" "prov_ng-text"))
("prov_ng-data"
:base-directory "~/ubity/org/prov_ng"
:base-extension "png"
:publishing-directory "~/ubity/html/prov_ng"
:publishing-function org-publish-attachment)
("prov_ng-text"
:base-directory "~/ubity/org/prov_ng"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/prov_ng"
:publishing-function org-html-publish-to-html)
("ubitopasty"
:base-directory "~/ubity/org/ubitopasty/"
:exclude "^setup.org$"
:publishing-directory "~/ubity/html/ubitopasty"
:publishing-function org-html-publish-to-html)
))
(add-hook 'org-publish-before-export-hook 'save-buffer)
-------------------------------------------------------------------------------<
next reply other threads:[~2013-03-26 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 20:32 François Pinard [this message]
2013-04-06 0:12 ` Warning while publishing Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=864nfxgawg.fsf@iro.umontreal.ca \
--to=pinard@iro.umontreal.ca \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.