And again, I really must remind me that Gmail can't handle this list correctly. The message is just below.<br><br><div><span class="gmail_quote">2006/7/24, Alexandre Moreira <<a href="mailto:alexandream@gmail.com">alexandream@gmail.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br><br><div><span class="gmail_quote">2006/7/24, Nexu <<a href="mailto:nexu.jin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
nexu.jin@gmail.com</a>>:</span></div><div><span class="e" id="q_10ca1ca414e1d70a_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2006-07-24 at 13:49 -0300, Alexandre Moreira wrote:<br><br>>         Right now, whenever the user opens a new empty instance of<br>>         geany, geany checks out to see if the FIFO exists, and if it<br>>         does, it asks the user what to do, if it should skip launching
<br>>         or if it should delete the pipe and open.<br>><br>>         But I think asking the user is rather annoying, and would like<br>>         to give Geany the ability to try to connect to the pipe, send
<br>>         a ping message wait for, say, 3 or 5 seconds (enough time for<br>>         a process to reply a pipe ping message) and if it doesnt<br>>         reply, deletes the pipe and runs itsel. If it does reply, we
<br>>         skip launching and raise the old instance.<br>><br>>  so the question is not about the achievability of the feature in<br>> Win32 anymore, but on the actual merits of the feature.<br><br>As an user, i think these 2 choices are choices between 2 evil.
<br><br>>From my point of view the pro and cons of asking the user.<br>Pro:<br>        - User only have to click and Geany starts<br>Cons:<br>        - User _must_ click something before Geany starts<br>        - User might be confused why its necessary to answer such
<br>        question and what it means.<br><br>>From my points of view the pro and cons of the delay.<br>Pro:<br>        - No more dialog at start-up after a crash<br>Cons:<br>        - User might be confused why Geany is not responsive at start-up
<br>        (after a crash)<br><br>Now consider the main user target group (at-least that is what i assume,<br>correct me if i am wrong on this) are mostly programmers or at least<br>more experienced computer users. I think the cons of the dialog is not
<br>necessary 'confusing' and better than a delay where Geany is 'idle'.<br><br>As a suggestion, perhaps you could merge these 2 ideas. Instead of a<br>dialog which needs input. Change it into a dialog with a message Geany
<br>is trying to connect to the existing FIFO with a "cancel" button which<br>deletes the current FIFO and starts up, or wait where after X seconds<br>(display count down perhaps to inform the user how long left) of time
<br>out and not able to reconnect to existing FIFO and delete it and make a<br>new one.</blockquote></span></div><div><div><br>The Idea looks nice, but I don't think we can implement it without making a major change in our initialization code. I am not very familiar with neither GTK+ or Windows programming (I usually only develop console applications) but I think we'll need a thread to handle the waiting on the pipe and another to handle the window presentation, synchronize them both and stuff. Not really a hard thing to do, but would make a bigger codebase for initialization, something I don't think everyone will agree on. 
<br><br>Perhaps we should just leave it the way it is now.<br><br>Regards,<br></div><div><span class="sg">Alexandre Moreira.<br></span></div><div></div></div><div><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Regards,<br><br>Nex<br><br>_______________________________________________<br>Geany mailing list<br><a href="mailto:Geany@uvena.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Geany@uvena.de</a>
<br><a href="http://uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://uvena.de/cgi-bin/mailman/listinfo/geany
</a><br></blockquote></span></div><div></div><br>

</div></blockquote></div><br>Regards,<br>Alexandre Moreira.<br><br>PS: Nexu, sorry for the duplicate message.<br><br>