Bug#908743: mmm-mode: package cl-lib conflicts with emacs cl-lib

2018-09-14 Thread Julian Gilbey
On Fri, Sep 14, 2018 at 09:21:01PM +1000, Alexander Zangerl wrote:
> On Thu, 13 Sep 2018 12:03:31 +0100, Julian Gilbey writes:
> >Real cl-lib shadowed by compatibility cl-lib?
> >(/usr/share/emacs/site-lisp/mmm-mode/cl-lib.el)
> 
> agh. to support xemacs mmm-mode needs to ship a cl-lib.el
> as xemacs doesn't have one of those.
> 
> looks like the mmm-mode postinstall (which already byte-compiles
> only the applicable files for the emacs platform in question) needs
> to be a bit more agressive
> and get rid of or neuter the cl-lib.el if used with a non-xemacs emacs.
> 
> i'll look into ths in the next few days.

Thanks!

   Julian



Bug#908743: mmm-mode: package cl-lib conflicts with emacs cl-lib

2018-09-14 Thread Alexander Zangerl
On Thu, 13 Sep 2018 12:03:31 +0100, Julian Gilbey writes:
>Real cl-lib shadowed by compatibility cl-lib?
>(/usr/share/emacs/site-lisp/mmm-mode/cl-lib.el)

agh. to support xemacs mmm-mode needs to ship a cl-lib.el
as xemacs doesn't have one of those.

looks like the mmm-mode postinstall (which already byte-compiles
only the applicable files for the emacs platform in question) needs
to be a bit more agressive
and get rid of or neuter the cl-lib.el if used with a non-xemacs emacs.

i'll look into ths in the next few days.

regards
az




-- 
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/
Systems programmers are the high priests of a low cult. - R. S. Barton


signature.asc
Description: Digital Signature


Bug#908743: mmm-mode: package cl-lib conflicts with emacs cl-lib

2018-09-13 Thread Julian Gilbey
Package: mmm-mode
Version: 0.5.7-1
Severity: normal

I have various emacs packages installed, and during the emacs start I
get the following messages (with the new unversioned emacs; this
possibly happened with emacs25 but I'm not sure):

Loading /etc/emacs/site-start.d/50ecb.el (source)...
Real cl-lib shadowed by compatibility cl-lib? 
(/usr/share/emacs/site-lisp/mmm-mode/cl-lib.el)
cl-declare already defined, not rebinding
cl-dotimes already defined, not rebinding
cl-dolist already defined, not rebinding [2 times]
cl-dotimes already defined, not rebinding
Compiler-macro error for cl-typep: (error "Unknown type button-release-event")
Compiler-macro error for cl-typep: (error "Unknown type button-press-event")
ECB 2.40 uses CEDET 2.0 (contains semantic 2.2, eieio 1.4, speedbar ).
Compiler-macro error for cl-typep: (error "Unknown type button-release-event")
Compiler-macro error for cl-typep: (error "Unknown type button-press-event")


I have no idea why these errors are showing up during the loading of
ECB rather than mmm-mode, though.

Best wishes,

   Julian

-- System Information:
Debian Release: buster/sid
  APT prefers stretch
  APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mmm-mode depends on:
ii  dpkg 1.19.0.5+b1
ii  emacs-gtk [emacsen]  1:25.2+1-11
ii  emacsen-common   3.0.2
ii  install-info 6.5.0.dfsg.1-4

mmm-mode recommends no packages.

mmm-mode suggests no packages.

-- no debconf information