CWEB major mode does not work under Emacs

Bug #391188 reported by lindelof
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs-goodies-el (Debian)
Fix Released
Unknown
emacs-goodies-el (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: emacs

When trying to edit a CWEB file (i.e. a file ending with .w) under GNU Emacs 22.2.1, I get the following error:

File mode specification error: (error "Autoloading failed to define function cwebm-mode")

When I try to enter this mode manually with M-x cwebm-mode I get the same error.

Here is the Ubuntu release:

Description: Ubuntu 9.04
Release: 9.04

The emacs package is:

emacs:
  Installed: 22.2-0ubuntu2
  Candidate: 22.2-0ubuntu2
  Version table:
 *** 22.2-0ubuntu2 0
        500 http://ch.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
era (era) wrote :

Emacs out of the box does not include a package called cwebm-mode. Tested with clean Jaunty install, aptitude install emacs pulled in emacs22-gtk 22.2-0ubuntu2.

Perhaps you have an add-on package or a lingering library from a different Emacs installation. Unless you can provide additional information about where this package came from, this bug should be closed as invalid; but for the time being, I will mark it as "Incomplete", in anticipation of additional information about your problem.

If you can reproduce the bug with "emacs -q -eval "(setq debug-on-error t)" -- or perhaps without the -q option -- and post the results here, that might help us diagnose the problem.

Changed in emacs22 (Ubuntu):
status: New → Incomplete
Revision history for this message
era (era) wrote :

Oops, spoke too soon. The bug is in the cwebm-mode supplied by emacs-goodies-el.

affects: emacs22 (Ubuntu) → emacs-goodies-el (Ubuntu)
Changed in emacs-goodies-el (Ubuntu):
status: Incomplete → New
Revision history for this message
era (era) wrote :

Confirming, actually, as this is trivially reproducible. Install emacs-goodies-el and run "emacs /tmp/nst.w"

Changed in emacs-goodies-el (Ubuntu):
status: New → Confirmed
Revision history for this message
era (era) wrote :

The entire contents of the file /usr/share/emacs22/site-lisp/emacs-goodies-el/cwebm.el is a long comment, with the following highlight:

;; Important note:
;;
;; I have removed the contents of this file at the request of the FSF
;; while the FSF try to get it licensed compatibly with Emacs, which the
;; FSF believes it modifies. If it doesn't get sorted out, I will remove
;; the file completely. If it does get sorted out, I'll replace this with
;; the new version.

https://alioth.debian.org/scm/viewvc.php/emacs-goodies-el/elisp/emacs-goodies-el/cwebm.el?view=markup&revision=HEAD&root=pkg-goodies-el

The generated file emacs-goodies-loaddefs.el should not contain the autoloads for cwebm until this is fixed (or perhaps cwebm should simply be removed from the package). I suppose this ought to be brought up with the upstream package maintainer as well.

Changed in emacs-goodies-el (Debian):
status: Unknown → New
Revision history for this message
Peter S Galbraith (psg) wrote :

I have left the empty file in emacs-goodies-el as a reminder, but the autoloads are gone, so it shouldn't be a problem anymore.

Peter

Changed in emacs-goodies-el (Ubuntu):
status: Confirmed → Fix Released
status: Fix Released → In Progress
Revision history for this message
era (era) wrote :

The version in Lucid should most certainly no longer have this bug. Marking as Fix Released.

The linked Debian bug task has morphed into an unrelated problem and should in theory be removed, but I don't think I can do that.

Changed in emacs-goodies-el (Ubuntu):
status: In Progress → Fix Released
Changed in emacs-goodies-el (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.