retitle 410492 vm: Byte-compilation very slow under Emacs 22
reassign 410492 vm
tags 410492 patch
quit

Hi,

When compiling under emacs-snapshot, VM triggers a bug in the
byte-compiler which makes the compilation process run very slow.
Unfortunately it looks like upstream is not going to fix it before
the 22.1 release because it affects very few packages (so far only
VM and Mozart), so we'll have to live with it.

Please apply the following patch to VM, it disables the print-circle
feature of the compiler, and allows the compilation to proceed as
before (although the handling of recursive structures might then be
incorrect, as it was in Emacs 21):

--- vm-7.19.orig/vm-byteopts.el
+++ vm-7.19/vm-byteopts.el
@@ -16,6 +16,7 @@
 ;; different v19 Emacses.
 (setq byte-compile-dynamic nil)
 (setq byte-compile-dynamic-docstrings nil)
+(setq byte-compile-disable-print-circle t)
 ;; avoid v20 features because users are going
 ;; to try to share elc files no matter what we tell them.
 (setq byte-compile-emacs19-compatibility t)

Alternatively, you could just disable vm's support for
emacs-snapshot and emacs22.

Thanks,

-- 
  ,''`.
 : :' :        Romain Francoise <[EMAIL PROTECTED]>
 `. `'         http://people.debian.org/~rfrancoise/
   `-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to