Hi All, I prepped a little NMU which is available from http://itanix.rutgers.edu/rumba/dists/sid/perspect/source/python/pylint_0.14.0-2.1.dsc http://itanix.rutgers.edu/rumba/dists/sid/perspect/binary-all/python/pylint_0.14.0-2.1_all.deb to get modifications package to try.
Seems to work fine for me and should close all those bugs above (though I've fixed just 2 of them pretty much but most recent pylint.el which is included in upstream tarball fixed the other too -- see changelog entry) Let me know if I should proceed with NMU or send a custom patch on top of 0.14.0-2... or actually find all of them attached for your convinience P.S. I could have make mistakes since I am not that advanced with elisp and emacs modules packages handling but it was too frustrating to see no action on all those bug reports Cheers -- Yaroslav Halchenko Research Assistant, Psychology Department, Rutgers-Newark Student Ph.D. @ CS Dept. NJIT Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171 101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102 WWW: http://www.linkedin.com/in/yarik
From 5c5ddc34dbcd8a6363563a570c62fca54e84e574 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko <[EMAIL PROTECTED]> Date: Mon, 3 Mar 2008 21:52:04 -0500 Subject: [PATCH] BF: flavor -> debian-emacs-flavor in startup --- elisp/startup | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/elisp/startup b/elisp/startup index ad9d071..fd40b42 100644 --- a/elisp/startup +++ b/elisp/startup @@ -12,6 +12,6 @@ ;; 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) + (symbol-name debian-emacs-flavor) "/site-lisp/%PACKAGE%") load-path)) (load-library "pylint") -- 1.5.4.1
From 4162dfcd3467e21e36245697278fab5ba344e3fa Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko <[EMAIL PROTECTED]> Date: Mon, 3 Mar 2008 22:11:36 -0500 Subject: [PATCH] NF: added pylint-options variable visible to users to tune up --- elisp/pylint.el | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/elisp/pylint.el b/elisp/pylint.el index 14960e9..079d1b9 100644 --- a/elisp/pylint.el +++ b/elisp/pylint.el @@ -1,14 +1,36 @@ +;; +;; Modifications done by Yarosav O. Halchenko (2008): +;; - enable user-visible variables +;; distributed under the same copyright/license terms as +;; pylint itself +;; (require 'compile) + +;; user definable variables +;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv + +(defgroup pylint nil + "Emacs support for the Pylint Python checker" + :group 'languages + :prefix "pylint-") + +(defcustom pylint-options "--output-format=parseable" + "*Command line options to be used with pylint call" + :type 'string + :group 'pylint) + + + ;; adapted from pychecker for pylint (defun pylint-python-hook () (defun pylint () "Run pylint against the file behind the current buffer after checking if unsaved buffers should be saved." - + (interactive) (let* ((file (buffer-file-name (current-buffer))) - (command (concat "pylint --output-format=parseable \"" file "\""))) + (command (concat "pylint " pylint-options " \"" file "\""))) (save-some-buffers (not compilation-ask-about-save) nil) ; save files. (compile-internal command "No more errors or warnings" "pylint"))) ;; (local-set-key [f1] 'pylint) -- 1.5.4.1
From 88589fa6e91f36e1c9db34928822acc07696ea9d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko <[EMAIL PROTECTED]> Date: Mon, 3 Mar 2008 22:19:18 -0500 Subject: [PATCH] BF: reenabled installation of pylint.el (closes: #448102) --- debian/rules | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index d85c762..06c3942 100755 --- a/debian/rules +++ b/debian/rules @@ -45,7 +45,7 @@ install: build sed -i "[EMAIL PROTECTED] */usr/bin/env [EMAIL PROTECTED]/usr/bin/python@" debian/pylint/usr/bin/symilar; \ fi chmod a+x debian/pylint/usr/bin/symilar - #install -m 644 elisp/pylint.el debian/pylint/usr/share/emacs/site-lisp/pylint/ + install -m 644 elisp/pylint.el debian/pylint/usr/share/emacs/site-lisp/pylint/ # install tests #(cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/pylint/usr/share/doc/pylint/test/{} \;) @@ -62,7 +62,7 @@ binary-indep: build install dh_installexamples -i dh_installdocs -i README TODO changelog.gz debian/NEWS.Debian dh_installman -i -# dh_installemacsen + dh_installemacsen dh_link -i dh_compress -i -X.py -X.ini -X.xml -Xtest dh_fixperms -i -- 1.5.4.1
From f0defd9d771b260e91bc1f432ffa49007074a78c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko <[EMAIL PROTECTED]> Date: Mon, 3 Mar 2008 22:22:59 -0500 Subject: [PATCH] changelog entry --- debian/changelog | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/debian/changelog b/debian/changelog index 056a164..a24b13e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +pylint (0.14.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * BF: flavor -> debian-emacs-flavor in startup + * NF: added pylint-options variable visible to users to tune up (closes: + #427244) + * BF: reenabled installation of pylint.el (closes: #448102) + * Recent upstream of pylint.el fixed few bugs which weren't closed + in the upload to Debian. Since this is first upload which enables + pylint.el, imho it is ok to close them here (closes: #415485, #431653) + + -- Yaroslav Halchenko <[EMAIL PROTECTED]> Mon, 03 Mar 2008 22:22:07 -0500 + pylint (0.14.0-2) unstable; urgency=low * Acknowledge NMU by Kumar Appaiah <[EMAIL PROTECTED]> (Closes: #454401) -- 1.5.4.1