[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version strings in lisp files?

From: Jambunathan K
Subject: Re: Version strings in lisp files?
Date: Sat, 21 Apr 2012 20:04:41 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (windows-nt)

Eli Zaretskii <address@hidden> writes:

> AFAIK, the policy is that _if_ you want some version string in a
> package, then keep that to a minimum (1 file).  But there's no policy,
> AFAIK, to have a version string, if Org doesn't need that.

Leaving aside question of Org, 

,---- from package.el
|    ;; Prefer Package-Version; if defined, the package author
|    ;; probably wants us to use it.  Otherwise try Version.
|    (pkg-version
|     (or (package-strip-rcs-id (lm-header "package-version"))
|       (package-strip-rcs-id (lm-header "version"))))

,---- from package.el
|       (unless pkg-version
|       (error
|        "Package lacks a \"Version\" or \"Package-Version\" header"))

I think the policy differs based on what elisp file is being

The above data point is inconsequential for non-core Org because it is a
multi-file package and it's version comes from `org-pkg.el' bundled
within the tar.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]