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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 20 Jul 2017 09:17:35 +0200
with message-id <CAH8Pv0j-kFBAvwFWeR_cTR7Yasy9y86FUA6Wj=dNdnR2Qf-evQ <at> mail.gmail.com>
and subject line Re: bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j
has caused the debbugs.gnu.org bug report #10884,
regarding 24.0.93; c-mode + electric-indent-mode + M-j
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
10884: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10884
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
On Sat, Feb 25, 2012 at 8:36 PM, Dani Moncayo <dmoncayo <at> gmail.com> wrote:
> 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]:
> {
> //
> //-!-
I can't reproduce this problem using a build of the current master
branch, so I'm closing this bug.
--
Dani Moncayo
This bug report was last modified 7 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.