all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Willemse <tom@ryuslash.org>
Cc: 14941-done@debbugs.gnu.org
Subject: bug#14941: [Patch] Lighten up wrt version specification
Date: Thu, 13 Mar 2014 09:35:48 -0400	[thread overview]
Message-ID: <jwveh26z0hl.fsf-monnier+bug#14941@gnu.org> (raw)
In-Reply-To: <m3r46xmkxd.fsf@ryuslash.org> (Tom Willemse's message of "Fri, 21 Feb 2014 00:19:42 +0100")

> @@ -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





  reply	other threads:[~2014-03-13 13:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 17:32 bug#14941: 24.3.50; package.el should lighten up wrt version specification Drew Adams
2014-02-20 23:19 ` bug#14941: [Patch] Lighten " Tom Willemse
2014-03-13 13:35   ` Stefan Monnier [this message]
2014-03-13 15:42     ` Drew Adams
2014-03-13 22:12       ` Stefan Monnier
2014-03-13 23:57         ` Drew Adams
2014-03-14 13:18           ` Stefan Monnier
2014-03-16 22:15             ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jwveh26z0hl.fsf-monnier+bug#14941@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=14941-done@debbugs.gnu.org \
    --cc=tom@ryuslash.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.