Thanks for the infos and script Dimitar !<br><br><div class="gmail_quote">2011/1/23 Dimitar Zhekov <span dir="ltr"><<a href="mailto:dimitar.zhekov@gmail.com">dimitar.zhekov@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Sun, 23 Jan 2011 13:07:31 +1100<br>
Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>
<br>
> a. who owns the preferences? preventing multiple instances from<br>
> changing preferences is very limiting, if they can all change them,<br>
> who saves their set when Geany terminates? and how to lock them<br>
> irrespective of the filesystem they reside on to prevent scrambled<br>
> preferences?<br></div></blockquote><div>Why not save preferences right when closing the preferences dialog ? That's what I would except as a lambda user.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">
<br>
</div>Windows: the instances are stopped one by one. The last one wins.<br>
X11: the session management supports instances.<br>
<div class="im"><br>
> b. how do you restart multiple instances? which leads to session<br>
> management being required, but Geany has two potential implementations<br>
> of that and no clear path forward yet<br>
<br>
</div>It has a complete sm for the current single-instance behaviour, and an<br>
incomplete multi-instance sm for the non-implemented multi-instance<br>
behaviour. So the real question is, do we plan to introduce any multi<br>
instancing in Geany in the foreseeable future? If not, the last<br>
single-instance sm applies against 5530, and is quite stable.<br>
<div class="im"><br>
> c. the same issues relating to preferences apply to project files<br>
> being used by more than one instance, or if a project can be open in<br>
> only one instance how to enforce that?<br>
<br>
</div>The same answer as for a. and b.<br>
<div class="im"><br>
> d. and of course these also apply to the same document file being open<br>
> in multiple instances, at logout/shutdown who's copy gets saved? how<br>
> do you detect the fact so you can at least warn the user? remember<br>
> that locking and the like don't work on remote filesystems.<br>
<br>
</div>Both Windows and X11-sm will ask you for any modified files.<br>
<br>
(In the current implementation, both simply terminate.)<br>
<font color="#888888"><br>
--<br>
E-gards: Jimmy<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
</div></div></blockquote></div><br>