[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 09e2247 230/284: Little clean-ups to the inde
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 09e2247 230/284: Little clean-ups to the indentation rules |
Date: |
Sun, 1 Aug 2021 18:29:50 -0400 (EDT) |
branch: elpa/geiser-guile
commit 09e2247047614d1f1b2285e84bed47dd17143480
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Little clean-ups to the indentation rules
Splitting better the specially indented forms between our two
implementations, so that users of a single one don't get weird
indentations for froms without a special meaning in their scheme.
Ideally, we should make these indentation rules buffer-local, so that
when a user is in a, say, Guile buffer, module+ has no special
indentation (as is the case now if that user also has activated
support for Racket).
---
elisp/geiser-guile.el | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 54443b8..00c44d5 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -237,12 +237,24 @@ This function uses `geiser-guile-init-file' if it exists."
(re-search-forward geiser-guile--guess-re nil t)))
-;;; Keywords
+;;; Keywords and syntax
+
(defun geiser-guile--keywords ()
(when geiser-guile-extra-keywords
`((,(format "[[(]%s\\>" (regexp-opt geiser-guile-extra-keywords 1))
. 1))))
+(geiser-syntax--scheme-indent
+ (c-declare 0)
+ (c-lambda 2)
+ (pmatch defun)
+ (sigaction 1)
+ (with-fluid* 1)
+ (with-fluids 1)
+ (with-fluids* 1)
+ (with-method 1))
+
+
;;; Compilation shell regexps
- [nongnu] elpa/geiser-guile aaa22fb 136/284: Guile: showing again submodules in module documentation., (continued)
- [nongnu] elpa/geiser-guile aaa22fb 136/284: Guile: showing again submodules in module documentation., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3c5cf80 149/284: Guile: better formatting of autodoc's variable values., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c732ede 141/284: Guile: no need to de-mangling autodoc args anymore., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6048041 173/284: Fix for the fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile ce57385 188/284: Guile: shorten a bit more multi-line sexps sent to REPL, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3bb3672 200/284: Better EOT token for more robust communication, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 9c08f27 203/284: Make do with a single connection, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3618844 210/284: Guile: button for texinfo lookup in doc browser, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 420a8c4 222/284: Guile: setting *current-warning-prefix* during evaluation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4c02219 227/284: Guile: capturing output to standard error, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 09e2247 230/284: Little clean-ups to the indentation rules,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile af0122c 238/284: Fix: not using mapcar for effect, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7d17a3c 236/284: Guile: augmenting %load-compiled-path too, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 08d4524 252/284: Use OS-specific quotes when asking for versions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3ba4ad4 242/284: Guile: font lock for all components of module names, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile cf8498d 219/284: Guile: 'format' added to the warning list, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 55efccc 226/284: Guile: deprecated format usage eliminated, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 51b62a7 248/284: Add 'geiser-guile--builtin-keywords', Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5848440 246/284: Speeding up debugger check (addresses #64), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 129d6de 234/284: Missing require cl for case, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 467aded 240/284: Highlight `define-once', Philip Kaludercic, 2021/08/01