[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 1b7bae6 026/107: A command to run the arduino
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 1b7bae6 026/107: A command to run the arduino ide on current file |
Date: |
Sun, 29 Aug 2021 10:58:10 -0400 (EDT) |
branch: elpa/arduino-mode
commit 1b7bae647cc15c956d5aa6e64e4a3fd37ae9ef2e
Author: Rémi Vanicat <vanicat@debian.org>
Commit: Rémi Vanicat <vanicat@debian.org>
A command to run the arduino ide on current file
The arduino-executable custom can be customize to find the arduino
executable.
---
arduino-mode.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arduino-mode.el b/arduino-mode.el
index ffdb7d8..6327afc 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -123,6 +123,11 @@
"*List of extra types (aside from the type keywords) to recognize in Arduino
mode.
Each list item should be a regexp matching a single identifier." :group
'arduino)
+(defcustom arduino-executable "arduino"
+ "*The arduino executable"
+ :group 'arduino
+ :type 'string)
+
(defconst arduino-font-lock-keywords-1 (c-lang-const c-matchers-1 arduino)
"Minimal highlighting for Arduino mode.")
@@ -199,5 +204,9 @@ Key bindings:
(run-hooks 'arduino-mode-hook)
(c-update-modeline))
+(defun arduino-run-arduino ()
+ (interactive)
+ (start-file-process "arduino" () arduino-executable (buffer-file-name)))
+
(provide 'arduino-mode)
;;; arduino-mode.el ends here
- [nongnu] elpa/arduino-mode 6a77cac 021/107: Merge pull request #6 from yasuyk/add-autoload-cookie, (continued)
- [nongnu] elpa/arduino-mode 6a77cac 021/107: Merge pull request #6 from yasuyk/add-autoload-cookie, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 94d25f2 018/107: Merge pull request #2 from pavlobaron/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a7bd544 023/107: Rearrange the deck chairs a bit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a1d57fe 027/107: Merge pull request #10 from vanicat/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 609d9a9 028/107: Setup travis-ci, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 220b5ca 007/107: New keywords shiftIn and peek in arduino 0019., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 43185aa 011/107: Add spec file for building RPM packages for Fedora., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a9e196b 015/107: RPM rebuilt., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0aeea23 016/107: Add missing BuildRequires of xemacs-packages-extra., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b2c9c21 033/107: Import ede-arduino, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1b7bae6 026/107: A command to run the arduino ide on current file,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode d7bb42a 029/107: Fix undefined cl-macrorepxand-all under Emacs 24.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3e2bad4 031/107: Setup Cask, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode eb1d260 040/107: set tab-width and indent width to 2, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0f67645 047/107: Prepare for MELPA, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b92f309 048/107: improve commands docstring to be more intuitive, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 18fce1d 052/107: add README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0892337 053/107: minor fix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode e8fa204 054/107: add file meta-data headers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9b45a04 022/107: Merge pull request #4 from milkypostman/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b08dcbb 037/107: Warn if project loading/creation files, ELPA Syncer, 2021/08/29