Re: rst-mode broken indentation with emacs 24.4

Stefan Merten <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Hi Yuri!

2 days ago Yuri D'Elia wrote:
> Hi everyone, hopefully this is the right place to post issues with
> `rst-mode'.

It is one of the options :-) .

> 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.

Thanks for the report. I'll look into this.


						Grüße

						Stefan

------------------------------------------------------------------------------
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/
signature.asc (application/pgp-signature, 290 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQCVAwUBVRHRtgnTZgC3zSk5AQIvEQP/WmVSZIqXJTOJHepShuLoqZRm03ZyBZm5
vQfqWp3WiFGezj/9CAbxmyfT1FLZS5HcN9lPNXbclF2uUHnz1WwlU62Cp5+8Havv
HLEtzSU8aScvHfSeJG9cxfYvQswK1m2o3wv9tzWc8buG4R3EdGfie/pYfSsEi4+Q
TsTrDvuNNC0=
=CjM6
-----END PGP SIGNATURE-----
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.