<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Why does Autosave plugin keep disabling autosave at timed intervals?]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I had occasion to reinstall NP++ 8.8.3 on Win11 and re-enabled the Autosave plugin (v2.00) with the option to save at 1 min timed intervals ticked. But periodically I’ve noticed that files were not being saved and the plugin option shows the timed interval is now unticked!</p>
<p dir="auto">Autosave.ini is dated 25th July '25, isn’t read-only and says:</p>
<p dir="auto">[Options]<br />
Timer=10<br />
SaveOnActivateApp=0<br />
SaveOnTimer=0<br />
SaveOnTabChange=0<br />
SaveOnExit=0<br />
SaveCurrentFileOnly=0</p>
<p dir="auto">Shouldn’t timer = 1?<br />
Any ideas why this is?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27073/why-does-autosave-plugin-keep-disabling-autosave-at-timed-intervals</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 15:22:22 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27073.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Aug 2025 21:10:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Why does Autosave plugin keep disabling autosave at timed intervals? on Thu, 14 Aug 2025 15:36:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> that’s great. I wonder if it’s a Win11 ‘feature’ that prevents the graceful app close/shutdown.<br />
Either way I know now what the smoking gun looks like so will be mindful of that in future.<br />
Tx for the analysis and for filing the plugin issue.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102904</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102904</guid><dc:creator><![CDATA[Mr-Brunes]]></dc:creator><pubDate>Thu, 14 Aug 2025 15:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to Why does Autosave plugin keep disabling autosave at timed intervals? on Thu, 14 Aug 2025 15:28:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mr-brunes" aria-label="Profile: Mr-Brunes">@<bdi>Mr-Brunes</bdi></a> said in <a href="/post/102901">Why does Autosave plugin keep disabling autosave at timed intervals?</a>:</p>
<blockquote>
<p dir="auto">I normally shut down or restart Windows, and never do a NPP File &gt; Exit.</p>
</blockquote>
<p dir="auto">So if the Windows OS shutdown/restart prevents Notepad++ from sending the “shut down gracefully” signal to plugins, then the AutoSave plugin might never have a chance to write its config file to disk</p>
<blockquote>
<p dir="auto"><code>14/08/2025     15:22</code></p>
</blockquote>
<p dir="auto">The good news is, your new options have now been saved.  In theory, they shouldn’t disappear again.  My recommendation to you is that, since you normally don’t do <strong>File &gt; Exit</strong>, you should do that after changing any AutoSave plugin settings (or other plugin settings, too, because I cannot guarantee which of your plugins might write settings immediately vs writing on safe-exit)</p>
<blockquote>
<p dir="auto">The irony is not lost on me that it appears that the Autosave plug-in options are not (ahem) autosaved! ;-)</p>
</blockquote>
<p dir="auto">You have a point.  It would make sense for it to save the options as soon as you hit OK.  I am creating an Issue with the AutoSave repo =&gt; <a href="https://github.com/francostellari/NppPlugins/issues/70" rel="nofollow ugc">Issue #70</a> … I don’t know whether the author will ever address that problem, but at least they’ve been informed.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102903</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102903</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 14 Aug 2025 15:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to Why does Autosave plugin keep disabling autosave at timed intervals? on Thu, 14 Aug 2025 15:07:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> tx those are all very helpful diagnosis steps.</p>
<p dir="auto">Results:</p>
<p dir="auto">Win11’s ‘Installed Apps’ says one instance of NPP.</p>
<p dir="auto">Debug info:<br />
Path : D:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF</p>
<p dir="auto">(For the sake of completeness would it be useful for debug to add the %appdata% path (though I guess it’s a system env. variable)?)</p>
<pre><code>Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        25/07/2025     11:42            113 AutoSave.ini
</code></pre>
<p dir="auto">File &gt; exit NPP</p>
<pre><code>Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        14/08/2025     15:22            113 AutoSave.ini
</code></pre>
<p dir="auto">I normally shut down or restart Windows, and never do a NPP File &gt; Exit.<br />
I’ve restarted the PC several times since 25th July!<br />
The irony is not lost on me that it appears that the Autosave plug-in options are not (ahem) autosaved! ;-)</p>
<p dir="auto">Detailed Autosave.ini Security perms shows that my user has all permissions allowed.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102901</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102901</guid><dc:creator><![CDATA[Mr-Brunes]]></dc:creator><pubDate>Thu, 14 Aug 2025 15:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to Why does Autosave plugin keep disabling autosave at timed intervals? on Wed, 13 Aug 2025 15:05:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mr-brunes" aria-label="Profile: Mr-Brunes">@<bdi>Mr-Brunes</bdi></a> ,</p>
<p dir="auto">I’ve used AutoSave 2.00 for years (and versions before that), and I’ve <em>never</em> seen it un-checkmark that option (or change the time between saves).</p>
<p dir="auto">I am wondering whether you might have multiple instances of Notepad++ on your computer; if so, maybe AutoSave is only set up the way you want it to be on one of those multiple instances.</p>
<p dir="auto">When you are running Notepad++ with AutoSave in the <em>wrong</em> settings, look at <strong>?</strong>-menu’s <strong>Debug Info</strong> (and copy it, and maybe paste it into a reply here)</p>
<p dir="auto">Assuming Debug Info shows something like</p>
<pre><code>Notepad++ v8.8.4   (64-bit)
Build time: Aug  4 2025 - 18:01:28
Scintilla/Lexilla included: 5.5.7/5.4.5
Boost Regex included: 1_85
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: "C:\Users\pryrt\AppData\Roaming\Notepad++\plugins\config\AutoSave.ini" 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: OFF
...
Plugins: 
    AutoSave (2)
    ...
