GNU bug report logs - #4568
version test in .elc files is too complicated

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Mon, 28 Sep 2009 02:20:04 UTC

Severity: minor

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: bug#4568: version test in .elc files is too complicated
Date: Sun, 27 Sep 2009 19:10:11 -0700 (PDT)
The version test in all the .elc files is too complicated:

(if (and (boundp 'emacs-version)
         (< (aref emacs-version (1- (length emacs-version))) ?A)
         (or (and (boundp 'epoch::version) epoch::version)
           (string-lessp emacs-version "19.29")))
    (error "`vc-hooks.el' was compiled for Emacs 19.29 or later"))

if anyone still runs epoch (very doubtful), there are many other things
that will fail when trying to run emacs-23 byte compiled code.

This was discussed on emacs-devel some time ago (can't find the link at
the moment), but nothing happened.

IMVHO a single condition based on emacs-major-version should be enough.




This bug report was last modified 15 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.