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

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

bug#12822: (no subject)


From: Fabián Ezequiel Gallina
Subject: bug#12822: (no subject)
Date: Wed, 23 Jan 2013 22:40:45 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2

The whole idea of python-indent-guess-indent-offset is to provide some sane default at find-file. The decision of making the indentation of first available block the default indentation is intended and it's not going to change. This way indentation guessing behaves consistently all the time and the user is able to modify the first block so the command plays nice to him after next file visit.

Also, as a side note, all blocks in a python file should be indented the same way, the only special case would be an if triggered into multiple lines using parens like this but this case is not that common that I'm not even worrying about:

    if (something and
        somethingelse and
        otherstuff):
            pass






reply via email to

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