GNU bug report logs - #14941
24.3.50; package.el should lighten up wrt version specification

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 23 Jul 2013 17:39:02 UTC

Severity: minor

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 14941-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tom Willemse <tom <at> ryuslash.org>
Cc: 14941-done <at> debbugs.gnu.org
Subject: Re: bug#14941: [Patch] Lighten up wrt version specification
Date: Thu, 13 Mar 2014 09:35:48 -0400
> @@ -1128,6 +1128,8 @@
>                   ((symbolp dep) `(,dep "0"))
>                   ((stringp dep)
>                    (error "Invalid requirement specifier: %S" dep))
> +                 ((and (listp dep) (null (cdr dep)))
> +                  (list (car dep) "0"))
>                   (t dep)))
>                deps))))

I installed this hunk, but not the other.  If a "Version:" header is
missing, it should stay as an error, because package.el relies heavily
on version numbers.  And if the user can write "Version:" she can just
as easily write "Version:0".


        Stefan




This bug report was last modified 11 years and 147 days ago.

Previous Next


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