Enhancements on indentation for lines after a backslash continuation.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:36 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:36 +0000 (00:03 -0300)
commitdc4f2e532630fa58381b9d3e52350279c98e89b7
tree7f181fffc0471c2e115fbe39ddb27147561b2261
parent479a14cc3a9a9a036f34f334d2bab8036932cf71
Enhancements on indentation for lines after a backslash continuation.

Backslashed continuations with parens in the middle are now handled
correctly. Things like this are now indented properly:

objects = Thing.objects.all() \
                       .filter(
                           type="toy",
                           status="bought"
                           subtype="car"
                       ) \
                       .aggregate(
                           Sum('amount')
                       ) \
                       .values_list()

New Functions:

    * `python-info-beginning-of-backlash' returns the point where a
      backslashed line start.
lisp/progmodes/python.el