r25203 - in /trunk/libperl-critic-perl/debian: changelog emacsen-startup install
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue Sep 16 12:40:56 UTC 2008
Author: dmn
Date: Tue Sep 16 12:40:52 2008
New Revision: 25203
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25203
Log:
install perlcritic.el into site-lisp, add debian/emacsen-startup
adds perlcritic mode to Emacs. Thanks to Kevin Ryde for the suggestion and
the patch. Closes: #483288
Added:
trunk/libperl-critic-perl/debian/emacsen-startup
trunk/libperl-critic-perl/debian/install
Modified:
trunk/libperl-critic-perl/debian/changelog
Modified: trunk/libperl-critic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-critic-perl/debian/changelog?rev=25203&op=diff
==============================================================================
--- trunk/libperl-critic-perl/debian/changelog (original)
+++ trunk/libperl-critic-perl/debian/changelog Tue Sep 16 12:40:52 2008
@@ -2,9 +2,15 @@
TODO: lots of lintian warnings about unbreakable long lines in manpages
+ [ Maximilian Gaà ]
* New upstream release
* Restructured long package description
* Added tools/ppidump to examples (Closes: #484213)
+
+ [ Damyan Ivanov ]
+ * install perlcritic.el into site-lisp, add debian/emacsen-startup
+ adds perlcritic mode to Emacs. Thanks to Kevin Ryde for the suggestion and
+ the patch. Closes: #483288
-- Maximilian Gaà <mxey at cloudconnected.org> Tue, 16 Sep 2008 11:58:38 +0200
Added: trunk/libperl-critic-perl/debian/emacsen-startup
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-critic-perl/debian/emacsen-startup?rev=25203&op=file
==============================================================================
--- trunk/libperl-critic-perl/debian/emacsen-startup (added)
+++ trunk/libperl-critic-perl/debian/emacsen-startup Tue Sep 16 12:40:52 2008
@@ -1,0 +1,14 @@
+;; -*- mode: emacs-lisp -*-
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/perlcritic.el"))
+ (message "libperl-critic-perl removed but not purged, skipping setup")
+
+ ;; these setups as recommended in the perlcritic.el comments
+ (autoload 'perlcritic "perlcritic" nil t)
+ (autoload 'perlcritic-region "perlcritic" nil t)
+ (autoload 'perlcritic-mode "perlcritic" nil t)
+
+ ;; these per the suggested add-hooks in the perlcritic.el comments, but
+ ;; just offered as options
+ (custom-add-option 'perl-mode-hook 'perlcritic-mode)
+ (custom-add-option 'cperl-mode-hook 'perlcritic-mode))
Added: trunk/libperl-critic-perl/debian/install
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-critic-perl/debian/install?rev=25203&op=file
==============================================================================
--- trunk/libperl-critic-perl/debian/install (added)
+++ trunk/libperl-critic-perl/debian/install Tue Sep 16 12:40:52 2008
@@ -1,0 +1,1 @@
+extras/perlcritic.el usr/share/emacs/site-lisp
More information about the Pkg-perl-cvs-commits
mailing list