<p>Yes, well if you read <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="241684499" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1539" href="https://github.com/geany/geany/issues/1539">#1539</a> that was exactly the problem. The option "Ensure newline at file end" prevents empty files.</p>
<p>So we need to decide what's more important:</p>
<ul>
<li>do we need to ensure a newline for an otherwise empty file</li>
<li>do we need to be able to create really empty files (0 byte size)</li>
</ul>
<p>Both things are IMHO not very important. Let's make up a decision. If this is not merged then maybe also <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="241684499" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1539" href="https://github.com/geany/geany/issues/1539">#1539</a> should be closed as "wontfix".</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/pull/1810#issuecomment-373953524">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ2hWfln-W1vNsEOE15mHm4eDicIPks5tfX5LgaJpZM4SuypE">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJykCz4X4CBsvTv5Hg1Lxzvhnzlx1ks5tfX5LgaJpZM4SuypE.gif" height="1" width="1" alt="" /></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/pull/1810#issuecomment-373953524"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request 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","title":"geany/geany","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"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LarsGit223 in #1810: Yes, well if you read #1539 that was exactly the problem. The option \"Ensure newline at file end\" prevents empty files.\r\n\r\nSo we need to decide what's more important:\r\n- do we need to ensure a newline for an otherwise empty file\r\n- do we need to be able to create really empty files (0 byte size)\r\n\r\nBoth things are IMHO not very important. Let's make up a decision. If this is not merged then maybe also #1539 should be closed as \"wontfix\"."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1810#issuecomment-373953524"}}}</script>