Package: a2ps
Version: 1:4.14-1.1
Severity: wishlist
File: /etc/emacs/site-start.d/50a2ps.el

It'd be good if visiting the /usr/share/a2ps/sheets/*.ssh files with
emacs used a2ps-mode.

I don't know if all ".ssh" files should be considered a2ps.  Does the
"ssh" program have such files?  The only .ssh I have are from a2ps.
Perhaps start with something certain like

   "/a2ps/sheets/[^/]+\\.ssh\\'"



-- 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 a2ps depends on:
ii  dpkg          1.16.4.2
ii  file          1:5.14-1
ii  install-info  5.1.dfsg.1-3
ii  libc6         2.13-10
ii  libpaper1     1.1.24+nmu2
ii  psutils       1.17.dfsg-1

Versions of packages a2ps recommends:
ii  bzip2                       1.0.6-4
pn  lpr | rlpr | cupsys-client  <none>
pn  wdiff                       <none>

Versions of packages a2ps suggests:
ii  emacsen-common                       2.0.5
ii  ghostscript                          9.05~dfsg-6.3
ii  groff                                1.22.2-2
ii  gv                                   1:3.7.3-1
pn  html2ps                              <none>
ii  imagemagick                          8:6.7.7.10-5
pn  t1-cyrillic                          <none>
ii  texlive-binaries [texlive-base-bin]  2012.20120628-4

-- Configuration Files:
/etc/emacs/site-start.d/50a2ps.el changed:
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian a2ps package
;;
;; Originally contributed by Nils Naumann <naum...@unileoben.ac.at>
;; Modified by Dirk Eddelbuettel <e...@debian.org>
;; Adapted for dh-make by Jim Van Zandt <j...@vanzandt.mv.com>
;; The a2ps package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...).  The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(setq load-path (cons (concat "/usr/share/"
                              (symbol-name flavor)
                              "/site-lisp/a2ps") load-path))
;; a2ps
(autoload 'a2ps-mode "a2ps" nil t)
(setq auto-mode-alist
      (cons '("\\.a2ps\\'" . a2ps-mode)
            auto-mode-alist))
;; a2ps-print
(autoload 'a2ps-buffer "a2ps-print"
  "Print buffer contents as with Unix command `a2ps'.
    `a2ps-switches' is a list of extra switches (strings) to pass to a2ps."
  t)
(autoload 'a2ps-region "a2ps-print"
  "Print region contents as with Unix command `a2ps'.
    `a2ps-switches' is a list of extra switches (strings) to pass to a2ps."
  t)
(if (featurep 'xemacs)
    (progn
     (global-set-key 'f22 'a2ps-buffer)
     (global-set-key '(shift f22) 'a2ps-region-1)
     (add-menu-button '("File") ["a2ps-print" a2ps-buffer "--"])
     )
  (progn
   (global-set-key [f22] 'a2ps-buffer)
   (global-set-key [S-f22] 'a2ps-region-1)
   (define-key-after menu-bar-files-menu [a2ps-print]
     '(menu-item "a2ps" a2ps-buffer :help "Print with a2ps")
     'ps-print-region)
   )
  )


-- 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