Bug#672182: libperl-critic-perl: conf-mode for .perlcriticrc
Kevin Ryde
user42 at zip.com.au
Tue May 8 23:57:13 UTC 2012
Package: libperl-critic-perl
Version: 1.117-1
Severity: wishlist
File: /etc/emacs/site-start.d/50libperl-critic-perl.el
As an idea for a feature, 50libperl-critic-perl.el could set up to use
conf-mode on the .perlcriticrc file. I've had some joy from
(if (fboundp 'conf-mode) ;; new in emacs22
(add-to-list 'auto-mode-alist '("/\\.perlcriticrc\\'" . conf-mode)))
In 50libperl-critic-perl.el this could be outside the `file-exists-p'
conditional since this setup doesn't use perlcritic.el as such, just the
conf-mode.el which comes with emacs (22 and up).
-- System Information:
Debian Release: wheezy/sid
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 libperl-critic-perl depends on:
ii libb-keywords-perl 1.12-1
ii libconfig-tiny-perl 2.14-1
ii libemail-address-perl 1.895-1
ii libexception-class-perl 1.31-1
ii libfile-homedir-perl 0.99-1
ii libfile-spec-perl <none>
ii libfile-which-perl 1.09-1
ii libio-string-perl 1.08-2
ii liblist-moreutils-perl 0.33-1+b1
ii libmodule-pluggable-perl 3.9-1
ii libpod-spell-perl 1.01-2
ii libppi-perl 1.215-1
ii libppix-regexp-perl 0.026-1
ii libppix-utilities-perl 1.001000-1
ii libreadonly-perl 1.03-3
ii libreadonly-xs-perl 1.04-2+b3
ii libstring-format-perl 1.16-1
ii libtask-weaken-perl 1.03-1
ii perl 5.14.2-9
ii perl-modules [libmodule-pluggable-perl] 5.14.2-9
ii perltidy 20101217-1
libperl-critic-perl recommends no packages.
libperl-critic-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list