Yuri D'Elia
2015-03-22 17:22:02 UTC
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/
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
`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/
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.