[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/flymake-refactor c5cc7e9 17/52: Make debugging fly
From: |
João Távora |
Subject: |
[Emacs-diffs] scratch/flymake-refactor c5cc7e9 17/52: Make debugging flymake-proc.el easier |
Date: |
Sun, 1 Oct 2017 12:40:45 -0400 (EDT) |
branch: scratch/flymake-refactor
commit c5cc7e94a6aea1e4b92e87cc8e284e1e1941f835
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Make debugging flymake-proc.el easier
* lisp/progmodes/flymake-proc.el (flymake-proc--diagnostics-for-pattern)
(flymake-proc--process-sentinel)
(flymake-proc--safe-delete-directory)
(flymake-proc--start-syntax-check-process): Use condition-case-unless-debug.
---
lisp/progmodes/flymake-proc.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el
index 1c5bfbf..022f025 100644
--- a/lisp/progmodes/flymake-proc.el
+++ b/lisp/progmodes/flymake-proc.el
@@ -396,7 +396,7 @@ Create parent directories as needed."
(flymake-log 3 "saved buffer %s in file %s" (buffer-name) file-name))
(defun flymake-proc--diagnostics-for-pattern (proc pattern)
- (condition-case err
+ (condition-case-unless-debug err
(pcase-let ((`(,regexp ,file-idx ,line-idx ,col-idx ,message-idx)
pattern)
(retval))
@@ -485,7 +485,7 @@ Create parent directories as needed."
(flymake-log 2 "process %d exited with code %d"
(process-id process) exit-status)
(kill-buffer (process-get process 'flymake-proc--output-buffer))
- (condition-case err
+ (condition-case-unless-debug err
(progn
(flymake-log 3 "cleaning up using %s" cleanup-f)
(when (buffer-live-p source-buffer)
@@ -646,7 +646,7 @@ Instead of a function, it can also be a regular
expression.")
(flymake-log 1 "deleted file %s" file-name)))
(defun flymake-proc--safe-delete-directory (dir-name)
- (condition-case nil
+ (condition-case-unless-debug nil
(progn
(delete-directory dir-name)
(flymake-log 1 "deleted dir %s" dir-name))
@@ -682,7 +682,7 @@ Instead of a function, it can also be a regular
expression.")
(defun flymake-proc--start-syntax-check-process (cmd args dir)
"Start syntax check process."
- (condition-case err
+ (condition-case-unless-debug err
(let* ((process
(let ((default-directory (or dir default-directory)))
(when dir
- [Emacs-diffs] branch scratch/flymake-refactor created (now 51a2b7b), João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor b30fb9c 03/52: Allow running flymake-tests.el from interactive sessions, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor e7e9d4f 01/52: Fix flymake-backends defcustom's docstring and usage, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 3b06b52 02/52: Adjust flymake's UI/backend split started in earlier commit, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor dc39d65 04/52: flymake-ui.el provides new flymake-report as a re-entry point for backends., João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 46e0721 08/52: Fix test failure introduced by previous commit, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 205c444 10/52: Use non-obsolete variable names in flymake-tests.el, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 50a6920 11/52: Make flymake-tests.el friendlier to interactive runs, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 46b4391 16/52: flymake-proc.el parses column numbers from gcc/javac errors, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 4292342 13/52: Further simplify progmodes/flymake-ui.el, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor c5cc7e9 17/52: Make debugging flymake-proc.el easier,
João Távora <=
- [Emacs-diffs] scratch/flymake-refactor 2693054 14/52: Flymake faces are not just for "lines" anymore, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 991c88f 18/52: flymake-warning face easier to distinguish from flymake-error, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 12aa247 19/52: Protect against timer triggers when no flymake-mode, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 740572e 05/52: Completely rewrite flymake's subprocess output processing, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 14db516 22/52: flymake-ui.el checks file names before considering diagnostics, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 61ba20b 21/52: Echo flymake error messages when navigating errors interactively, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor b2c4135 15/52: Clarify logic around flymake-diagnostic-types-alist, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor bac7512 12/52: New flymake-diagnostic-types-alist and more cleanup, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor 7140018 25/52: Protect flymake-ui against commands like fill-paragraph, João Távora, 2017/10/01
- [Emacs-diffs] scratch/flymake-refactor d3168cf 09/52: Make lisp/progmodes/flymake-ui.el some 150 lines lighter, João Távora, 2017/10/01