all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: andrea crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: auto export via git hook
Date: Fri, 04 Sep 2009 13:28:16 +0200	[thread overview]
Message-ID: <m2y6ovosof.fsf@gmail.com> (raw)
In-Reply-To: 29003.1251986696@gamaville.dokosmarshall.org

Nick Dokos <nicholas.dokos@hp.com> writes:

> andrea crotti <andrea.crotti.0@gmail.com> wrote:
> See the following thread in the mail list archive:
>
>     http://thread.gmane.org/gmane.emacs.orgmode/17059
>
> Basically, --batch implies -q, so you have to do any initialization
> (including setting the load-path) as part of the invocation.
>

Ok thanks I understood the problem but I still didn't solve it, now with
this
emacs --batch \
--load=$HOME/.emacs.d/init.el \
--load=$HOME/.emacs.d/org-mode/org.elc \
--eval "(setq org-export-headline-levels 2)" \
--visit=README.org --funcall org-export-as-html-batch

I get:
.git/hooks/pre-commit.bak
Invalid function: charset-iso-final-char

which is "charset-iso-final-char is a compiled Lisp function in
`mule.el'."

But I also suspect that init.el is not loaded, it's too fast...
any help?

  reply	other threads:[~2009-09-04 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03  9:26 auto export via git hook andrea crotti
2009-09-03 14:04 ` Nick Dokos
2009-09-04 11:28   ` andrea crotti [this message]
2009-09-04 11:53     ` Nick Dokos

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=m2y6ovosof.fsf@gmail.com \
    --to=andrea.crotti.0@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 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.