I've managed to reproduce this, so I've just added your fix.
On Mon, Jul 20, 2009 at 1:33 AM, Gunnar Wolf <[email protected]> wrote:
>
> Nathan Weizenbaum dijo [Sat, Jul 18, 2009 at 11:41:36AM -0700]:
> > How exactly are you compiling it?
>
> I have tried several things - But even «M-: (require 'ruby-mode)»
> fails. The messages I sent you are from the package install time -
> Debian byte-compiles the .el files as they are installed using the
> following (autogenerated) file:
>
> /------------------------------------------------------------
> # cat /usr/lib/emacsen-common/packages/install/haml-elisp
> #!/bin/sh
> set -e
> FILES="haml-mode.el sass-mode.el"
>
> FLAVOR="$1"
>
> echo "install/haml-elisp: Handling install of emacsen flavor ${FLAVOR}"
>
> if [ "${FLAVOR}" != "emacs" ]; then
> echo "install/haml-elisp: byte-compiling for ${FLAVOR}"
> cd /usr/share/emacs/site-lisp/haml-elisp
> mkdir -p /usr/share/${FLAVOR}/site-lisp/haml-elisp
> cp $FILES /usr/share/${FLAVOR}/site-lisp/haml-elisp
> cd /usr/share/${FLAVOR}/site-lisp/haml-elisp
> cat <<EOF > path.el
> (setq load-path (cons "." load-path) byte-compile-warnings nil)
> EOF
> FLAVORTEST=`echo $FLAVOR | cut -c-6`
> if [ ${FLAVORTEST} = xemacs ] ; then
> SITEFLAG="-no-site-file"
> else
> SITEFLAG="--no-site-file"
> fi
> ${FLAVOR} -q ${SITEFLAG} -batch -l path.el -f batch-byte-compile $FILES
> rm path.el $FILES
> fi
>
> exit 0;
> \------------------------------------------------------------
>
> So, in short, this is what is executed (and fails):
>
> 0 gw...@malenkaya[8]/tmp$ emacs22 -q --no-site-file -batch -l path.el -f
> batch-byte-compile sass-mode.el
> Wrote /tmp/sass-mode.elc
> 0 gw...@malenkaya[9]/tmp$ emacs22 -q --no-site-file -batch -l path.el -f
> batch-byte-compile haml-mode.el
>
> In haml-extend-region-multiline-hashes:
> haml-mode.el:241:9:Warning: value returned from (char-before) is unused
> haml-mode.el:489:50:Error: Symbol's value as variable is void:
> haml-tag-beg-re
>
> > Emacs21 is definitely not supported. There's no reason to be using it.
>
> Ok, it's good to know, so I can explicitly route around it. Emacs21
> still has a large user base, but if you are not supporting it, I will
> say so to my packages and avoid a headache or three.
>
> --
> Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---