On Oct 29, 2015, at 08:00 AM, Andreas Röhler wrote: >assume this affects python-mode.el also (?)
Well, I see weird things when I try to reproduce this with the head of git master. Starting with the original example: -----snip snip----- def f(): r""" This is the docstring for my function. It's a raw docstring because I want to type \t here, and maybe \n, for example in LaTeX code like \tau or \nu. More docstring here. """ pass -----snip snip----- Notice that the `pass` line is indented 5 spaces, and pyflakes gives me a warning about that line. This is after hitting TAB on every line in the file, so indeed python-mode is indenting that line one too many spaces to the right. Now, if I point any place within the docstring hit M-q I get: -----snip snip----- def f(): r"""This is the docstring for my function. It's a raw docstring because I want to type \t here, and maybe \n, for example in LaTeX code like \tau or \nu. More docstring here. """ pass -----snip snip----- Which isn't bad. Cheers, -Barry
pgp7Sp_3iiXOf.pgp
Description: OpenPGP digital signature
_______________________________________________ Python-mode mailing list Python-mode@python.org https://mail.python.org/mailman/listinfo/python-mode