Starting gnu emacs gives me this error: File `/usr/share/emacs/site-lisp/mmm-mode/mmm-auto.elc' was not compiled in Emacs I unmerged and remerged mmm-mode, with no success. The file does exist, and does contain this text (among other): ;;; compiled by root@server.gagern.sytes.net on Mon Mar 13 09:14:59 2006 ;;; from file /var/tmp/portage/mmm-mode-0.4.8/work/mmm-mode-0.4.8/mmm-auto.el ;;; emacs version 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid. ;;; bytecomp version 2.27 XEmacs; 2000-09-12. ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 19. Looks all right to me. file(1) identifies the file as Emacs/XEmacs v20 byte-compiled Lisp data Debugger output from calling with --debug-init: Debugger entered--Lisp error: (error "File `/usr/share/emacs/site-lisp/mmm-mode/mmm-auto.elc' was not compiled in Emacs") require(mmm-auto) eval-buffer(#<buffer *load*<2>> nil "/usr/share/emacs/site-lisp/50mmm-mode-gentoo.el" nil t) load-with-code-conversion("/usr/share/emacs/site-lisp/50mmm-mode-gentoo.el" "/usr/share/emacs/site-lisp/50mmm-mode-gentoo.el" nil nil) load("/usr/share/emacs/site-lisp/50mmm-mode-gentoo.el") ;;; some internal magic to choose which files to load eval-buffer(#<buffer *load*> nil "~/.emacs" nil t) load-with-code-conversion("/home/mvg/.emacs" "~/.emacs" t t) load("~/.emacs" t t) #[nil "…—<some binary garbage>" [init-file-user system-type user-init-file-1 user-init-file source alt ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" inhibit-default-init inhibit-startup-message] 5]() command-line() normal-top-level() And a bit of information about my configuration: app-editors/emacs-21.4-r3 USE="X leim motif nls -Xaw3d -lesstif -nosendmail" app-emacs/mmm-mode-0.4.8
It looks like XEmacs compiled your mmm-mode. I'll check the ebuild to see if thats possible and override it.
(In reply to comment #1) > It looks like XEmacs compiled your mmm-mode. You're right, I completely missed that X there... And I do have both emacses installed. > I'll check the ebuild to see if thats possible and override it. I added --with-emacs to the ./configure call, now it works.
Thanks for the note. Fixed in app-emacs/mmm-mode-0.4.8-r1