<div class="gmail_quote">On Wed, Oct 20, 2010 at 8:03 AM, Nick Treleaven <span dir="ltr"><<a href="mailto:nick.treleaven@btinternet.com">nick.treleaven@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, 19 Oct 2010 21:10:17 -0400<br>
<div class="im">Taylor Venable <<a href="mailto:taylor@metasyntax.net">taylor@metasyntax.net</a>> wrote:<br>
<br>
</div><div><div></div><div class="h5">> Hello. In response to my own feature requests (2993016, 2993022) I've<br>
> written basic support for Erlang and Scheme into Geany. For Scheme, I<br>
> hijacked the Lisp lexer and changed a few things, such as the names of the<br>
> keyword configurations. There should probably be more subtle changes to<br>
> accommodate differences in the languages. For Erlang, I used the existing<br>
> Scintilla lexer and hooked it into Geany. The patch at<br>
> <a href="http://metasyntax.net/geany.diff" target="_blank">http://metasyntax.net/geany.diff</a> can be applied to at least Subversion trunk<br>
> r5303. Please let me know if this is welcome, and if so I'll put some time<br>
> into refining the support, adding tag scanners, etc.<br>
<br>
</div></div>We require that Scintilla changes be added to the official project<br>
first, otherwise things could break when we merge Scintilla.<br>
<br>
Also, how different is Scheme to Lisp syntax - maybe the Lisp lexer<br>
could be shared? Could be discussed with the Scintilla project.<br>
<br>
In the meantime, I could apply the patch but change Scheme to use the<br>
Lisp lexer.<br></blockquote><div><br>I've removed the Scheme part from the diff at <a href="http://metasyntax.net/geany-erlang.diff">http://metasyntax.net/geany-erlang.diff</a> so just the Erlang can be applied. I don't know how Scintilla takes into account different variants of the same syntax, but there are differences between Common Lisp and Scheme, and amongst individual Scheme implementations, so I'll go upstream first to talk with them about that: no point doing it one way if you just have to change course soon afterward. Note that in the patch I didn't update the build process for Windows since I don't use Windows and haven't any systems to test it on. Some of the Erlang highlighting colours may need to be adjusted; I don't use Erlang a lot yet, and I don't know what people are expected or desiring, compared with say the angry fruit salad you can get in Emacs - which I quite like actually but there aren't that many named styles in Geany. :-)<br>
 </div></div>-- <br>Taylor C. Venable<br><a href="http://metasyntax.net/">http://metasyntax.net/</a><br>