Package: recutils
Version: 1.7-1
Severity: wishlist
Tags: patch

It'd be good to have emacs autoloads to make
/usr/share/emacs/site-lisp/rec-mode.el ready for use.  I suggest file
debian/recutils.emacsen-startup below which debhelper should
automatically install to /etc/emacs/site-start.d/50recutils.el

I don't know if anything would be wanted for ob-rec.el too, but can
start with the rec-mode command and visiting .rec files.

;;; 50recutils.el -- debian emacs setups for recutils

(cond ((not (file-exists-p "/usr/share/emacs/site-lisp/rec-mode.el"))
       (message "recutils removed but not purged, skipping setup"))

      ;; rec-mode.el needs GNU Emacs 24 up in a few places.
      ;; Check features it needs, not a hard coded version number.
      ;; emacs23 doesn't have `looking-back'.
      ;; xemacs21 doesn't have `looking-back' or `tabulated-list-mode'.
      ((not (and (fboundp 'looking-back)
                 (fboundp 'tabulated-list-mode)))
       (message "recutils is not for this Emacs, skipping setup"))

      (t
       (autoload 'rec-mode "rec-mode" "A major mode for editing rec files." t)

       ;; as recommended by /usr/share/info/rec-mode.info "Activation"
       (add-to-list 'auto-mode-alist '("\\.rec\\'" . rec-mode))))

-- System Information:
Debian Release: stretch/sid
Architecture: i386 (i686)

Kernel: Linux 4.3.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages recutils depends on:
ii  libc6         2.21-4
ii  libmdb2       0.7.1-4
ii  libreadline6  6.3-8+b4
ii  librec1       1.7-1

recutils recommends no packages.

recutils suggests no packages.

-- no debconf information

Reply via email to