GNU bug report logs - #10884
24.0.93; c-mode + electric-indent-mode + M-j

Previous Next

Packages: cc-mode, emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10884 in the body.
You can then email your comments to 10884 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10884; Package emacs. (Sat, 25 Feb 2012 19:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 25 Feb 2012 19:40:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.93; c-mode + electric-indent-mode + M-j
Date: Sat, 25 Feb 2012 20:36:38 +0100
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




Reply sent to Dani Moncayo <dmoncayo <at> gmail.com>:
You have taken responsibility. (Thu, 20 Jul 2017 07:18:02 GMT) Full text and rfc822 format available.

Notification sent to Dani Moncayo <dmoncayo <at> gmail.com>:
bug acknowledged by developer. (Thu, 20 Jul 2017 07:18:02 GMT) Full text and rfc822 format available.

Message #10 received at 10884-done <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 10884-done <at> debbugs.gnu.org
Subject: Re: bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j
Date: Thu, 20 Jul 2017 09:17:35 +0200
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.