21:17:38 # Life flymake and read-only directories. I have (add-hook 'find-file-hook 'flymake-find-file-hook) in my .emacs, but that makes flymake enabled for every file it can support. That is annoying when it tries to start flymake and write to a read-only directory, and fail every time. I added a (not buffer-read-only) check to flymake-find-file-hook, and I feel more comfortable now. Sent to BTS.
(defun flymake-find-file-hook () (when (and (not (local-variable-p 'flymake-mode (current-buffer))) (flymake-can-syntax-check-file buffer-file-name) (not buffer-read-only)) (flymake-mode) (flymake-log 3 "automatically turned ON flymake mode")))
22:35:21 # Life I wonder if lintian can be used for flymake. I would like to have some more on-the-fly checking capability of debian/ dirs. lintian is a good candidate, but I don't know of a good way to run lintian on a source directory. I posted a mail in debian-lint-maint mailing list, hoping someone will note.
$Id: dancer-diary.el,v 1.92 2007/08/30 21:46:09 dancer Exp $