Right now, in emacs' python-mode line continuations are aligned to the end of the previous line, as follows:
this_is_a_list_of_django_urls = ('',
url(r'^admin/?', include(admin.site.urls)),
url(r'^polls/?', include('polls.urls'))
)
But I find the above to be pretty ugly. Is there any way to configure emacs' python-mode to autoindent like this:
this_is_a_list_of_django_urls = ('',
url(r'^admin/?', include(admin.site.urls)),
url(r'^polls/?', include('polls.urls'))
)
I find the second version to be much easier to read, and so I'd like hitting TAB to only indent by one level, rather than however much it takes to align with the end of the previous line.
M-x report-emacs-bug
.