</code></pre>
<p dir="auto">(I stripped out irrelevant stuff, because I have a lot of plugins)</p>
<p dir="auto">A first thing to look at is the <strong>Path:</strong>, <strong>Admin mode:</strong>, and <strong>Local Conf mode:</strong> entries in the Debug Info.  That will tell us a lot.</p>
<p dir="auto">If I set the options to:<br />
<img src="/assets/uploads/files/1755096638097-30c6c10f-1fa4-407f-ad5c-f4b6eca942c2-image.png" alt="30c6c10f-1fa4-407f-ad5c-f4b6eca942c2-image.png" class=" img-fluid img-markdown" /><br />
… I then have to exit Notepad++ normally (<strong>File &gt; Exit</strong> or the upper-right <code>X</code>), <em>then</em> it writes the updates to <code>%AppData%\Notepad++\Plugins\Config\AutoSave.ini</code> – it doesn’t write the config file when I say <strong>OK</strong>, it waits until I exit Notepad++.  So look at the AutoSave.ini last-changed date while Notepad++ is open.  Then change <strong>AutoSave&gt;Options…</strong>, click <strong>OK</strong>, then exit Notepad++; refresh the Explorer window and see if the <code>AutoSave.ini</code> date changes to the most recent timestamp.  If not, then the settings for AutoSave aren’t where you think you are (and that strengthens the idea that you have multiple copies of Notepad++ floating around).</p>
<p dir="auto">Secondly, I’m wondering if the times when it loses it, you are getting a Notepad++ crash, instead of a normal closing.  (Or even using something like <code>taskkill /f /im notepad++.exe</code> will prevent AutoSave from writing its config to disk, whereas <code>taskkill</code> without the <code>/f</code> will allow it to write the config.)</p>
<p dir="auto">Third, I know you said it’s not “read-only”, but Windows doesn’t <em>just</em> use a singular “read-only” flag: it also has user-based permissions.  So maybe it’s not “read-only”, but your normal user doesn’t have write permission.  (Or maybe you are running Notepad++ as admin when you make the change, but when you run as your normal user, it finds those settings weren’t saved.)  So right click on the <code>AutoSave.ini</code>, <strong>Properties</strong>, then go to the <strong>Security</strong> tab; click thru the users in the list of user names, and see if the <strong>Permissions for <code>XYZ</code></strong> table shows that different users have different permissions (especially your normal user compared to the Administrators group).</p>
<p dir="auto">So, to recap, the first things I’d check:</p>
<ol>
<li><strong>? &gt; Debug Info</strong>, especially Path, Admin mode, and Local Conf mode.</li>
<li>Look for multiple copies of Notepad++ on your computer, which would mean the config files are in different locations, so maybe the different copies have different settings</li>
<li>How is Notepad++ being closed after you change the setting?  Do you <strong>File &gt; Exit</strong>, or click the <code>X</code> or just shutdown Windows or use Task Manager to kill the task or use the TASKKILL utility or something else?</li>
<li>Check detailed permissions, not just “read only” flag</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/102897</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102897</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 13 Aug 2025 15:05:53 GMT</pubDate></item></channel></rss>