unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j
@ 2012-02-25 19:36 Dani Moncayo
  2017-07-20  7:17 ` Dani Moncayo
  0 siblings, 1 reply; 2+ messages in thread
From: Dani Moncayo @ 2012-02-25 19:36 UTC (permalink / raw)
  To: 10884

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j
  2012-02-25 19:36 bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j Dani Moncayo
@ 2017-07-20  7:17 ` Dani Moncayo
  0 siblings, 0 replies; 2+ messages in thread
From: Dani Moncayo @ 2017-07-20  7:17 UTC (permalink / raw)
  To: 10884-done

On Sat, Feb 25, 2012 at 8:36 PM, Dani Moncayo <dmoncayo@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-20  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-25 19:36 bug#10884: 24.0.93; c-mode + electric-indent-mode + M-j Dani Moncayo
2017-07-20  7:17 ` Dani Moncayo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).