Subject: 24.0.93; c-mode + electric-indent-mode + M-j
From: Dani Moncayo <[email-masked]>
To: [email-masked]
Date: Sat, 25 Feb 2012 20:36:38 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Recipe from "emacs -Q":
1. Type: M-x c-mode RET
2. Type: M-x electric-indent-mode RET
3. Type: { M-j / / M-j

--> Observed result [1]:
{
  //
    -!-//

--> Expected result [1][2]:
{
  //
  //-!-

--- Footnotes ---

[1] "-!-" indicates the location of point.

[2] I expect that result because the command `M-j' should do its work
well (insert a new line of comment, correctly indented, and leave the
point after the "//") regardless of whether electric-indent-mode minor
mode is active or not.

In GNU Emacs 24.0.93.1 (i386-mingw-nt6.1.7601)
 of 2012-02-14 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.6)'

-- 
Dani Moncayo