From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.bugs 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 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475697229 1894 195.159.176.226 (5 Oct 2016 19:53:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 19:53:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) To: 24623@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 21:53:44 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brsG3-0007qR-AK for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 21:53:39 +0200 Original-Received: from localhost ([::1]:51051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsG1-0005CW-Tg for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 15:53:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsBd-0001UM-Im for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brsBa-00033m-9H for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsBa-00033g-5Q for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1brsBZ-0007MU-UD for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dave Abrahams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2016 19:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147569690928236 (code B ref -1); Wed, 05 Oct 2016 19:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2016 19:48:29 +0000 Original-Received: from localhost ([127.0.0.1]:46051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brsB2-0007LM-Ko for submit@debbugs.gnu.org; Wed, 05 Oct 2016 15:48:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brsB0-0007L6-CA for submit@debbugs.gnu.org; Wed, 05 Oct 2016 15:48:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brsAt-0002lI-IG for submit@debbugs.gnu.org; Wed, 05 Oct 2016 15:48:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsAt-0002kk-FH for submit@debbugs.gnu.org; Wed, 05 Oct 2016 15:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsAq-0000qq-GE for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:48:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brsAm-0002iv-7G for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:48:15 -0400 Original-Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:33592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsAl-0002if-RQ for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 15:48:12 -0400 Original-Received: by mail-pa0-x22a.google.com with SMTP id cd13so85397500pac.0 for ; Wed, 05 Oct 2016 12:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boostpro-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version; bh=NwkeGSin+l7RQ0sP/7KOYhvky3GVuS2BP8fQhAR19aI=; b=R4QHKURzxyIWFEMotDgBDQDXxsKTtfoxHodazoFkl1xiKu5dGeyZCKvWVqdWQkGYF7 Nkalh+F9/90tbqoWdWfdB3s8U3KZSDlnZ+7yJh1liVEMUWA0XBy0VfEGCSXY4VDtov+0 5xsCrWKe0bOpI2SpFrKIc+R8jO08R63T3qsSIHehLFf80D0rJRMDaKgg2mn08mpIKeB0 pf0+bdFqrt5Oc5H7pdVWZCCm9dZToztTWkEkAqi7R1ligY94Q0waGVPbiWWlmp2skQeO +Q7S09OdsG2yQYIe8SOC7X0GthGyNi89s1P8rD/zTLbu8467w/gHjE0k20GOCHgk6t7v 0pQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=NwkeGSin+l7RQ0sP/7KOYhvky3GVuS2BP8fQhAR19aI=; b=RffolwCaskZLjARJXKwUAZ/MxQtIvk/tCgbzStlu7S+GZ58rSpjsCxMndAEZvkCaWC LzFxI3IhIX8w2yxzxxqoKr4i/VnP+CjgwvQfPesEBBjje0EnZgQ56LI99EM6J7m5cbFx onD/vZ/BazE96CKq+w32gSavR+Vj1LFHe/H8CvP1VNKjIDHB6tFdgOw/NLQ4FOUYWrT5 X0nx5QCBEzRbX4iACtS2kIHMKHfBVoDpNxcdUcfgJ66FkO8Q+cpDkAh9UtiMkV2xKhJ+ NgXmtBoILvkkOClrbSud2GkKR68Cku7Vc6DFlnJ9+f/4ywYmv0LS4esRC1yN3CqwVMzF eOmg== X-Gm-Message-State: AA6/9RllG5R/IKUSfDYEUKuSJowW+WwI3KU2yXu/g3H0o/znuHGZrDaO4anCMgHanqiygA== X-Received: by 10.66.88.74 with SMTP id be10mr306983pab.113.1475696890170; Wed, 05 Oct 2016 12:48:10 -0700 (PDT) Original-Received: from Wingy.local ([17.234.96.97]) by smtp.gmail.com with ESMTPSA id c66sm65557191pfd.24.2016.10.05.12.48.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Oct 2016 12:48:09 -0700 (PDT) Original-Received: by Wingy.local (Postfix, from userid 501) id 8A5DD18435EC7; Wed, 5 Oct 2016 12:48:07 -0700 (PDT) Original-Received: from Wingy.local ([17.235.2.63]) by smtp.gmail.com with ESMTPSA id 28sm2232736pft.76.2016.10.04.10.47.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2016 10:47:38 -0700 (PDT) Original-Received: by Wingy.local (Postfix, from userid 501) id DE9701841E955; Tue, 4 Oct 2016 10:47:32 -0700 (PDT) X-TUID: 9qfLAvoUhmVr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124109 Archived-At: 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