GNU bug report logs - #14137
[PATCH] make package.el more distribution-friendly

Previous Next

Package: emacs;

Reported by: Yann Hodique <yann.hodique <at> gmail.com>

Date: Thu, 4 Apr 2013 08:54:02 UTC

Severity: minor

Tags: patch

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yann Hodique <yann.hodique <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] make package.el more distribution-friendly
Date: Thu, 04 Apr 2013 09:49:53 +0100
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  <yann.hodique <at> gmail.com>

	* 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 <cyd <at> stupidchicken.com>
  ;; 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




This bug report was last modified 12 years and 14 days ago.

Previous Next


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