GNU bug report logs -
#10884
24.0.93; c-mode + electric-indent-mode + M-j
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Sat, 25 Feb 2012 19:40:03 UTC
Severity: normal
Found in version 24.0.93
Done: Dani Moncayo <dmoncayo <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 8 years ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.