[Python-modules-team] Bug#840658: shadows builtin rst.el library

Antoine Beaupré anarcat at debian.org
Thu Oct 13 15:37:20 UTC 2016


Package: docutils-common
Version: 0.12+dfsg-1
Severity: normal

Reading up on rst-mode here:

http://docutils.sourceforge.net/docs/user/emacs.html

.... i am told that rst.el is distributed with Emacs since
v23.1. Unfortunately, it seems that if you have docutils-common *and*
emacs24-common, you have *two* versions of this package installed:

$ dpkg -S rst.el
emacs24-el: /usr/share/emacs/24.4/lisp/textmodes/rst.el.gz
emacs24-common: /usr/share/emacs/24.4/lisp/textmodes/rst.elc
docutils-common: /usr/share/emacs/site-lisp/rst.el

That seems strange to me: shouldn't there be only one rst.el mode out
there?

I would understand if one would be a symlink to the other, or
something similar, but they are actually distinct versions:

$ diff -u /usr/share/emacs/site-lisp/rst.el  <(gunzip -c /usr/share/emacs/24.4/lisp/textmodes/rst.el.gz)| head
--- /usr/share/emacs/site-lisp/rst.el	2014-08-03 21:24:43.000000000 -0400
+++ /dev/fd/63	2016-10-13 11:34:54.258665200 -0400
@@ -1,6 +1,6 @@
 ;;; rst.el --- Mode for viewing and editing reStructuredText-documents.
 
-;; Copyright (C) 2003-2012  Free Software Foundation, Inc.
+;; Copyright (C) 2003-2014 Free Software Foundation, Inc.
 
 ;; Maintainer: Stefan Merten <smerten at oekonux.de>
 ;; Author: Stefan Merten <smerten at oekonux.de>,

This leads me to believe the one shipped with this package is also
outdated.

I would recommend simply not shipping rst.el anymore.

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages docutils-common depends on:
ii  sgml-base  1.26+nmu4
ii  xml-core   0.13+nmu2

Versions of packages docutils-common recommends:
ii  python-docutils   0.12+dfsg-1
ii  python3-docutils  0.12+dfsg-1

docutils-common suggests no packages.

-- Configuration Files:
/etc/emacs/site-start.d/50python-docutils.el [Errno 2] Aucun fichier ou dossier de ce type: u'/etc/emacs/site-start.d/50python-docutils.el'

-- no debconf information



More information about the Python-modules-team mailing list