Package: mmm-mode
Version: 0.4.8-6
Severity: wishlist
File: /usr/share/emacs/site-lisp/mmm-mode/mmm-compat.el

/etc/emacs/site-start.d/50mmm-mode.el loads regexp-opt.el at emacs
startup, where I hoped that would be done only when the regexp-opt
function is actually used, which appears to be only for cweb, rpm, and
mason.

In emacs 20 and up regexp-opt is autoloaded and it usually shouldn't
need an explicit require 'regexp-opt the way mmm-compat.el has.  I think
the blob there could test

  (unless (fboundp 'regexp-opt)
    ...
    )

and take the function existence (it'll be an autoload) to mean no compat
setups are required.

It's even possible to (eval-when-compile (fboundp 'regexp-opt)) to have
the fallback code optimize away when byte compiled for emacs20 and up.
Though that can be tricked if someone makes a fallback regexp-opt --
such as what mmm-compat.el itself does.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages mmm-mode depends on:
ii  emacs21 [emacsen]        21.4a+1-5.7
ii  emacs22-gtk [emacsen]    22.3+1-1.2
ii  emacs23 [emacsen]        23.4+1-3
ii  xemacs21-basesupport     2009.02.17.dfsg.1-1
ii  xemacs21-mule [emacsen]  21.4.22-3.2

mmm-mode recommends no packages.

mmm-mode suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to