unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11193: Incorrect indentation in the scheme-mode
@ 2012-04-07 10:29 name surname
  2016-06-26  4:45 ` bug#11193: Bug #11193: " Noam Postavsky
  0 siblings, 1 reply; 2+ messages in thread
From: name surname @ 2012-04-07 10:29 UTC (permalink / raw)
  To: 11193

[-- Attachment #1: Type: text/html, Size: 1845 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11193: Bug #11193: Incorrect indentation in the scheme-mode
  2012-04-07 10:29 bug#11193: Incorrect indentation in the scheme-mode name surname
@ 2016-06-26  4:45 ` Noam Postavsky
  0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2016-06-26  4:45 UTC (permalink / raw)
  To: 11193; +Cc: encyrtid

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))





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-26  4:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-07 10:29 bug#11193: Incorrect indentation in the scheme-mode name surname
2016-06-26  4:45 ` bug#11193: Bug #11193: " Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).