help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why flip RET and C-j with electric-indent-mode?


From: Bob Proulx
Subject: Re: Why flip RET and C-j with electric-indent-mode?
Date: Mon, 6 Jun 2016 16:08:02 -0600
User-agent: Mutt/1.5.24 (2015-08-30)

Jim Fiocca wrote:
> I am using C and C++ programming modes.  Previously whenever I typed an open
> curly brace, it would automatically indent to the correct column.  Now, with
> electric-indent-mode nil, it just stays at column 1.  This has nothing to do
> with RET or ctrl-J.
> 
> Funny thing is, if I turn electric-indent-mode on and then off while in a
> C-mode buffer, it works fine.  I just can't automate it. Something wrong
> with the timing of turning it off globally or turning it off in my
> c-mode-hook in .emacs.

I am hoping you will file a bug report on the problem.  Here is the
bug reporting documentation.

  http://www.gnu.org/software/emacs/manual/html_node/emacs/Bugs.html#Bugs

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]