<p>Copied from <a href="http://sourceforge.net/p/geany/bugs/835/">SourceForge</a>:</p>

<p>When I have both auto-save and also strip trailing spaces turned on, I find a couple of problems if I am typing when auto-save triggers (i.e. quite often).</p>

<ul>
<li>If I am just about to type at the start of a new line when the auto save triggers then the current indent disappears and my cursor is left at the beginning of the line.</li>
<li>If auto-save triggers while typing and I have just typed a space that space will disappear and my typing will continue, error included.</li>
</ul>

<p>I can see this is consequence of my choice of preferences, but I still think there is a case for improvement here. The simple solution (without knowing the codebase at all) would seem to be to turn off the stripping temporarily for auto-saves. Is this possible?</p>

<p>And yes, I know it is 2012 but I have found myself in a situation where auto-save is a necessity :(</p>

<p>Geany 0.21.</p>

<p>Today it is 2015, Geany 1.25, everything is in place.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/678">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-vJyueBzsOgxuWxA2RWDs2cUALPks5o5NkegaJpZM4GKYnv.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/issues/678"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>