<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 27: more flexible indentation of continued lists/tuples/dicts</title><link>https://sourceforge.net/p/python-mode/patches/27/</link><description>Recent changes to 27: more flexible indentation of continued lists/tuples/dicts</description><atom:link href="https://sourceforge.net/p/python-mode/patches/27/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 17 Oct 2007 19:57:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/python-mode/patches/27/feed.rss" rel="self" type="application/rss+xml"/><item><title>more flexible indentation of continued lists/tuples/dicts</title><link>https://sourceforge.net/p/python-mode/patches/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I wanted to be able to indent a continued tuple more than one column when the beginning of the tuple is just sitting on the line by itself:&lt;/p&gt;
&lt;p&gt;(long, sequence, of_items,&lt;br /&gt;
that, needs, to_be, wrapped) = input_list&lt;/p&gt;
&lt;p&gt;^^^^ - I'd like to have it indent four spaces, rather than just one, but only in this case.. if it's not the first thing, I want normal behavior:&lt;/p&gt;
&lt;p&gt;packed_entry = (long, sequence, of_items,&lt;br /&gt;
that, needs, to_be, wrapped)&lt;/p&gt;
&lt;p&gt;^^&lt;br /&gt;
In these cases the continuation lines up with the open parenthesis (or bracket or brace in the case of lists and dicts, respectively).&lt;/p&gt;
&lt;p&gt;Thus, this patch, which introduces the custom variable py-indent-continuations-further (boolean).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. MacLeod</dc:creator><pubDate>Wed, 17 Oct 2007 19:57:11 -0000</pubDate><guid>https://sourceforge.net82e70eb539e834f38a035dbe0ec1628eb880be84</guid></item></channel></rss>