File.el compiles to null file.elc
Alan Mackenzie
acm at muc.de
Fri Sep 9 11:30:18 EDT 2011
Hi, Thomas.
On Fri, Sep 09, 2011 at 01:49:23PM +0200, Thomas Mittelstaedt wrote:
> Am Freitag, den 09.09.2011, 11:08 +0000 schrieb Alan Mackenzie:
> > Hi, XEmacs.
> > XEmacs 21.5.b31, 21.4.22
> > At the moment, when I compile cc-align.el on either of the two versions,
> > the resulting cc-align.elc is empty. More precisely, it looks like
> > this in its entirety:
> > ;ELC^T^@^@^@
> > ;;; compiled by acm at acm.acm on Fri Sep 9 10:53:29 2011
> > ;;; from file /home/acm/cc-mackenzie-2011-08-30/cc-align.el
> > ;;; emacs version 21.4 (patch 22) "Instant Classic" XEmacs Lucid.
> > ;;; bytecomp version 2.27 XEmacs; 2000-09-12.
> > ;;; optimization is on.
> > ;;; this file uses opcodes which do not exist in Emacs 19.
> > (if (and (boundp 'emacs-version)
> > (or (and (boundp 'epoch::version) epoch::version)
> > (string-lessp emacs-version "20")))
> > (error "`cc-align.el' was compiled for Emacs 20"))
> > (or (boundp 'current-load-list) (setq current-load-list nil))
> > cc-align.el hasn't changed since it last compiled, but some of the files
> > it requires have.
> > Is this a known bug? What can I do about it?
> Had the same problem when I installed the latest cc-mode and followed
> the instruction in the README file.
Outch! I didn't know the bug went that far back.
> Solution was to do a byte-compile-file cc-align.el from xemacs
> afterwards.
Sorry, I should have mentioned that I'm the maintainer of CC Mode. I'm
looking for a solution that would be, as far as possible, invisible to
XEmacs users. Maybe I should check the size of cc-align.elc at
initialisation time, and `byte-compile-file' it if it's too small.
It would be nicer still to fix the byte compiler.
> --
> thomas
--
Alan Mackenzie (Nuremberg, Germany).
More information about the XEmacs-Beta
mailing list