bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#14137: [PATCH] make package.el more distribution-friendly


From: Yann Hodique
Subject: bug#14137: [PATCH] make package.el more distribution-friendly
Date: Thu, 04 Apr 2013 09:49:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin)

This trivial patch allows to redistribute package.el outside of emacs
more easily by:
- making the dependency to tabulated-list.el explicit
- giving a version number to tabulated-list.el

The former is not very important, but without the latter we can't
reliably backport tabulated-list.el and/or depend on it in packages for
older Emacsen without risking to mask the built-in one when installing
packages that depend on it.

The curent workaround is to depend on version "0" of tabulated-list, but
that's ugly and means that basically we can't make it evolve. Generally
speaking, all built-in packages should have version numbers.


2013-04-04  Yann Hodique  <address@hidden>

        * lisp/emacs-lisp/package.el: depend on tabulated-list explicitly
        * lisp/emacs-lisp/tabulated-list.el: set version number


*** /var/folders/5v/p46z8rl56452tz_1c_fm_zmr0000gn/T//2TbtBg_package.el 
2013-04-04 09:00:04.000000000 +0100
--- lisp/emacs-lisp/package.el  2013-04-04 08:59:41.000000000 +0100
***************
*** 6,11 ****
--- 6,12 ----
  ;; Created: 10 Mar 2007
  ;; Version: 1.0.1
  ;; Keywords: tools
+ ;; Package-Requires: ((tabulated-list "1.0"))

  ;; This file is part of GNU Emacs.

*** /var/folders/5v/p46z8rl56452tz_1c_fm_zmr0000gn/T//2XzEpg_tabulated-list.el  
2013-04-04 09:00:04.000000000 +0100
--- lisp/emacs-lisp/tabulated-list.el   2013-04-04 08:59:17.000000000 +0100
***************
*** 4,9 ****
--- 4,10 ----

  ;; Author: Chong Yidong <address@hidden>
  ;; Keywords: extensions, lisp
+ ;; Version: 1.0

  ;; This file is part of GNU Emacs.


-- 
It is possible to become intoxicated with rebellion for rebellion's sake.

  -- DOMINIC VERNIUS, Ecaz Memoirs





reply via email to

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