[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 3cc39d9 013/107: Add bindings for arduino-upl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 3cc39d9 013/107: Add bindings for arduino-upload. |
Date: |
Sun, 29 Aug 2021 10:58:07 -0400 (EDT) |
branch: elpa/arduino-mode
commit 3cc39d9a20810813e309c2cfd7a95f5ab3d5f914
Author: Peter Oliver <git@mavit.org.uk>
Commit: Peter Oliver <git@mavit.org.uk>
Add bindings for arduino-upload.
---
arduino-mode.el | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arduino-mode.el b/arduino-mode.el
index 42e2eb4..a51a6be 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -106,10 +106,20 @@ Each list item should be a regexp matching a single
identifier." :group 'arduino
;; Add bindings which are only useful for Arduino
map)
"Keymap used in arduino-mode buffers.")
+(define-key arduino-mode-map "\C-cg" 'arduino-upload)
(easy-menu-define arduino-menu arduino-mode-map "Arduino Mode Commands"
(cons "Arduino" (c-lang-const c-mode-menu arduino)))
+; How does one add this directly to the Arduino menu in XEmacs?
+(if (string-match "XEmacs" emacs-version)
+ (easy-menu-add-item arduino-menu
+ (list "Micro-controller") ["Upload" arduino-upload t])
+ (easy-menu-add-item arduino-menu
+ nil ["----" nil nil])
+ (easy-menu-add-item arduino-menu
+ nil ["Upload" arduino-upload t]))
+
(defcustom arduino-makefile-name "Makefile"
"Name of Makefile used to compile and upload Arduino sketches."
:type 'string
@@ -170,7 +180,7 @@ Key bindings:
local-abbrev-table arduino-mode-abbrev-table
abbrev-mode t
imenu-generic-expression cc-imenu-c-generic-expression)
- (use-local-map c-mode-map)
+ (use-local-map arduino-mode-map)
;; `c-init-language-vars' is a macro that is expanded at compile
;; time to a large `setq' with all the language variables and their
;; customized values for our language.
- [nongnu] elpa/arduino-mode c5af9a6 055/107: add keybinding for open source file with Arduino IDE, (continued)
- [nongnu] elpa/arduino-mode c5af9a6 055/107: add keybinding for open source file with Arduino IDE, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode edf56c2 049/107: add two more commands to install boards and libraries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 8881f12 062/107: fix void variable ede-arduino-preferences-file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode fe17c8d 070/107: minor updates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 8159916 074/107: [feature] display spinner for Arduino processes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 47a0689 075/107: bump version, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d70f0cc 077/107: Merge tag 'v1.2' into develop, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 41789bc 006/107: Add convenience function arduino-upload to flash a chip., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a409aa0 008/107: Automatically create a skeleton Makefile., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 2a71e75 012/107: Use correct version of compiled code for GNU Emacs., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3cc39d9 013/107: Add bindings for arduino-upload.,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode 5d10eca 002/107: add imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0f73f82 004/107: highlight builtins for serial communication, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode dbb523c 005/107: Include additional keywords found in Arduino version 0018., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 16e1d57 010/107: Add init file., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode f4fd0e8 017/107: added autoload on .ino files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 68c1661 019/107: Add Version header., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1fc4b2a 020/107: Add missing autoload cookie, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode effb0bc 024/107: Sync with the language reference as of 20150503, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 44c2728 025/107: Add to languages customisation group., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode bb89ac8 030/107: Merge pull request #11 from bookest/bug/undefined-cl-macroexpand-all, ELPA Syncer, 2021/08/29