rst-mode broken indentation with emacs 24.4

Yuri D'Elia <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Hi everyone, hopefully this is the right place to post issues with
`rst-mode'.

With emacs 24.4 `electric-indent-mode' is now globally on by default.
This seems to have broken rst-mode's indentation behavior, since <RET>
will also *cycle* the indentation of the current line; usually breaking
it in frustrating ways.

To have an example, consider:

.. code::<RET>
   type anything here<RET>

will result in:

.. code::
type anything here

I currently fixed this by manually changing <RET> in rst-mode-map to
`newline-and-indent', but it would be nicer to actually make rst-mode
cooperate with electric-indent-mode.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.