Subject: bug#101: bad C-j behavior in Emacs-Lisp mode

From: Chong Yidong <[email-masked]>
Date: Mon, 05 May 2008 23:05:10 -0400

Tags: wontfix

> In Emacs-Lisp mode, put cursor after (bar m) and hit C-j.
> 
> (if (string= foo "a")
>     (bar m) ; Comment
> 
> The cursor is put after the semicolon. It should be put before it,
> ready for you to type the second "then" clause of the `if'.

The behavior is correct, since C-j performs a newline followed by an
indent.  In Emacs Lisp mode, single-semicolon comments are indented to
comment-column, which as a default value of 40.