<br><br><div class="gmail_quote">On 20 May 2010 22:33, 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;">
On Thu, 20 May 2010 21:23:49 +1000<br>
<div class="im">Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>
<br>
</div><div class="im">> > Aside from that, the standard geany quit is unaltered. It does what it<br>
> > ever did.<br>
> ><br>
> Ok, in Eugenes version only one Geany, the first one run, will save the<br>
> Geany.conf so you know what you will get next time you start a Geany, does<br>
> your version allow all Geanys to save their geany.conf, ie last closed<br>
> "wins"?<br>
<br></div></blockquote><div><br>Sorry I wasn't clear, I was talking about closing instances manually, I understand how the sm works, I am trying to work out what behaviour the user sees when closing instances manually.<br>
 </div><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">
</div>Nobody "wins" or "loses". The sm-geany-quit (which is actually broken<br>
into 3 parts, that's how the sm works) does not touch the standard<br>
geany.conf at all, and it remains the way it was before the session<br>
was restarted.<br>
<br>
Each geany saves it's own geany-smclientid.conf file only, with it's<br>
own preferences, file list etc. And of course, it reads it's own .conf<br>
file only when started by the SM.<br>
<br>
(and when started manually, it performs a normal startup, if that's<br>
what you'll going to ask next :)<br>
<div class="im"><br>
> Your session management feature sounds great, lets each instance of Geany<br>
> set the config it wants, but I'm just trying to understand how it works with<br>
> the rest of Geany and when I change what instances are running.<br>
<br>
</div>Generally, it works more like "suspend-resume", not like "close all<br>
geany-s and start them again".<br>
<br>
The goal is to continue as if your "working session" was never<br>
interrupted. It is the user who should save geany.conf IMO, be it by<br>
using "Edit -> Preferences" or whatever, while the session manager<br>
should just reproduce all running geany-s as closely as possible.<br></blockquote><div><br>As I said above I'm no longer interested in what happens when a session is continued, what happens when I close things manually, and then start new instances of Geany.<br>
<br>Clearly these don't use sm specific versions of .conf, but what version of the Geany.conf will they see, when is it saved?  When some Geanys are still running and I start another?<br><br>When I close one or more and then start another?<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;">
<div class="im"><br>
> Oh yes how does your patch work if the X sm libs are not available (eg<br>
> Windows), can we set a symbol to compile without it?<br>
<br>
</div>Yes, that's derived from the Eugene's original implementation (#ifdef<br>
HAVE_LIBSM).<br>
<font color="#888888"><br></font></blockquote><div>Ok, fine :-)<br><br> I'm getting tired and grumpy, I'll see your reply tomorrow, apologies for being a bit slow at this time.<br><br>Cheers<br>Lex<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>
</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><br>