<div dir="ltr"><div>> First, the "editor-notify" signal is a tight spot, all Scintilla<br>
> events go there. Blocking them while saving may not be a good idea,<br>
> especially considering that a file save error may display a modal<br>
> dialog IIRC. You can do a plugin_idle_add(func) instead, and make<br>
> func() return FALSE.<br><br></div><div>I think I don't understand, where do I block these signals ?<br></div><div>My implementation of editor-notify() return FALSE, so it doesn't block anything, no ? :)<br></div>
<div>
<br>> Second, mentioning -lgthread-2.0 twice may be required, depending on<br>
> the libraries and linker, and won't do any harm otherwise.<br><br></div>Ok, roger that !<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-01 12:01 GMT+01:00 Dimitar Zhekov <span dir="ltr"><<a href="mailto:dimitar.zhekov@gmail.com" target="_blank">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">On Sat, 1 Mar 2014 11:28:13 +0100<br>
Steven VALSESIA <<a href="mailto:steven.valsesia@gmail.com">steven.valsesia@gmail.com</a>> wrote:<br>
<br>
> Hi everybody !<br>
<br>
Hi.<br>
<div class=""><br>
> Please, take a look to my patch concerning the feature request #683.<br>
<br>
</div>A disclaimer first: I'm not using the autosave actions plugin.<br>
The code seems to match autosave closely, with no obvious errors.<br>
<div class=""><br>
> Let me know if you see how I can improve my code :)<br>
<br>
</div>First, the "editor-notify" signal is a tight spot, all Scintilla<br>
events go there. Blocking them while saving may not be a good idea,<br>
especially considering that a file save error may display a modal<br>
dialog IIRC. You can do a plugin_idle_add(func) instead, and make<br>
func() return FALSE.<br>
<br>
Second, mentioning -lgthread-2.0 twice may be required, depending on<br>
the libraries and linker, and won't do any harm otherwise.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
E-gards: Jimmy<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div>