← Back to team overview

ubuntu-elisp team mailing list archive

[Bug 1199199] [NEW] emacs dependency inhibits using latest version

 

Public bug reported:

Several emacs-related packages (list attached) depend on "emacs-
snapshot".  There is no longer any such package!

The packages alternately depend on meta-package "emacs", but that claims
to pull in the recommended emacs, today emacs23.

I want to have only emacs24, but I don't want to give up on all the add-ons; "mmm-mode" is a very useful.  
But, having two versions of emacs (23 and 24) is not only wasteful, but also a potential source of trouble -- having two potential targets for an "info" request, for example.  

So, I Not-So-Humbly recommend the following.

Rename the package that pulls in the recommended version "emacs-default".  [ Or some other similar name ]
KEEP "emacs" as a virtual package name.  

Have "emacs23-nox", "emacs23-lucid", ... PROVIDES "emacs23", and "emacs23" PROVIDES "emacs".
Likewise "emacs24-nox", "emacs24-whatever" PROVIDES "emacs24", and "emacs24" PROVIDES "emacs".

Then, have the add-ons like "mmm-mode" DEPENDS ON "emacs" if they are version-agnostic, or -- as is done for Python (e.g.)  -- 
DEPENDS ON "emacs >=23.1" AND "emacs <24".

** Affects: emacs23 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging

** Attachment added: "Listing from aptitude search '?debends(emacs-snapshot)'"
   https://bugs.launchpad.net/bugs/1199199/+attachment/3729918/+files/Depends_emacs-snapshot.txt

-- 
You received this bug notification because you are a member of Ubuntu
Emacs Lisp, which is subscribed to emacs23 in Ubuntu.
https://bugs.launchpad.net/bugs/1199199

Title:
  emacs dependency inhibits using latest version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1199199/+subscriptions


Follow ups

References