Your message dated Fri, 22 Sep 2023 07:19:38 +0000
with message-id <[email protected]>
and subject line Bug#1052166: fixed in mmm-mode 0.5.9-3
has caused the Debian Bug report #1052166,
regarding mmm-mode: should avoid the conflict with xemacs21 by disabling the 
xemacs flavors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1052166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmm-mode
Version: 0.5.9-2
Severity: important
Tags: patch

The conflict with xemacs21 is not acceptable as it prevents the
installation of mmm-mode on machines with both emacs-gtk and xemacs21
installed (typically multi-user machines).

It appears that disabling the xemacs flavors avoids the installation
failure (see attached patch, which removes the conflict and patches
mmm-mode.emacsen-install to disable the xemacs flavors and do some
cleanup); apel and flim do something similar:

case $FLAVOR in
    *xemacs*|emacs2[0-3]|emacs1?|mule2)
    exit 0
    ;;
esac

and ditto for w3m-el:

case $FLAVOR in
    *xemacs*|emacs2[0-5]|emacs1?|mule2)
    exit 0
    ;;
esac

so I suppose that this is OK. It works on a test machine, where I
installed xemacs21 for the test, and I can select mmm-mode with
GNU Emacs. If there is any issue with xemacs21 at run time, this
is their problem.

Note that mmm-mode.emacsen-remove still has a comment about xemacs,
but I suppose that this doesn't matter.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mmm-mode depends on:
hi  emacs-gtk [emacsen]      1:27.1+1-3.1+b1
ii  emacsen-common           3.0.5
ii  xemacs21-mule [emacsen]  21.4.24-12

mmm-mode recommends no packages.

mmm-mode suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
diff -aurd mmm-mode-0.5.9-a/debian/control mmm-mode-0.5.9-b/debian/control
--- mmm-mode-0.5.9-a/debian/control     2023-09-18 01:04:40.000000000 +0200
+++ mmm-mode-0.5.9-b/debian/control     2023-09-18 16:42:21.024106528 +0200
@@ -10,7 +10,6 @@
 Priority: optional
 Architecture: all
 Depends: emacs24 | emacsen | emacs-snapshot, emacsen-common (>= 2.0.8), 
${misc:Depends}
-Conflicts: xemacs21
 Homepage: https://github.com/purcell/mmm-mode
 Description: Multiple Major Mode for Emacs
  MMM Mode is a minor mode for Emacs that allows Multiple Major Modes
diff -aurd mmm-mode-0.5.9-a/debian/mmm-mode.emacsen-install 
mmm-mode-0.5.9-b/debian/mmm-mode.emacsen-install
--- mmm-mode-0.5.9-a/debian/mmm-mode.emacsen-install    2018-09-23 
06:41:57.000000000 +0200
+++ mmm-mode-0.5.9-b/debian/mmm-mode.emacsen-install    2023-09-18 
16:45:33.380094673 +0200
@@ -5,10 +5,14 @@
 FLAVOR="$1"
 FLAVORTEST=`echo $FLAVOR | cut -c-6`
 
+if [ ${FLAVORTEST} = xemacs ] ; then
+    exit 0
+fi
+
 echo "install/mmm-mode: Handling install of emacsen flavor ${FLAVOR}"
 
 # e25 makes things stale and unflavoured, just emacs and source dir == compile 
dir
-# before that flavours emacs24, xemacs21 etc.
+# before that flavours emacs24, etc.
 echo "install/mmm-mode: byte-compiling for ${FLAVOR}"
 mkdir -p /usr/share/${FLAVOR}/site-lisp/mmm-mode
 
@@ -18,21 +22,12 @@
                fi
 done
 
-# xemacs: cl-lib.el shipped in the flavour directory
-if [ "$FLAVORTEST" = "xemacs" ]; then
-               FILES="cl-lib.el $FILES"
-fi
-       
 cd /usr/share/${FLAVOR}/site-lisp/mmm-mode
 cat <<EOF > path.el
 (setq load-path (cons "." load-path) byte-compile-warnings nil)
 EOF
