Am Mittwoch 21 Dezember 2016 schrieb Thierry de Coulon:
On Wednesday 21 December 2016 14.01:08 Michele Calgaro wrote:
The default session is actually hardwired in Kate's code (up to R14.0.x series). Even if you delete it, it will be recreated. Cheers Michele
I haven't looked at the code, but it seems so far that if I create (save) a session with my settings, then delete the default session and rename the saved one to default, it works (so I'd guess the code checks for default.katesession and only recreates it if missing).
Thierry
I think so either, because this still works from program interface as said before (I just tried again in a completely new TDE user account):
1) open kate the first time with a new, empty session directory
2) close the documents list (and/or side bar), save the session. There is only "Default session", so the running session, which is the default session, will be saved as default.session in kate/sessions/ (would be saved in default.session anyway, but without your changes)
3) next time you start kate, it will find default.session with your saved changes concerning the view of docs list/side bar.
BUT: still strange is, that the second time I tried that, kate would not let me save the freshly opened session, but popped up a dialog to enter a name for the session to save. I then "opened" from within kate "Default session" (the only one in the list), which did not (!) revert to opened docs list/side bar, and after that I could save the session as is, that is, default.session. And this file apparently will be found kate starts the next.
Stefan