[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scala-mode 970d88e 187/217: make keywords match case sensi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scala-mode 970d88e 187/217: make keywords match case sensitive (#133) |
Date: |
Sun, 29 Aug 2021 11:31:09 -0400 (EDT) |
branch: elpa/scala-mode
commit 970d88eeff82df635ee12336ab1eb185585f30c6
Author: jilen <jilen.zhang@gmail.com>
Commit: Sam Halliday <sam.halliday@gmail.com>
make keywords match case sensitive (#133)
---
scala-mode-indent.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/scala-mode-indent.el b/scala-mode-indent.el
index 24c68c1..aa033fd 100644
--- a/scala-mode-indent.el
+++ b/scala-mode-indent.el
@@ -295,8 +295,9 @@ and are infact a sign of run-on. Reserved-symbols not
included.")
((looking-at scala-indent:mustNotTerminate-line-beginning-re)
t)
;; YES: end of prev line must not terminate
- ((scala-syntax:looking-back-token
- scala-indent:mustBeContinued-line-end-re)
+ ((let ((case-fold-search nil))
+ (scala-syntax:looking-back-token
+ scala-indent:mustBeContinued-line-end-re))
t)
;; YES: this line starts with type param
((= (char-after) ?\[)
@@ -542,7 +543,8 @@ keyword, or nil if not."
(when point (goto-char point))
(scala-syntax:beginning-of-code-line)
(or (scala-syntax:looking-back-token scala-syntax:body-start-re 3)
- (scala-syntax:looking-back-token
scala-indent:control-keywords-other-re)
+ (let ((case-fold-search nil))
+ (scala-syntax:looking-back-token
scala-indent:control-keywords-other-re))
(progn
;; if, else if
(when (scala-syntax:looking-back-token ")" 1)
@@ -561,7 +563,8 @@ keyword, or nil if not."
(let ((declaration-end (scala-indent:body-p point)))
(when declaration-end
(goto-char declaration-end)
- (if (looking-at scala-indent:control-keywords-re)
+ (if (let ((case-fold-search nil))
+ (looking-at scala-indent:control-keywords-re))
(point)
(when (scala-indent:backward-sexp-to-beginning-of-line)
(scala-indent:goto-run-on-anchor
- [nongnu] elpa/scala-mode b6f1300 152/217: undo some of the random changes., (continued)
- [nongnu] elpa/scala-mode b6f1300 152/217: undo some of the random changes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode e18c50e 158/217: add cleanup hooks., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c20d6e6 164/217: Merge pull request #101 from fommil/remove-post-insert-hook, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b4da977 165/217: emacs-lisp code is GPL by definition, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 4b6ee77 166/217: point to new documentation website, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 84850e7 167/217: remove CI badge, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ee375b9 172/217: idiomatic emacs lisp cleanups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c90bbde 176/217: Added a few prettify rules for cats/scalaz operators (#112), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 9b8db62 181/217: upgrade CI (#127), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b67029a 184/217: fix #120, align according to forms, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 970d88e 187/217: make keywords match case sensitive (#133),
ELPA Syncer <=
- [nongnu] elpa/scala-mode 5209142 189/217: Support for identifiers consisting from operator characters (#138), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 6f49104 193/217: scala-syntax:propertize-dollar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2a7b0fd 195/217: Moved ensime/emacs-scala-mode back to hvesalai/emacs-scala-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 5d28cb3 210/217: feat: support trailing commas (>= Scala 2.12.2), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b21befd 211/217: Fix README.md indenting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode d837c96 203/217: doc: supports both Scala 2 and 3 (to some extent), not just 2.9, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2bf5621 207/217: Update README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 402d6df 209/217: Merge pull request #165 from fommil/sbtn, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ac8106f 025/217: Update README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode d81bc28 028/217: indenting code lines also removes trailing whitespace, ELPA Syncer, 2021/08/29