unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: 24623@debbugs.gnu.org
Subject: bug#24623: 25.1; Flymake turns off if check command fails without reporting errors in the file being edited
Date: Tue, 04 Oct 2016 10:47:32 -0700	[thread overview]
Message-ID: <m2shsad1c8.fsf@boostpro.com> (raw)


In these lines from flymake-post-syntax-check:

      (if (and (equal 0 err-count) (equal 0 warn-count))
          (if (equal 0 exit-status)
              (flymake-report-status "" "") ; PASSED
            (if (not flymake-check-was-interrupted)
                (flymake-report-fatal-status "CFGERR"
                                             (format "Configuration error has occurred while running %s" command))
              (flymake-report-status nil ""))) ; "STOPPED"
        (flymake-report-status (format "%d/%d" err-count warn-count) "")))))

err-count and warn-count are the count of errors detected *in the file
being edited*.  My syntax check command must consider a whole batch of
files at once, and sometimes those other files have errors in them.
That should not disable syntax checking in the current file, but flymake
has this behavior unconditionally, and there's no way to turn it off.



In GNU Emacs 25.1.2 (x86_64-apple-darwin13.4.0, Carbon Version 157 AppKit 1265.21)
 of 2016-08-23 built on Atago.local
Repository revision: 990dafce23a64d86fd6e3fbf5c93d1183fee6082
Windowing system distributor 'Apple Inc.', version 10.12.1
Configured using:
 'configure --with-mac --enable-mac-app=/Users/build/emacs-mac-build
 --prefix=/Users/build/emacs-mac-build'

Configured features:
NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  recentf-mode: t
  diff-auto-refine-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  me-minor-mode: t
  winner-mode: t
  which-function-mode: t
  show-paren-mode: t
  server-mode: t
  ido-everywhere: t
  global-auto-revert-mode: t
  display-time-mode: t
  delete-selection-mode: t
  auto-insert-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  mac-mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Wrote /Users/dave/src/s/swift/utils/swift-project-settings.el
Quit [2 times]
Saving file /var/folders/m1/tmpgcrzx4035fts37r89qtxc0000gn/T/swift-gyb24853FRa/!var!folders!m1!tmpgcrzx4035fts37r89qtxc0000gn!T!FloatingPointTypes.swift.gyb-flymake24853Ve1.swift...
Wrote /var/folders/m1/tmpgcrzx4035fts37r89qtxc0000gn/T/swift-gyb24853FRa/!var!folders!m1!tmpgcrzx4035fts37r89qtxc0000gn!T!FloatingPointTypes.swift.gyb-flymake24853Ve1.swift
Making completion list...
Quit
Making completion list...
Mark saved where search started
Mark set
Info-search: Search failed: "flymake"
next-line: End of buffer [3 times]

Load-path shadows:
/Applications/Emacs-25.1.app/Contents/Resources/lisp/progmodes/compile hides ~/.emacs.d/site-lisp/non-GPL3/compile

Features:
(shadow sort emacsbug sendmail network-stream nsm starttls tls gnutls
mail-extr edebug python dabbrev files-x recentf tree-widget pp misearch
multi-isearch eieio-opt speedbar sb-image ezimage dframe debug vc-git
whitespace swift-mode flymake derived gnus-dired swift-project-settings
compile skeleton cc-styles cc-align cc-engine cc-vars cc-defs jka-compr
ffap thingatpt modal elec-pair magit-blame magit-stash magit-bisect
magit-remote magit-commit magit-sequence magit magit-apply magit-wip
magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert
magit-process magit-popup magit-mode magit-git crm magit-section
magit-utils git-commit log-edit eudc eudc-vars message rfc822 mml
mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util
add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat
tramp-loaddefs trampver shell pcomplete comint ansi-color format-spec
cus-edit+ cl page-ext system-type-darwin-theme disp-table dired-x dired
winner ring which-func imenu paren server ido autorevert filenotify time
delsel autoinsert edmacro kmacro initsplit cus-edit cus-start cus-load
wid-edit find-func elhome use-package diminish bind-key easy-mmode
finder-inf column-enforce-mode-autoloads elhome-autoloads gh-common
gh-profile url-parse auth-source gnus-util mm-util help-fns mail-prsvr
password-cache url-vars rx s ucs-normalize marshal eieio-compat cl-seq
ht json map dash eieio eieio-core cl-macs maxframe-autoloads info advice
package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib mule-util time-date
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel mac-win term/common-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue mac multi-tty
make-network-process emacs)

Memory information:
((conses 16 456311 95214)
 (symbols 48 39232 0)
 (miscs 40 3655 1742)
 (strings 32 99499 16751)
 (string-bytes 1 3696221)
 (vectors 16 65804)
 (vector-slots 8 1947268 182298)
 (floats 8 523 633)
 (intervals 56 8620 2359)
 (buffers 976 72))

-- 
-Dave





             reply	other threads:[~2016-10-04 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 17:47 Dave Abrahams [this message]
2017-11-03 11:51 ` bug#24623: 25.1; Flymake turns off if check command fails without reporting errors in the file being edited João Távora
2017-11-03 13:21   ` Eli Zaretskii
2017-11-04 17:41   ` Dave Abrahams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2shsad1c8.fsf@boostpro.com \
    --to=dave@boostpro.com \
    --cc=24623@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).