================================================================
Dear Bug Team!
I have a problem in compiling elisp files.
When I have
(latin-unity-install)
(require 'un-define)
active in my init.el file to activate unicode support I can no longer
bytecompile files or rather the compiles code seems to be incorrect.
It is reproducible with the following code snippet:
(setq try-oblique-before-italic-fonts t)
after byte-compiling it he loading of the elc file produces the
following error:
Invalid byte code: "reference 3 to constants array out of range 0, 1"
If I deactivate the two lines in the init.el file everything seems to
be ok.
Here is a hexdump of the elc file:
00000000: 3b45 4c43 1400 0000 0a3b 3b3b 2063 6f6d ;ELC.....;;; com
00000010: 7069 6c65 6420 6279 2041 6e64 7265 6173 piled by Andreas
00000020: 5f45 6465 7240 676d 782e 6465 206f 6e20 _Eder(a)gmx.de on
00000030: 5375 6e20 4a61 6e20 3330 2031 343a 3333 Sun Jan 30 14:33
00000040: 3a32 3320 3230 3035 0a3b 3b3b 2066 726f :23 2005.;;; fro
00000050: 6d20 6669 6c65 202f 686f 6d65 2f61 7265 m file /home/are
00000060: 2f65 6c67 696e 2f69 6e69 742d 666f 6e74 /elgin/init-font
00000070: 732e 656c 0a3b 3b3b 2065 6d61 6373 2076 s.el.;;; emacs v
00000080: 6572 7369 6f6e 2032 312e 3420 2870 6174 ersion 21.4 (pat
00000090: 6368 2031 3629 2022 436f 7270 6f72 6174 ch 16) "Corporat
000000a0: 6520 4375 6c74 7572 6522 2058 456d 6163 e Culture" XEmac
000000b0: 7320 4c75 6369 642e 0a3b 3b3b 2062 7974 s Lucid..;;; byt
000000c0: 6563 6f6d 7020 7665 7273 696f 6e20 322e ecomp version 2.
000000d0: 3237 2058 456d 6163 733b 2032 3030 302d 27 XEmacs; 2000-
000000e0: 3039 2d31 322e 0a3b 3b3b 206f 7074 696d 09-12..;;; optim
000000f0: 697a 6174 696f 6e20 6973 206f 6e2e 0a3b ization is on..;
00000100: 3b3b 2074 6869 7320 6669 6c65 2075 7365 ;; this file use
00000110: 7320 6f70 636f 6465 7320 7768 6963 6820 s opcodes which
00000120: 646f 206e 6f74 2065 7869 7374 2069 6e20 do not exist in
00000130: 456d 6163 7320 3139 2e0a 0a28 6966 2028 Emacs 19...(if (
00000140: 616e 6420 2862 6f75 6e64 7020 2765 6d61 and (boundp 'ema
00000150: 6373 2d76 6572 7369 6f6e 290a 0920 286f cs-version).. (o
00000160: 7220 2861 6e64 2028 626f 756e 6470 2027 r (and (boundp '
00000170: 6570 6f63 683a 3a76 6572 7369 6f6e 2920 epoch::version)
00000180: 6570 6f63 683a 3a76 6572 7369 6f6e 290a epoch::version).
00000190: 0920 2020 2020 2873 7472 696e 672d 6c65 . (string-le
000001a0: 7373 7020 656d 6163 732d 7665 7273 696f ssp emacs-versio
000001b0: 6e20 2232 3022 2929 290a 2020 2020 2865 n "20"))). (e
000001c0: 7272 6f72 2022 6069 6e69 742d 666f 6e74 rror "`init-font
000001d0: 732e 656c 2720 7761 7320 636f 6d70 696c s.el' was compil
000001e0: 6564 2066 6f72 2045 6d61 6373 2032 3022 ed for Emacs 20"
000001f0: 2929 0a0a 286f 7220 2862 6f75 6e64 7020 ))..(or (boundp
00000200: 2763 7572 7265 6e74 2d6c 6f61 642d 6c69 'current-load-li
00000210: 7374 2920 2873 6574 7120 6375 7272 656e st) (setq curren
00000220: 742d 6c6f 6164 2d6c 6973 7420 6e69 6c29 t-load-list nil)
00000230: 290a 0a0a 2862 7974 652d 636f 6465 2022 )...(byte-code "
00000240: 1b2c 4141 891b 2842 1087 2220 5b74 7279 .,AA..(B.." [try
00000250: 2d6f 626c 6971 7565 2d62 6566 6f72 652d -oblique-before-
00000260: 6974 616c 6963 2d66 6f6e 7473 2074 5d20 italic-fonts t]
00000270: 3229 0a 2).
I hope this helps to identify the problem.
Thanks in advance,
Andreas
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux elgin 2.6.4-52-smp #2 SMP Sat Dec 4 18:44:16 CET 2004 i686 i686 i386
GNU/Linux
./configure '--site-includes=/usr/local/include/'
'--site-libraries=/usr/local/lib' '--dynamic' '--with-dialogs=yes'
'--with-sound=esd' '--with-mule'
XEmacs 21.4.16 "Corporate Culture" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/are/xemacs-21.4.16
Installation prefix: /usr/local
Additional header files: /usr/local/include/
Additional libraries: /usr/local/lib
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow
Compiler version: gcc (GCC) 3.3.3 (SuSE Linux)
Compiler specs file: /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Need to guess glibc1/2/etc here
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11/include
- X Windows libraries location: /usr/X11/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: pgsql/libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/home/are/elisp/slime-1.0/hyperspec /home/are/elisp/hyperspec
/home/are/elisp/camldebug
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/camldebug
/home/are/elisp/ruby-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/ruby-modes/ruby-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.4.16/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.15 upstream: 2.112)
(xwem ver: 1.19 upstream: lg(a)xwem.org--2004/xwem--main--2.0--version-0)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.13 upstream: lg(a)xwem.org--2004/xlib--main--2.0--version-0)
(xemacs-devel ver: 1.7 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.94 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.3 upstream: 4.0pre47)
(vm ver: 7.18 upstream: 7.17)
(viper ver: 1.37 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.19 upstream: 3.32.20)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.4 upstream: No-Upstream-Ver)
(tramp ver: 1.21 upstream: 2.0.46)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.37 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.82 upstream: No-Upstream-Ver)
(texinfo ver: 1.28 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.11 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.17 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.19 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.15 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.17 upstream: 1.0.6)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.43 upstream: 1.3.1)
(ps-print-nomule ver: 1.05 upstream: regular)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.01 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.06 upstream: No-Upstream-Ver)
(pcomplete ver: 1.03 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.35 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.44 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.28 upstream: 7.4.2)
(mew ver: 1.18 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.7 upstream: No-Upstream-Ver)
(liece ver: 1.13 upstream: 1.4.9)
(jde ver: 1.46 upstream: regular)
(ispell ver: 1.29 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(idlwave ver: 1.31 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.07 upstream: 1.45)
(gnus ver: 1.82 upstream: 5.10.6)
(gnats ver: 1.16 upstream: 3.101)
(general-docs ver: 1.03 upstream: No-Upstream-Ver)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.12 upstream: 5.2.3)
(eshell ver: 1.07 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.12 upstream: Version 4.0 Revision: 1.675)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(eicq ver: 1.04 upstream: regular)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.19 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.16 upstream: 7.12)
(dictionary ver: 1.15 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.14 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.09 upstream: /main/laptop/156)
(cc-mode ver: 1.43 upstream: 5.30.9)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.25 upstream: 2.34)
(auctex ver: 1.44 upstream: 11.54)
(apel ver: 1.27 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
(skk ver: 1.23 upstream: regular)
(mule-ucs ver: 1.06 upstream: 0.84)
(mule-base ver: 1.46 upstream: No-Upstream-Ver)
(lookup ver: 1.14 upstream: 1.0)
(locale ver: 1.22 upstream: No-Upstream-Ver)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.1 upstream: 1.10)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow rect ethio-util bbdb-w3 w3-hot url-file url-cache
w3-xemac w3-xemacs w3-toolbar xbm-button xpm-button w3-forms images
url-http url-cookie urlauth w3 w3-menu url-news url-gw w3-script
w3-jscript w3-elisp w3-java cus-edit cus-load w3-emulate w3-auto
w3-parse url mm w3-display w3-mouse w3-imap w3-widget w3-vars
w3-keyword w3-cus url-parse url-vars css mule-sysdp w3-cfg w3-sysdp
vm-virtual vm-minibuf vm-macro bbdb-hooks vm-page vm-delete vm-mime
vm-sort vm-undo vm-message vm-save vm-toolbar vm-motion vm-summary
tapestry vm-thread vm-menu vm-folder vm-misc vm-mouse vm-window
u-vm-color vm-bogofilter bbdb-vm bbdb-snarf bbdb-com vm-autoload
vm-vars highlight-headers vm-version vm vm-startup annotations sort
gnus-cite flow-fill mail-extr gnus-async gnus-bcklg gnus-ml gnus-topic
nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 pgg password pgg-parse pgg-def mm-view
gnus-sum gnus-group gnus-undo nntp nnoo nnmail mail-source format-spec
gnus-cache gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems gnus-xmas un-define mule-uni latin-unity-tables
latin-unity-latin10 latin-unity-latin9 latin-unity-latin8
latin-unity-latin7 latin-unity-vars latin-unity passwd efs-cu env
eldoc timer imenu bib-cite tex-toolbar tex-site message messagexmas
mml mml-sec mml-smime smime dig mm-decode mm-bodies mm-encode mailcap
lpr mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs
sendmail nnheader nnheaderxm gnus-util netrc time-date parse-time
mm-util mail-prsvr mail-utils mailheader canlock sha1 executable
hex-util bbdb timezone mailcrypt rfc822 color-theme wid-edit gnuserv
rsz-minibuf time-stamp completion completer sym-lock atomic-extents
hippie-exp slime byte-optimize bytecomp byte-compile apropos
timer-funcs easy-mmode hyperspec thingatpt browse-url hideshow pp
inf-lisp comint ring advice advice-preload uniquify filladapt footnote
overlay scroll-in-place redo savehist backup-dir edmacro iswitchb
crypt crypt++ history recent-files view-less view efs-ovwrt
default-dir font-lock func-menu dired-faces dired-xemacs dired font
disp-table cus-face blink-cursor paren blink-paren pending-del
zenirc-autoloads xwem-autoloads xslt-process-autoloads
xslide-autoloads xlib-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads riece-autoloads
reftex-autoloads python-modes-autoloads psgml-dtds-autoloads
psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads escreen-autoloads erc-autoloads
emerge-autoloads elib-autoloads eieio-autoloads eicq-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
Sun-autoloads skk-autoloads mule-ucs-autoloads mule-base-autoloads
lookup-autoloads locale-autoloads leim-autoloads latin-unity-autoloads
egg-its-autoloads edict-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 slovenian czech romanian ccl mule-help
code-cmds gutter-items menubar-items x-menubar mode-motion mouse
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete cus-file derived frame text-props obsolete cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp postgresqlv7 postgresql file-coding mule
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar esd-sound native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar md5 xemacs xim gutter tiff png gif
jpeg xpm xbm lisp-float-type linux dialog devices window-system
base64)
Recent keystrokes:
-----------------
C-n C-k C-k C-x s ! M-x RET M-x b - c - f RET RET M-x
l - f RET i n i TAB c RET up ; C-e RET RET ( s e t
q SPC j u n k SPC 3 ) C-x s ! M-x b - c - f RET RET
# BS C-x 1 C-a C-k C-p C-p C-d C-x s ! M-x b - c -
f RET RET M-x l - f - RET C-g C-x 0 M-x l o TAB a -
f RET i n i TAB c RET misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Invalid byte code: "reference 3 to constants array out of range 0, 1"
Loading xemacsbug...
Loading /home/are/elgin/init-fonts.elc...
Making completion list...
Quit
Loading edit-faces...done
Loading edit-faces...
Wrote /home/are/elgin/init-fonts.elc
Compiling /home/are/elgin/init-fonts.el...done
Compiling /home/are/elgin/init-fonts.el...
Wrote /home/are/elgin/init-fonts.el
Wrote /home/are/elgin/init-fonts.elc
Compiling /home/are/elgin/init-fonts.el...done
Warning: assignment to free variable junk
Compiling /home/are/elgin/init-fonts.el...
Wrote /home/are/elgin/init-fonts.el
Invalid byte code: "reference 3 to constants array out of range 0, 1"
Loading /home/are/elgin/init-fonts.elc...
Wrote /home/are/elgin/init-fonts.elc
--
Wherever I lay my .emacs, there's my $HOME.