<p><a href="https://github.com/frlan" class="user-mention">@frlan</a> I just tried and it works for me on Mac too. Are you sure you closed the file before retrying? (Otherwise the indentation type is stored into the session file.). Also don't you use indentation autodetection which could override it?</p>
<p>I don't think spaces are default for Python - the default is to use global or project settings.</p>
<p>That said, there really is a bug - the local filetype config file should be created based on the global one which doesn't happen now. I've just fixed it in</p>
<p><a href="https://github.com/geany/geany/pull/1482" class="issue-link js-issue-link" data-url="https://github.com/geany/geany/issues/1482" data-id="224283125" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">geany/geany#1482</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-osx/issues/7#issuecomment-297179058">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ85CJhZBa-90HE1ZmAyOs_2CKlncks5rzm4PgaJpZM4NHeMy">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5SjcvfomKW6LQ0LWqDVY19LWn2Fks5rzm4PgaJpZM4NHeMy.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-osx/issues/7#issuecomment-297179058"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-osx","title":"geany/geany-osx","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-osx"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techee in #7: @frlan I just tried and it works for me on Mac too. Are you sure you closed the file before retrying? (Otherwise the indentation type is stored into the session file.). Also don't you use indentation autodetection which could override it?\r\n\r\nI don't think spaces are default for Python - the default is to use global or project settings.\r\n\r\nThat said, there really is a bug - the local filetype config file should be created based on the global one which doesn't happen now. I've just fixed it in\r\n\r\nhttps://github.com/geany/geany/pull/1482"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-osx/issues/7#issuecomment-297179058"}}}</script>