GNU bug report logs - #11193
Incorrect indentation in the scheme-mode

Previous Next

Package: emacs;

Reported by: name surname <encyrtid <at> mail.com>

Date: Sat, 7 Apr 2012 18:15:01 UTC

Severity: normal

Tags: notabug

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 11193 <at> debbugs.gnu.org
Cc: encyrtid <at> mail.com
Subject: 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))




This bug report was last modified 8 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.