[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic de2450d3e4 043/333: Removed condition-case-no-de
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic de2450d3e4 043/333: Removed condition-case-no-debug |
Date: |
Tue, 27 Feb 2024 12:59:59 -0500 (EST) |
branch: externals/lentic
commit de2450d3e465bb63b279816c4c4a3d62a39d5c45
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Removed condition-case-no-debug
Seemed like a good idea, but actually it means that linked-buffer gets
into an inconsistent state on debugging. Backtraces are never shown
because the Emacs post-command-hook machinery swallows them.
---
linked-buffer.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/linked-buffer.el b/linked-buffer.el
index 932888e225..48afac9b25 100644
--- a/linked-buffer.el
+++ b/linked-buffer.el
@@ -273,10 +273,15 @@ See `linked-buffer-init' for details."
(interactive)
(setq linked-buffer-emergency t))
+(defun linked-buffer-unemergency ()
+ (interactive)
+ (setq linked-buffer-emergency nil))
+
(defun linked-buffer-post-command-hook ()
"Update point according to config, with error handling."
+ ;;(message "Entering post-command-hook")
(unless linked-buffer-emergency
- (condition-case-unless-debug err
+ (condition-case err
(linked-buffer-post-command-hook-1)
(error
(linked-buffer-hook-fail err "post-command-hook")))))
@@ -351,7 +356,7 @@ A and B are the buffers."
"Run change update according to `linked-buffer-config'.
Errors are handled. REST is currently just ignored."
(unless linked-buffer-emergency
- (condition-case-unless-debug err
+ (condition-case err
(linked-buffer-after-change-function-1 rest)
(error
(linked-buffer-hook-fail err "after change")))))
- [elpa] externals/lentic 27b21b2e8f 004/333: Block commenting now operates cleanly with unmatched delimiters., (continued)
- [elpa] externals/lentic 27b21b2e8f 004/333: Block commenting now operates cleanly with unmatched delimiters., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 021995daf2 010/333: Condition-case form was malformed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 0db978a409 017/333: Version number bump., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8cc0df3b4c 022/333: Some batch manipulation functions added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a69e98a8c5 025/333: No longer needed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 2a1f8bb5f5 026/333: Merge branch 'master' of github.com:phillord/linked-buffer, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic fe3efb4ef6 040/333: evm/cask install, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 3528da0a11 032/333: linked-buffer-asciidoc support., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 45d07d6416 034/333: Documentation cleanup., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 3405c13254 033/333: Change fundamental-mode to normal-mode, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic de2450d3e4 043/333: Removed condition-case-no-debug,
ELPA Syncer <=
- [elpa] externals/lentic 049330626e 044/333: Version number changes., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 661cb19252 028/333: Changes to test setup., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e7f4d91f88 047/333: Support file-locals in linked-buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic cf5f4a3b72 046/333: pabbrev handling was broken., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 1a181b7502 054/333: m-buffer not need in cask, as declared in headers., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9194eac956 049/333: Linked-buffer minor mode added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 96466482ca 052/333: Cosmetic and documentation changes., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 1bf2b709e0 063/333: Use three arguments for m-buffer-replace-match, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b6b9293635 061/333: Added file local functions., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bbc60fc6d4 056/333: Support el-to-org., ELPA Syncer, 2024/02/27