[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode a37d541 214/352: Changed input from TeX mode to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode a37d541 214/352: Changed input from TeX mode to use Julia unicode input |
Date: |
Sun, 29 Aug 2021 11:22:47 -0400 (EDT) |
branch: elpa/julia-mode
commit a37d541dfb7707c25163c0b6333a0019c16d6a36
Author: Philip Woods <elzairthesorcerer@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>
Changed input from TeX mode to use Julia unicode input
---
julia-mode.el | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 2b2094e..6ccb2cf 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -3105,6 +3105,13 @@ end"))
(defvar julia-arguments '() "Commandline arguments to pass to `julia'.")
+(defvar inferior-julia-mode-map
+ (let ((map (nconc (make-sparse-keymap) comint-mode-map)))
+ ;; example definition
+ (define-key map (kbd "TAB") 'julia-latexsub-or-indent)
+ map)
+ "Basic mode map for `inferior-julia-mode'.")
+
(defvar inferior-julia-prompt-regexp "julia>"
"Prompt for `inferior-julia'.")
@@ -3123,14 +3130,15 @@ end"))
(setq comint-use-prompt-regexp t))
(define-derived-mode inferior-julia-mode comint-mode "Julia"
- "Major mode for `inferior-julia'."
+ "Major mode for `inferior-julia'.
+
+\\<inferior-julia-mode-map>"
nil "Julia"
(setq comint-prompt-regexp inferior-julia-prompt-regexp)
(setq comint-prompt-read-only t)
(set (make-local-variable 'font-lock-defaults) '(julia-font-lock-keywords t))
(set (make-local-variable 'paragraph-start) inferior-julia-prompt-regexp)
- (set (make-local-variable 'indent-line-function) 'julia-indent-line)
- (set-input-method "TeX"))
+ (set (make-local-variable 'indent-line-function) 'julia-indent-line))
(add-hook 'inferior-julia-mode-hook 'inferior-julia--initialize)
- [nongnu] elpa/julia-mode 646f758 156/352: Don't skip over end keywords., (continued)
- [nongnu] elpa/julia-mode 646f758 156/352: Don't skip over end keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 11e3904 176/352: Backporting regexp-opt functionality to Emacs 23., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 36aa038 181/352: Fix julia-in-brackets so it isn't confused by strings, characters or comments., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d7a7607 184/352: Make julia-last-open-block-pos a pure function that only returns the position., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 3597e9a 186/352: Comment improvements., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6603c79 190/352: rename Uint -> UInt in contrib files for syntax highlighting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode f3f2ad1 198/352: Highlight triple quoted strings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 65cfc0d 201/352: julia-mode.el: add a bunch of builtin types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode fabafad 200/352: julia-mode.el: improve matching of function assignment syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4b41b85 207/352: julia-mode.el: `f(x) == something` does not define a function, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a37d541 214/352: Changed input from TeX mode to use Julia unicode input,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 2e72a0b 213/352: Removed (setq comint-proccess-echoes t) from contrib/julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 716d58c 217/352: Added autoload cookie to inferior-julia function in contrib/julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b1e02f1 230/352: rename: FloatingPoint => AbstractFloat, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0583ee3 232/352: String was renamed to AbstractString, replace everywhere, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4afb7be 229/352: Update mailmap., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e7c8550 228/352: Bind indent offset to its standard value for tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0df9ca4 240/352: julia-mode: Indentation performance improvements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2d860b1 248/352: Merge pull request #18 from JuliaLang/yyc/str-cleanup, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e4b3428 244/352: Remove test branch in travis, add README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ad6a494 301/352: Merge pull request #78 from tpapp/tp/update-latexsubs, ELPA Syncer, 2021/08/29