Version française
Home     About     Download     Resources     Contact us    
Browse thread
new emacs tuareg mode release
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sam Steingold <sds@g...>
Subject: Re: [Caml-list] new emacs tuareg mode release
On 5/24/10, Philip <feucht@uni-koblenz.de> wrote:
> Hi, i get an error:
>
>  philip@io:~/Desktop/tuareg$ make
>  emacs -batch -q -f batch-byte-compile tuareg.el
>  Loading 00debian-vars...
>  No /etc/mailname. Reverting to default...
>  Loading /etc/emacs/site-start.d/50a2ps.el (source)...
>  Error while loading 50a2ps: Symbol's value as variable is void:
>  a2ps-region
>  Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
>  Loading debian-ispell...
>  Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
>  (source)...
>  Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
>  (source)...
>  Loading /etc/emacs/site-start.d/50festival.el (source)...
>  Loading /etc/emacs/site-start.d/50git-core.el (source)...
>  Loading /etc/emacs/site-start.d/50ocaml-mode.el (source)...
>  Loading /etc/emacs/site-start.d/50psvn.el (source)...
>  Loading /etc/emacs/site-start.d/51tuareg-mode.el (source)...
>
>  In toplevel form:
>  tuareg.el:1933:1:Error: Invalid modifier in string
>  make: *** [tuareg.elc] Error 1

what is your emacs version?
could you please add "--no-site-file" to the emacs invocations:

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 EMACS = emacs
-BATCH = -batch -q --load tuareg.elc
+BATCH = -batch -q --no-site-file --load tuareg.elc
 RM = rm -rf
 CP = cp -f
 LN = ln
@@ -21,7 +21,7 @@
 elc : $(ELC)

 %.elc : %.el
-	$(EMACS) -batch -q -f batch-byte-compile $<
+	$(EMACS) -batch -q --no-site-file -f batch-byte-compile $<

 camldebug.elc : camldebug.el tuareg.elc




-- 
Sam Steingold <http://sds.podval.org>