Package: yagtd
Version: 0.3.4-1.1
Severity: wishlist
Tags: patch

/usr/share/doc/yagtd/tools/yagtd-mode.el.gz could be helpfully installed
in /usr/share/emacs/site-lisp ready to be used (not gzipped, since
xemacs won't read .el.gz).

I suggest file debian/emacsen-startup below for setups.  Debhelper
dh_installemacsen will install to /etc/emacs/site-start.d/50yagtd.el
automatically.

This doesn't create a dependency on emacs, just makes yagtd-mode.el
ready to use if you do have emacs.

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

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

  ;; As recommended in the yagtd-mode.el comments, except \\' instead of $
  ;; for the filename regexp.
  (autoload 'yagtd-mode "yagtd-mode" "yaGTD mode" t)
  (add-to-list 'auto-mode-alist '("\\.yagtd\\'" . yagtd-mode))

  ;; allow "M-x customize-group yagtd" to autoload yagtd.el
  ;; this line per an autoload cookie on defgroup
  (let ((loads (get 'yagtd 'custom-loads))) (if (member '"yagtd-mode" loads) 
nil (put 'yagtd 'custom-loads (cons '"yagtd-mode" loads)))))


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

Kernel: Linux 4.2.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 yagtd depends on:
ii  python      2.7.9-1
pn  python:any  <none>

yagtd recommends no packages.

yagtd suggests no packages.

-- no debconf information

Reply via email to