severity 479040 normal tags 479040 + patch thanks On 2008-05-02 14:25 +0200, Sven Joachim wrote:
> Package: nxml-mode > Version: 20041004-7 > Severity: wishlist > > Could you please drop emacs-snapshot from the list of supported flavors? > Since nxml-mode is part of Emacs 23, it makes no sense to byte-compile > for it any more. This seems to cause real problems for some users, as can be seen in https://bugs.launchpad.net/nxhtml/+bug/354363. So, celebrating the first anniversary of this bug, a patch for it is attached. Regards, Sven
diff -u nxml-mode-20041004/debian/patches/range-striding-over-charsets.dpatch nxml-mode-20041004/debian/patches/range-striding-over-charsets.dpatch --- nxml-mode-20041004/debian/patches/range-striding-over-charsets.dpatch +++ nxml-mode-20041004/debian/patches/range-striding-over-charsets.dpatch @@ -2,7 +2,7 @@ ## range-striding-over-charsets.dpatch by Chris Lawrence <lawre...@debian.org> ## ## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix "range striding over charsets" error with emacs-snapshot. +## DP: Fix "range striding over charsets" error with emacs22. @DPATCH@ --- nxml-mode-20041004.orig/xsd-regexp.el diff -u nxml-mode-20041004/debian/control nxml-mode-20041004/debian/control --- nxml-mode-20041004/debian/control +++ nxml-mode-20041004/debian/control @@ -3,12 +3,12 @@ Priority: optional Maintainer: Chris Lawrence <lawre...@debian.org> Build-Depends: debhelper (>> 4), dpatch (>= 2.0.9) -Build-Depends-Indep: texinfo, emacs22 | emacs21 | emacs-snapshot +Build-Depends-Indep: texinfo, emacs22 | emacs21 Standards-Version: 3.7.2 Package: nxml-mode Architecture: all -Depends: emacs22 | emacs21 | emacs-snapshot, emacsen-common (>= 1.4.14) +Depends: emacs22 | emacs21, emacsen-common (>= 1.4.14) Suggests: libxml2-utils, xsltproc, trang Description: Emacs mode for editing XML documents using RELAX NG schemas This is a new major mode for GNU Emacs for editing XML documents. It diff -u nxml-mode-20041004/debian/emacsen-install nxml-mode-20041004/debian/emacsen-install --- nxml-mode-20041004/debian/emacsen-install +++ nxml-mode-20041004/debian/emacsen-install @@ -8,8 +8,8 @@ FLAVOR=$1 PACKAGE=nxml-mode -if [ ${FLAVOR} != emacs22 ] && [ ${FLAVOR} != emacs21 ] && \ - [ ${FLAVOR} != emacs-snapshot ]; then exit 0; fi +if [ ${FLAVOR} != emacs22 ] && [ ${FLAVOR} != emacs21 ]; \ + then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} diff -u nxml-mode-20041004/debian/rules nxml-mode-20041004/debian/rules --- nxml-mode-20041004/debian/rules +++ nxml-mode-20041004/debian/rules @@ -76,7 +76,6 @@ # dh_installlogrotate dh_installemacsen --flavor=emacs21 --priority=60 dh_installemacsen --noscripts --flavor=emacs22 --priority=60 - dh_installemacsen --noscripts --flavor=emacs-snapshot --priority=60 # dh_installpam # dh_installmime # dh_installinit diff -u nxml-mode-20041004/debian/changelog nxml-mode-20041004/debian/changelog --- nxml-mode-20041004/debian/changelog +++ nxml-mode-20041004/debian/changelog @@ -1,3 +1,10 @@ +nxml-mode (20041004-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove emacs-snapshot support (Closes: #479040). + + -- Sven Joachim <svenj...@gmx.de> Sat, 02 May 2009 08:17:40 +0200 + nxml-mode (20041004-7) unstable; urgency=low * Apply patches below from Michael Olson for Emacs 22 support.