<br><br><div class="gmail_quote">On 20 May 2010 17:59, Dimitar Zhekov <span dir="ltr"><<a href="mailto:hamster@mbox.contact.bg">hamster@mbox.contact.bg</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, 19 May 2010 23:15:40 +0200<br>
Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:<br>
<br>
> > Each Geany is restored exactly it was before the session was closed,<br>
> > including open files, options (including applied but unsaved),<br>
> > per-document options (even if no project file is open) etc.<br>
> ><br>
><br>
</div><div class="im">> Now we have two alternating SM implementations? Why?<br>
<br>
</div>Because I wanted the Geany-s state to be restored more precisely. The<br>
only way to do that were separate .conf files, which eliminates the race<br>
condition as well.<br>
<br>
Also, the alternate implementation doesn't require a --project option<br>
- using argv[1] is the easiest wat to open a geany project file from<br>
the file manager.<br>
<div class="im"><br>
> I think I still like something close to the current behaviour: the<br>
> main instance (i.e. the first opened one) is master over the config<br>
> file.<br>
<br>
</div>This behaviour is still in the future. Unless I'm missing something,<br>
if you start geany twice with different sockets, there will be two<br>
"main" instances using the same configuration file.<br>
<br>
Eugene's original implementation requires main/secondary instances;<br>
this one does not.<br>
<div class="im"><br>
> I guess the main problem here is that Geany was never designed to be<br>
> used as multiple window editor, and IMO it shouldn't be changed to be<br>
> one.<br>
<br>
</div>Indeed, so I save each Geany completely separately. Since this is<br>
more compliant with the current (as in "currently implemented")<br>
behaviour, it's also ~1/3 shorter.<br>
<font color="#888888"><br></font></blockquote><div>Maybe I missed something, but what happens to configuration under this plan when instances are manually closed and re-opened?  <br><br>Which of the .conf files is used when the first is manually opened, the second is manually opened etc.<br>
<br>Cheers<br>Lex<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
--<br>
E-gards: Jimmy<br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</font></blockquote></div><br>