[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 4f56ded 258/352: make lookback distance customi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 4f56ded 258/352: make lookback distance customizable |
Date: |
Sun, 29 Aug 2021 11:22:57 -0400 (EDT) |
branch: elpa/julia-mode
commit 4f56ded3c283cd0881fa2fbb5e8d234a6589631f
Author: Ralph A. Smith <smith.ralph.a@gmail.com>
Commit: Ralph A. Smith <smith.ralph.a@gmail.com>
make lookback distance customizable
User-friendly remedy for JuliaEditorSupport/julia-emacs/issues/#5
---
julia-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 6f204d1..48cffa5 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -479,12 +479,14 @@ beginning of the buffer."
(unless (eq (point) (point-min))
(backward-char)))
-(defvar julia-max-block-lookback 5000
+(defcustom julia-max-block-lookback 5000
"When indenting, don't look back more than this
many characters to see if there are unclosed blocks.
This variable has a moderate effect on indent performance if set too
-high.")
+high, but stops indenting in the middle of long blocks if set too low."
+ :type 'integer
+ :group 'julia)
(defun julia-paren-indent ()
"Return the column of the text following the innermost
- [nongnu] elpa/julia-mode f84a425 219/352: Clean up stagedfunction, (continued)
- [nongnu] elpa/julia-mode f84a425 219/352: Clean up stagedfunction, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode f378cbc 208/352: Mailmap update., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode f3b490b 210/352: Added inferior-julia comint mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8dd023d 223/352: julia-paren-indent: docstring, test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8d6ea60 233/352: Fix #11549 (top level after paren-indented line), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9cbde7b 236/352: julia-mode: Move tests to new file and improve, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1f06e85 234/352: Alias `run-julia` to `inferior-julia` in julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a82e629 239/352: julia-mode: Indent manually inside strings with \n, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1746c4b 238/352: julia-mode: Improve paren indent perf, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 44c9959 241/352: julia-mode: Fix #15461, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4f56ded 258/352: make lookback distance customizable,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 362be60 255/352: Merge pull request #26 from JeffBezanson/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6add61b 254/352: fix indenting after commented `end`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8818ede 245/352: fix ignoring of keywords inside comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9067194 268/352: Merge pull request #38 from Wilfred/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode edaaff2 276/352: Bin op chars (#44), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c20a4e5 300/352: generate new LaTeX substitutions using 1.3-pre., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b194039 302/352: Merge pull request #72 from FelipeLema/unicode-for-in, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode addd3d4 305/352: Merge pull request #81 from JuliaEditorSupport/tp/add-substitution-tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9df3a7e 307/352: fix variable renaming, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1b8682b 308/352: fix travis setup, ELPA Syncer, 2021/08/29