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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4568 in the body.
You can then email your comments to 4568 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4568; Package emacs. (Mon, 28 Sep 2009 02:20:04 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 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.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4568; Package emacs. (Mon, 28 Sep 2009 05:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 28 Sep 2009 05:50:04 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 4568 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Re: bug#4568: version test in .elc files is too complicated
Date: Mon, 28 Sep 2009 01:45:25 -0400
> The version test in all the .elc files is too complicated:

Please just remove it.


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4568; Package emacs. (Mon, 28 Sep 2009 05:50:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 28 Sep 2009 05:50:08 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 29 Sep 2009 01:25:05 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to Dan Nicolaescu <dann <at> ics.uci.edu> Request was from Dan Nicolaescu <dann <at> ics.uci.edu> to control <at> emacsbugs.donarmstrong.com. (Sat, 05 Dec 2009 00:30:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Jan 2010 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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