[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 69f50e9 085/352: fix #622
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 69f50e9 085/352: fix #622 |
Date: |
Sun, 29 Aug 2021 11:22:20 -0400 (EDT) |
branch: elpa/julia-mode
commit 69f50e960be4191a39914ac8c45e3ca9f653454e
Author: Jeff Bezanson <bezanson@post.harvard.edu>
Commit: Yichao Yu <yyc1992@gmail.com>
fix #622
---
julia-mode.el | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 83feb69..da8204b 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -95,16 +95,11 @@
(or (equal item (car lst))
(member item (cdr lst)))))
-; TODO: skip keywords inside strings
+; TODO: skip keywords and # characters inside strings
-; fixme? is the line-beginning-position necessary?
-; Currently you are fine with this kind of comment:
-; # Here's a comment with the word "for" in it
-; but not with this:
-; x = 5 # Here's another comment with the word "for" in it
(defun in-comment ()
- (equal (char-after (+ (line-beginning-position) (current-indentation)))
- ?#))
+ (member ?# (string-to-list (buffer-substring (line-beginning-position)
+ (point)))))
(defun strcount (str chr)
(let ((i 0)
- [nongnu] elpa/julia-mode b58ccd0 104/352: Begin work on sparse unary operators., (continued)
- [nongnu] elpa/julia-mode b58ccd0 104/352: Begin work on sparse unary operators., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e7ebf35 031/352: adding let syntax:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a6f55cb 052/352: .mailmap: someone is a scooby fan., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8af8e30 073/352: improving regex in last commit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 560a531 079/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6cf00ca 080/352: Fix the .mailmap fix; add another alias for Jeff; standard sorting., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1dca28b 077/352: adding "for i in x" syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9c6d2b8 081/352: emacs: allow any combination of spaces and newlines after "in" in for loop, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5c12fc2 084/352: Raise issue and possible fix re emacs indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0d4a8f6 091/352: fix #852, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 69f50e9 085/352: fix #622,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 856e45d 096/352: long-needed update to type names in julia-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7f70ddb 095/352: fix to julia-mode for indenting argument lists, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0f07dca 106/352: add "finally", and other exception improvements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7c0cfff 130/352: base StridedArray on the abstract DenseArray. closes #2345, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 3b5f6b0 105/352: make "using Base" implicit, and add baremodule. closes #1522, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 81e46b1 129/352: Update cjh in .mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 75dc105 124/352: Merge ESS changes to julia-mode.el with backwards compatibility., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b829e08 131/352: Added DataType to the list of highlighted type words in julia-mode.el., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9dd8281 134/352: Add support for multiline comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c74045a 125/352: emacs mode: change underscores back to word characters, ELPA Syncer, 2021/08/29