[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave 5abf359512 185/360: Streamline multi-BP operati
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave 5abf359512 185/360: Streamline multi-BP operations |
Date: |
Sun, 28 Apr 2024 00:59:22 -0400 (EDT) |
branch: externals/idlwave
commit 5abf359512a97b01d83b42e79549cb2ea8a62a36
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>
Streamline multi-BP operations
Don't query after each BP operation, save until the end.
---
idlw-shell.el | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/idlw-shell.el b/idlw-shell.el
index 2ba03da9c4..a72bad5644 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -2641,7 +2641,7 @@ breakpoint can not be set."
(if (idlwave-shell-hide-p 'debug) 'mostly)
nil t))
-(defun idlwave-shell-clear-bp (bp)
+(defun idlwave-shell-clear-bp (bp &optional no-query)
"Clear breakpoint BP.
Clears in IDL and in `idlwave-shell-bp-alist'."
(let ((index (idlwave-shell-bp-get bp)))
@@ -2650,7 +2650,7 @@ Clears in IDL and in `idlwave-shell-bp-alist'."
(idlwave-shell-send-command
(concat "breakpoint,/clear," (int-to-string index))
nil (idlwave-shell-hide-p 'breakpoint) nil t)
- (idlwave-shell-bp-query)))))
+ (unless no-query (idlwave-shell-bp-query))))))
(defun idlwave-shell-current-frame ()
"Return a list containing the current file name and line point is in.
@@ -2690,7 +2690,10 @@ at a breakpoint."
(defun idlwave-shell-toggle-enable-current-bp (&optional bp force
no-update)
- "Disable or enable current bp."
+ "Disable or enable current breakpoint or a breakpoint passed in BP.
+If FORCE is 'disable or 'enable, for that condition instead of
+toggling. If NO-UPDATE is non-nil, don't update the breakpoint
+list after toggling."
(interactive)
(let* ((bp (or bp (idlwave-shell-find-current-bp)))
(disabled (idlwave-shell-bp-get bp 'disabled)))
@@ -4101,7 +4104,9 @@ list elements of the form:
idlwave-shell-bp-query
'(progn
(idlwave-shell-filter-bp)
- (mapcar 'idlwave-shell-clear-bp idlwave-shell-bp-alist))
+ (mapcar (lambda (x) (idlwave-shell-clear-bp x 'no-query))
+ idlwave-shell-bp-alist)
+ (idlwave-shell-bp-query))
'hide))
(defun idlwave-shell-list-all-bp ()
- [elpa] externals/idlwave 9a918c83da 060/360: (idlwave-prepare-structure-tag-completion): Look for structure, (continued)
- [elpa] externals/idlwave 9a918c83da 060/360: (idlwave-prepare-structure-tag-completion): Look for structure, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave d9f4baaafc 061/360: Doc changes., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c046796a64 064/360: Removed in favor of the help code being present in idlw-help.el, and, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 6ab7d594ca 091/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e1282c0d89 125/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 3836f94e53 135/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 7e30e237a8 144/360: - Change face variable names to drop -face, and provide an alias., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 378196bcd2 198/360: Don't require final matching prompt pattern (not always there), ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 23b06d1f3b 253/360: Shell-command, for simple 'wait commands., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave fa2254d7dc 218/360: Doc updates, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 5abf359512 185/360: Streamline multi-BP operations,
ELPA Syncer <=
- [elpa] externals/idlwave 30f495ceb4 237/360: String changes from upstream Emacs., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 42a2c7ca56 188/360: Track BP type as well as location, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 80ecd12766 176/360: Support non-indenting line breaks (for the shell), ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave eedf336202 221/360: Set help location for earlier versions of IDL correctly., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave fb56e84de1 207/360: Don't assume last-system-routine-info-cons-cell is set., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 0a75576945 273/360: Fix reporting code for single procedure shadow check, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e35826c6da 281/360: Accommodate new syntax obj_new('class') == CLASS(), ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave b15ff557de 268/360: Fix up broken upstream patch to get-help-buffer, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e364df9db0 260/360: Optimize long continue statement indentation., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 09b14f457b 259/360: Updated, ELPA Syncer, 2024/04/28