[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave 23b06d1f3b 253/360: Shell-command, for simple '
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave 23b06d1f3b 253/360: Shell-command, for simple 'wait commands. |
Date: |
Sun, 28 Apr 2024 00:59:30 -0400 (EDT) |
branch: externals/idlwave
commit 23b06d1f3b612baa477b247317c09105bf394f6e
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>
Shell-command, for simple 'wait commands.
---
idlw-shell.el | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/idlw-shell.el b/idlw-shell.el
index c28e89153f..a5036cf592 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -1373,6 +1373,22 @@ recognized."
(goto-char save-point))
(set-buffer save-buffer))))
+(defun idlwave-shell-command (cmd)
+ "Send a command and immediately gather the result.
+Disables line display after state scanning."
+ (let (result)
+ ;; Only return when you've received the output
+ (idlwave-shell-send-command
+ cmd
+ '(progn (idlwave-shell-strip-input)
+ (setq result idlwave-shell-command-output))
+ 'hide 'wait nil 'disable)
+ (with-current-buffer ;; DEBUGXXX
+ (get-buffer-create "*idlwave-shell-output*")
+ (goto-char (point-max))
+ (insert (format "--[C.] New result: %s\n" result)))
+ result))
+
(defun idlwave-shell-send-char (c &optional error)
"Send one character to the shell, without a newline."
(interactive "cChar to send to IDL: \np")
- [elpa] externals/idlwave ada3fb4cd8 044/360: *** empty log message ***, (continued)
- [elpa] externals/idlwave ada3fb4cd8 044/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 04481c80cf 047/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [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 <=
- [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, 2024/04/28
- [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