bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11193: Bug #11193: Incorrect indentation in the scheme-mode


From: Noam Postavsky
Subject: bug#11193: Bug #11193: Incorrect indentation in the scheme-mode
Date: Sun, 26 Jun 2016 00:45:15 -0400

tag 11193 + notabug
quit

> In defining and calling deftest second argument when you press <Tab>
> always aligned at the level of the character 'e' of the function
> name. If the function name does not begin with "def" arguments are
> aligned correctly.

I think it's a feature, not a bug. The code in scheme.el explicitly
tests for "def" and indents as a definition form:

(defun scheme-indent-function (indent-point state)
...
   (cond ((or (eq method 'defun)
           (and (null method)
            (> (length function) 3)
            (string-match "\\`def" function)))
           (lisp-indent-defform state indent-point))





reply via email to

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