emacs-elpa-diffs
[Top][All Lists]
Advanced

[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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]