[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 5937724 076/107: Merge branch 'release/v1.2'
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 5937724 076/107: Merge branch 'release/v1.2' |
Date: |
Sun, 29 Aug 2021 10:58:19 -0400 (EDT) |
branch: elpa/arduino-mode
commit 5937724e9f3d2ad7093027706e3a0bffdcf9edf9
Merge: 9629bde 47a0689
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
Merge branch 'release/v1.2'
---
arduino-mode.el | 36 ++++++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 8 deletions(-)
diff --git a/arduino-mode.el b/arduino-mode.el
index 7503cfd..f7d9c02 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -5,7 +5,7 @@
;; Maintainer: stardiviner <numbchild@gmail.com>
;; Keywords: languages, arduino
;; Package-Requires: ((emacs "25") (cl-lib "0.5"))
-;; Package-Version: 1.1
+;; Package-Version: 1.2
;; homepage: https://github.com/stardiviner/arduino-mode
;; This file is free software; you can redistribute it and/or modify
@@ -32,6 +32,7 @@
;;; Code:
(require 'cc-mode)
+(require 'spinner)
(eval-when-compile
(require 'cl-lib)
@@ -139,6 +140,15 @@ Each list item should be a regexp matching a single
identifier."
:group 'arduino
:type 'string)
+(defcustom arduino-spinner-type 'progress-bar
+ "The spinner type for arduino processes.
+
+Value is a symbol. The possible values are the symbols in the
+`spinner-types' variable."
+ :type 'symbol
+ :safe #'symbolp
+ :group 'arduino)
+
(defconst arduino-font-lock-keywords-1 (c-lang-const c-matchers-1 arduino)
"Minimal highlighting for Arduino mode.")
@@ -211,8 +221,12 @@ Each list item should be a regexp matching a single
identifier."
(with-current-buffer
arduino-upload-process-buf
(setq mode-line-process nil))
(message "Arduino upload succeed."))
- (setq mode-line-process nil)
- (display-buffer "*arduino-upload*"))))))
+ (with-current-buffer arduino-upload-process-buf
+ (display-buffer "*arduino-upload*")))
+ (setq-local mode-line-process nil)
+ (with-current-buffer arduino-upload-process-buf
+ (when spinner-current (spinner-stop)))))))
+ (spinner-start arduino-spinner-type)
(setq mode-line-process proc-name)))
(defvar arduino-verify-process-buf nil)
@@ -233,8 +247,11 @@ Each list item should be a regexp matching a single
identifier."
(with-current-buffer
arduino-verify-process-buf
(setq mode-line-process nil))
(message "Arduino verify build succeed."))
- (setq mode-line-process nil)
- (display-buffer "*arduino-verify*"))))))
+ (display-buffer "*arduino-verify*"))
+ (setq-local mode-line-process nil)
+ (with-current-buffer arduino-verify-process-buf
+ (when spinner-current (spinner-stop)))))))
+ (spinner-start arduino-spinner-type)
(setq mode-line-process proc-name)))
(defvar arduino-open-process-buf nil)
@@ -254,9 +271,12 @@ Each list item should be a regexp matching a single
identifier."
(progn
(with-current-buffer arduino-open-process-buf
(setq mode-line-process nil))
- (message "Opened with Arduino succeed."))
- (setq mode-line-process nil)
- (display-buffer "*arduino-open*"))))))
+ (message "Opened with Arduino succeed.")))
+ (setq-local mode-line-process nil)
+ (with-current-buffer arduino-open-process-buf
+ (when spinner-current (spinner-stop)))
+ ))))
+ (spinner-start arduino-spinner-type)
(setq mode-line-process proc-name)))
;;; NOTE: Because command-line arduino does not support search and list out
- [nongnu] elpa/arduino-mode 10af997 102/107: fix not defined flycheck-arduino-setup, (continued)
- [nongnu] elpa/arduino-mode 10af997 102/107: fix not defined flycheck-arduino-setup, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode cf57002 105/107: Add ob-arduino.el which is moved out of org-mode contrib/, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a8fc196 106/107: ob-arduino set tangle filename extension, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b1bd565 098/107: adjust code line number to fix byte compile invalid warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9547187 066/107: ob-arduino is in Org-mode contrib/ now., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 40bc531 071/107: Merge branch 'develop', ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 024761d 068/107: fix autoload ede-arduino-preferences-file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 405ed23 078/107: fix missing spinner package dependency, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0ae5fa3 089/107: Merge pull request #2 from philipper905/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9629bde 073/107: Merge pull request #1 from concavegit/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 5937724 076/107: Merge branch 'release/v1.2',
ELPA Syncer <=
- [nongnu] elpa/arduino-mode 8805fe6 080/107: Merge tag 'spinner-dependency' into develop, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode fb30618 081/107: add screenshot!!!, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 4830b57 083/107: format dangling parenthese, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 16955f5 086/107: fix flycheck-arduino check out source code file error, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d47364b 088/107: Fix typo, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 2160dcb 056/107: put keybinding definitions in arduino-mode-map, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode e39cb1c 079/107: Merge branch 'hotfix/spinner-dependency', ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 23ae47c 082/107: update README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 4367333 092/107: autoload classes to fix unknown slot warnings when compilation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 07c3421 103/107: Mention flycheck-arduino usage in README, ELPA Syncer, 2021/08/29