[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#713036: mgp: 50mgp.el debian-pkg-add-load-path-item

Package: mgp
Version: 1.13a+upstream20090219-6
Severity: minor
File: /etc/emacs/site-start.d/50mgp.el

/usr/share/doc/emacsen-common/debian-emacs-policy.gz section 8 asks lisp
add-ons to add load-path directories with `debian-pkg-add-load-path-item'
rather than directly modifying `load-path' the way 50mgp.el does.

I believe debian-pkg-add-load-path-item is available as of "sarge"
emacsen-common 1.4.14 of June 2002.  It aims to keep /usr/local ahead of
packaged lisp dirs so that anything the sysadmin puts in /usr/local has

-- System Information:
Debian Release: 7.0
  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 mgp depends on:
ii  libc6                                  2.13-10
ii  libgif4                                4.1.6-10
ii  libice6                                2:1.0.8-2
ii  libimlib2                              1.4.5-1
ii  libpng12-0                             1.2.49-4
ii  libsm6                                 2:1.2.1-2
ii  libx11-6                               2:1.5.0-1
ii  libxext6                               2:1.3.1-2+deb7u1
ii  libxft2                                2.3.1-1
ii  libxmu6                                2:1.1.1-1
ii  libxt6                                 1:1.1.3-1
ii  perl [perl5]                           5.14.2-21
ii  perl-modules [libperl4-corelibs-perl]  5.14.2-21

Versions of packages mgp recommends:
ii  libjpeg-progs      8d-1
ii  netpbm [pnmtopng]  2:10.0-15+b1
ii  sharutils          1:4.11.1-2

Versions of packages mgp suggests:
pn  asiya24-vfont                                 <none>
ii  emacsen-common                                2.0.5
ii  fonts-freefont-ttf                            20120503-1
pn  fonts-ipafont-gothic | fonts-japanese-gothic  <none>
pn  fonts-ipafont-mincho | fonts-japanese-mincho  <none>
pn  fonts-opensymbol                              <none>
ii  ghostscript                                   9.05~dfsg-6.3
ii  gsfonts-x11                                   0.22
ii  texlive                                       2012.20120611-5

-- Configuration Files:
/etc/emacs/site-start.d/50mgp.el changed:
;; mgp-init.el
(setq load-path (cons "/usr/share/emacs/site-lisp/mgp/" load-path))
(setq auto-mode-alist (cons '("\\.mgp?\\'" . mgp-mode) auto-mode-alist))
(autoload 'mgp-mode "mgp-mode" t)
(setq mgp-options "-g 800x600")
(setq mgp-window-height 6)

-- no debconf information

Reply to: