<?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[Odd Query Regarding Sessions &amp; Preferences]]></title><description><![CDATA[<p dir="auto">I have had a quick search on the forum and I can’t see anything pertaining to this so sorry if this is a duplicate, if so could someone please point me in the right direction? ;)</p>
<p dir="auto">I use sessions quite a lot, I group certain things together, I have noticed that some of my sessions seem to have different settings to other sessions, one quick example is that if I go File &gt; Save Session some will overwrite the existing file (with no file extension) while other sessions will automagically add a .txt extension meaning I have to open the folder, delete the old session file and rename the new one removing the .txt extension (then confirming I’m not insane or a blathering idiot who doesn’t know what they’re doing ;), obviously all these steps are a tad annoying. This is the main thing I have noticed but it has made me hesitant to change any preferences, whether I am in a session or not, in case it isn’t going to be implemented across the board ;)</p>
<p dir="auto">What I would really like to know is where the preferences/config file for each session is, then I would be able to copy the pertinent parts from a well behaved session into the sessions that aren’t behaving themselves but the only preferences I can find referenced are in %APPDATA%\Notepad++ and while it has a config and session xml file neither seem to have any means of handling sessions differently, I’ve even tried copying and renaming the session save files so they have a .xml extension then editing said file in NP++ to see if there are some hidden settings in there… but alas again there don’t seem to be any entries for the session as a whole just the files included in the session, while this makes perfect sense, it leaves me at a loss as to why/how my various sessions are behaving differently to each other?</p>
<p dir="auto">Can anyone advice what is going on here?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19155/odd-query-regarding-sessions-preferences</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 00:40:26 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19155.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Apr 2020 14:47:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 17:47:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/miss-chief" aria-label="Profile: Miss-Chief">@<bdi>Miss-Chief</bdi></a> said in <a href="/post/52100">Odd Query Regarding Sessions &amp; Preferences</a>:</p>
<blockquote>
<p dir="auto">You think multiple instances would impact it?</p>
</blockquote>
<p dir="auto">Yes, I think it could.  Each instance shares the same settings, and the instance you close LAST will write the settings.</p>
<p dir="auto">So say you have 2 instances open, call them A and B.  If you go into instance A’s settings and you turn off the tool bar, instance A’s tool bar will (obviously) not be shown but instance B will still have a tool bar.</p>
<p dir="auto">If you then quit instance A and then quit instance B and then restart Notepad++, what you get will have a tool bar.</p>
<p dir="auto">However, if you had quit instance B and then quit instance A and then restarted, what you get will NOT have a tool bar.</p>
<p dir="auto">I don’t think the automatic session management stuff works the same way as a setting like the tool bar, at least a quick test didn’t show that it did, but…</p>
<p dir="auto">I avoid this sort of multi-instance running myself, for these types of reasons.</p>
<p dir="auto">At most I ever want/need is one additional instance, so I have a secondary <em>portable</em> version of Notepad++ hanging around for just such a need.  I have a <em>Run</em> menu item set up to run this secondary instance from my main instance.  Since both instances have totally different settings and sessions, I don’t have any problems.  Such a setup is convenient for me, but I recognize that it isn’t necessarily convenient for everyone.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52104</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52104</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 03 Apr 2020 17:47:53 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 17:02:49 GMT]]></title><description><![CDATA[<p dir="auto">@gurikbal-singh</p>
<p dir="auto">Downvoting because you are clearly spreading misinformation; totally unrelated to anything discussed above.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52103</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52103</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 03 Apr 2020 17:02:49 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 16:04:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/miss-chief" aria-label="Profile: Miss-Chief">@<bdi>Miss-Chief</bdi></a> said in <a href="/post/52094">Odd Query Regarding Sessions &amp; Preferences</a>:</p>
<blockquote>
<p dir="auto">Can anyone advice what is going on here?</p>
</blockquote>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/19151/session-bug-in-v7-8-5">https://community.notepad-plus-plus.org/topic/19151/session-bug-in-v7-8-5</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/52102</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52102</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Fri, 03 Apr 2020 16:04:39 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 15:45:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/52096">Odd Query Regarding Sessions &amp; Preferences</a>:</p>
<blockquote>
<p dir="auto">Also, do you use multiple instances of N++?</p>
</blockquote>
<p dir="auto">Yes, each session would be loaded in a separate instance, plus I might have another instance open that isn’t a session, each instance would have multiple files in it, usually I have 2-4 instances and while I might only have 1-3 files open in an instance that doesn’t have a session loaded, there would be anything from 10-30 files in a session. It varies, it depends what I’m doing and what sessions I need on hand at the time. I do try not to have 5 or more instances running but some of the sessions do have rather a lot of files in them.</p>
<p dir="auto">The issue definitely happened to specific sessions rather than different ones at different times, this is why I didn’t think it was a bug… one of my sessions that I keep open almost constantly would always overwrite the session file but another one never overwrote the file, it didn’t matter if I had multiple instances or if that was the only one, granted I have a lot of session files and I can’t swear blind all of them were consistent but those two are in frequent, near constant use and I know one of them always worked and one never did.</p>
<p dir="auto">You think multiple instances would impact it? Or you think I am overloading my system and it wasn’t coping? While I admit I am not always kind to my systems resources (this is mainly cause I am bad at leaving browser tabs open), one of the last things I do before a reboot is save my NP++ files and session, this is cause as I close things I add links/notes to remind me to do/finish this and that when I get back… given I have closed everything else at this point there should be plenty of system resources available.</p>
<p dir="auto">Bah, this is annoying… I will try my other machine, it’s been a while since I used it but I’m pretty sure it happens on that too (if it didn’t I would have known it was a buggy install and I would have tried reinstalling, I might be lazy but I’m not that bad ;), that is also running Win 10 64 bit and NP++ 32 bit.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52100</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52100</guid><dc:creator><![CDATA[Miss-Chief]]></dc:creator><pubDate>Fri, 03 Apr 2020 15:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 15:23:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/miss-chief" aria-label="Profile: Miss-Chief">@<bdi>Miss-Chief</bdi></a></p>
<p dir="auto">Well, I guess good that it seems to be working for you now, but bad for looking deeper into the <em>why</em> of the not-ideal situation you had before.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52099</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52099</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 03 Apr 2020 15:23:15 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 15:20:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply… my issue really is why are some sessions doing it and not others rather than the issue itself, if that makes sense?</p>
<p dir="auto">I just don’t get how some sessions are behaving differently to others.</p>
<p dir="auto">However, I’m a bit miffed now as the 64 bit version seems to be working as I would expect… not that I am complaining that it’s working but this has been <em>bugging</em> me for ages (wouldn’t have posted otherwise).</p>
<p dir="auto">Question now is, is it a bug with the 32 bit version or was it just a bug because I needed to do a fresh install (it has been a while since I did that, see aforementioned lazyness ;), although I didn’t do a clean install, it kept my preferences etc. I probably should have tried a fresh install before posting, it just seemed like there was some secret/hidden preferences file for the individual sessions rather than a buggy install :/</p>
<p dir="auto">Perhaps I will reinstall the 32 bit version and see if the issue comes back, I suppose I could try creating some new sessions aswell, to see if that might be a contributing factor… this kind of thing <em>bugs</em> me no end, (despite the aforementioned lazyness ;).</p>
<p dir="auto">I will have a look at the session manager plugin once I’ve finished fiddling, I did see it mentioned when I was looking into this issue but I didn’t want to complicate things when it wasn’t behaving as I would expect, now it is I will probably take a looksee, I certainly use sessions and NP++ an awful lot, not just for code either (editing/spellchecking posts, saving common comments, links, to do lists, you name it ;), I would be lost without NP++ and the sessions ;)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52098</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52098</guid><dc:creator><![CDATA[Miss-Chief]]></dc:creator><pubDate>Fri, 03 Apr 2020 15:20:05 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 15:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/miss-chief" aria-label="Profile: Miss-Chief">@<bdi>Miss-Chief</bdi></a></p>
<p dir="auto">Also, perhaps after your current problem is “solved”, given this situation:</p>
<blockquote>
<p dir="auto">I use sessions quite a lot, I group certain things together</p>
</blockquote>
<p dir="auto">Maybe you should consider using the <em>Session Manager</em> plugin?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52097</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52097</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 03 Apr 2020 15:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 15:01:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/miss-chief" aria-label="Profile: Miss-Chief">@<bdi>Miss-Chief</bdi></a> said in <a href="/post/52094">Odd Query Regarding Sessions &amp; Preferences</a>:</p>
<blockquote>
<p dir="auto">some of my sessions seem to have different settings to other sessions</p>
</blockquote>
<p dir="auto">Can you give a specific “setting” example?</p>
<blockquote>
<p dir="auto">other sessions will automagically add a .txt extension</p>
</blockquote>
<p dir="auto">Makes me think of “old style” Open/Save dialog setting where, if you don’t supply an extension on a file at save time, the current filter setting (usually <code>*.txt</code>) extension (thus -&gt; <code>.txt</code>) will be auto-applied.</p>
<p dir="auto">Perhaps best advice for this would be to always add <code>.xml</code> to the end when you are saving a session?</p>
<blockquote>
<p dir="auto">don’t seem to be any entries for the session as a whole just the files included in the session</p>
</blockquote>
<p dir="auto">That is my understanding; pretty much just file info.  Perhaps something interesting will be revealed if you can tell us what other setting(s) you suspect is being saved.</p>
<p dir="auto">Also, do you use multiple instances of N++?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52096</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52096</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 03 Apr 2020 15:01:45 GMT</pubDate></item><item><title><![CDATA[Reply to Odd Query Regarding Sessions &amp; Preferences on Fri, 03 Apr 2020 14:57:13 GMT]]></title><description><![CDATA[<p dir="auto">Should probably have said I am using NP++ 7.8.5 (32 bit) on Win 10 Pro 64 bit… currently installing NP++ 7.8.5 (64 bit) which wasn’t available when I originally installed and it just updates as and when (not that I am lazy or anything ;)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52095</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52095</guid><dc:creator><![CDATA[Miss-Chief]]></dc:creator><pubDate>Fri, 03 Apr 2020 14:57:13 GMT</pubDate></item></channel></rss>