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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11193 in the body.
You can then email your comments to 11193 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11193; Package emacs. (Sat, 07 Apr 2012 18:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to name surname <encyrtid <at> mail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 07 Apr 2012 18:15:01 GMT) Full text and rfc822 format available.

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

From: name surname <encyrtid <at> mail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Incorrect indentation in the scheme-mode
Date: Sat, 7 Apr 2012 12:29:45 +0200 (CEST)
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11193; Package emacs. (Sun, 26 Jun 2016 04:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 11193 <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))




Added tag(s) notabug. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sun, 26 Jun 2016 04:46:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11193 <at> debbugs.gnu.org and name surname <encyrtid <at> mail.com> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Fri, 30 Sep 2016 21:07:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Oct 2016 11:24:03 GMT) Full text and rfc822 format available.

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.