-if [ ${FLAVORTEST} = xemacs ] ; then
-    SITEFLAG="-no-site-file"
-else
-    SITEFLAG="--no-site-file"
-fi
-${FLAVOR} -q ${SITEFLAG} -batch -l path.el -f batch-byte-compile $FILES
+
+${FLAVOR} -q --no-site-file -batch -l path.el -f batch-byte-compile $FILES
 rm -f path.el
 
 exit 0;

--- End Message ---
--- Begin Message ---
Source: mmm-mode
Source-Version: 0.5.9-3
Done: Alexander Zangerl <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mmm-mode, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Zangerl <[email protected]> (supplier of updated mmm-mode package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 22 Sep 2023 17:04:36 +1000
Source: mmm-mode
Architecture: source
Version: 0.5.9-3
Distribution: unstable
Urgency: high
Maintainer: Alexander Zangerl <[email protected]>
Changed-By: Alexander Zangerl <[email protected]>
Closes: 1052166
Changes:
 mmm-mode (0.5.9-3) unstable; urgency=high
 .
   * xemacs conflict removed, NEWS updated (closes: #1052166)
Checksums-Sha1:
 4e20984aa2f77fdb441f06b52b5dcf658119bfd7 1644 mmm-mode_0.5.9-3.dsc
 f7dce7c926b87101f82f12a344fe41ee182f6b8e 7824 mmm-mode_0.5.9-3.debian.tar.xz
 9a6156a29ef49bc2325cc6911e6283e0e14da711 7285 mmm-mode_0.5.9-3_amd64.buildinfo
Checksums-Sha256:
 f4f3ff18351ab3cc44c5772673f2dd2e89fd0fff4ee604bb854fae39419e6ba8 1644 
mmm-mode_0.5.9-3.dsc
 0f804bb20d91adfa05eb0c32d47d4ea5568634fea00d0fc21bb5dd7db2976ac7 7824 
mmm-mode_0.5.9-3.debian.tar.xz
 69f42a3b902782d50f8f03805794d49becb7ab0cc6143f4126ffe191e336757b 7285 
mmm-mode_0.5.9-3_amd64.buildinfo
Files:
 e62518440b303305977c94865fd335e6 1644 editors optional mmm-mode_0.5.9-3.dsc
 149445e26d77c6bb4e8c6b1f304416a8 7824 editors optional 
mmm-mode_0.5.9-3.debian.tar.xz
 1d59e1a1295a3f71ec6809bcc9767efc 7285 editors optional 
mmm-mode_0.5.9-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJlDT6yAAoJED06g4g30PqNhfkP/0DhEwsB2nMEHFJdBH2P+RSf
epYdqs9awuK8qpCLaVxyCYQs7bF25LIv0nYedlCtx+Fe7MLxVssX77NDY2TAv+2V
UtGu5TvGbHMgiwMVYHPv3PfBUrg9VDEUJUQsMKI7DKbWnBXHypYniama5pstykyA
iWdrMsW1HSjQ3atlT0lrJHRy91jk1zt8Q3KodC83uqjYoCbgjBACkNDxhJ/xRS9N
ZVAQdEPirL0p3ZETCQfCPG5DXgPLsdDGLtLHbMw9AIOL9nu0i7xupA+KMUYwTa9d
Uvb1sJYQgA8rwrkKHkjhhKawjRNzFO2eNQO6TM0O/8mDx2n10OJNIavS/2RfDBWN
PjBeCZA+0zZTZxIpFVo1S7piCZHHxh4Qwjch8rDiNqW5qkruPaM/dP4uy9reyHMF
eC3KStlY+PYObk3edkygydUVtvCActwkNKKuA0yr1rydMCqwVMa0Ns/k7333xCNk
sjtF8b0eytlies7xJkwVn9GwK0zD2MULp2eApWgK3RTijLMEMUyVem6txbDInF42
+EcCaHeIWhFiecjKo/qZ7p+TQhvQa4vgntoX3xgWXb5hAOQEuFYk8UGvAkgsLeCs
fgT2ogCArEi7yMAPvCMOfJQFtyy/yeXMFF8I3YtzOqlZzggyHBBQlZBQvHaNL/KQ
ZK73VJZMXAhDzVT/w5Pe
=7+ve
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to