Bug#584609: eekboek: emacs .ebz archive-mode no-conversion
Kevin Ryde
user42 at zip.com.au
Sat Jun 5 01:24:21 UTC 2010
Package: eekboek
Version: 2.00.02-2
Severity: normal
Tags: patch
File: /etc/emacs/site-start.d/50eekboek.el
The emacs auto-mode-alist docstring advises that an entry like like .ebz
using archive-mode should have a corresponding `no-conversion' in
auto-coding-alist. Eg. in 50eekboek.el
(if (boundp 'auto-coding-alist) ;; no such variable in xemacs21
(add-to-list 'auto-coding-alist '("\\.ebz\\'" . no-conversion)))
Incidentally the patterns ".eb$" and ".ebz$" in 50eekboek.el are better
as ".eb\\'" and ".ebz\\'", since $ will match a newline in the middle of
a filename.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages eekboek depends on:
ii libarchive-zip-perl 1.30-2 Perl module for manipulation of ZI
ii libcarp-assert-perl 0.20-2 Carp::Assert - executable comments
ii libdbd-sqlite3-perl 1.29-2 Perl DBI driver with a self-contai
ii libdbi-perl 1.611-1 Perl Database Interface (DBI)
ii libterm-readline-gnu-perl 1.20-1 Perl extension for the GNU ReadLin
ii perl 5.10.1-12 Larry Wall's Practical Extraction
eekboek recommends no packages.
Versions of packages eekboek suggests:
pn eekboek-gui <none> (no description available)
-- Configuration Files:
/etc/emacs/site-start.d/50eekboek.el changed:
;; Use eekboek-mode for .eb files. Treat .ebz files as (zip) archives.
(autoload 'eekboek-mode "eekboek-mode" "Major mode for editing EekBoek data." t)
(add-to-list 'auto-mode-alist '("\\.eb$" . eekboek-mode))
(add-to-list 'auto-mode-alist '("\\.ebz$" . archive-mode))
(if (boundp 'auto-coding-alist) ;; no such variable in xemacs21
(add-to-list 'auto-coding-alist '("\\.ebz\\'" . no-conversion)))
;;; eekboek-site-start.el ends here
-- no debconf information
More information about the pkg-perl-maintainers
mailing list