Your message dated Tue, 02 Jun 2015 11:19:02 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient emacs versions
has caused the Debian Bug report #502254,
regarding emacs22: flymake: flymake-find-file-hook detect read-only and do not 
enable flymake
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
502254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502254
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs22
Version: 22.2+2-3
Severity: wishlist

Hi,

I enjoy using flymake, but it's not useful when target file is read-only, and
always seems to give an error dialog.

I do 

(add-hook 'find-file-hook 'flymake-find-file-hook)

flymake-find-file-hook should probably check for read-only status of
the source code before it tries to enable flymake. this can be
achieved by adding '(not buffer-read-only)' to flymake-find-file-hook
like the following:

(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")))



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) (ignored: 
LC_ALL set to ja_JP.eucJP)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common     22.2+2-3          The GNU Emacs editor's shared, arc
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libgif4                4.1.6-5           library for GIF images (library)
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libncurses5            5.6+20080925-1    shared libraries for terminal hand
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libtiff4               3.8.2-11          Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-1         X11 pixmap library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-17          Xaw3d widget set
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

emacs22 recommends no packages.

Versions of packages emacs22 suggests:
ii  emacs22-common-non-dfsg       22.2+2-1.1 GNU Emacs shared, architecture ind



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of emacs (emacs21,
emacs22) that is no longer supported. It is assumed to be fixed (or no
longer relevant) in newer releases and therefore I'm closing this report
now. If the problem is still reproducible in the current version
(emacs24), feel free to provide more information and reopen this bug report.

Andreas

--- End Message ---

Reply via email to