Cool! I haven&#39;t used emacs for a while, but this might make me start again. If you&#39;d like I think it would be great if you wanted to post this in a thread at <a href="http://electro-music.com">electro-music.com</a>, and maybe also somewhere in the ChucK wiki (if you can add files there) - for posterity.<br>
<br>Thanks for doing this!<br><br>/Stefan<br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 4:07 PM, Kao Cardoso Felix <span dir="ltr">&lt;<a href="mailto:kcfelix@gmail.com">kcfelix@gmail.com</a>&gt;</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;">Hello folks,<br>
<br>
I&#39;ve just discovered and started learning ChucK and It&#39;s very neat. As<br>
I&#39;m an Emacs user I downloaded the emacs mode for editing ChucK files.<br>
It was rather old and was missing some functionality so I&#39;ve made an<br>
update.<br>
<br>
<a href="http://bitbucket.org/kcfelix/emacsd/src/tip/my-lisp/chuck-mode.el" target="_blank">http://bitbucket.org/kcfelix/emacsd/src/tip/my-lisp/chuck-mode.el</a><br>
<br>
I&#39;ve changed the syntax highlight to be more consistent with how other<br>
languages are highlighted inside Emacs and added all keywords, types<br>
and library functions listed on the documentation. Class and method<br>
name highlighting is not working yet, but I plan on adding it soon.<br>
<br>
Code to run the ChucK VM as an inferior process inside Emacs was<br>
commented because it wasn&#39;t working before. I&#39;ve made it work and<br>
changed some keybings. Now it work like this:<br>
<br>
C-c C-c inside a ChucK buffer will send the buffer code to the VM. If<br>
there&#39;s no VM process one will be created.<br>
C-c C-d remove a shred from the VM by a numeric id (is there other<br>
ways to identify shreds besides numbers?)<br>
C-c C-r replace a shred with the code on the current buffer.<br>
<br>
I also added support for easy customization for the path of the chuck<br>
executable, so you don&#39;t have to edit lisp code to change it.<br>
<br>
Well, I&#39;m planning to update it frequently to make it better according<br>
to my use of it, but if there&#39;s anyone using Emacs for ChucK and want<br>
to give some advice it would be very nice :)<br>
<br>
[]&#39;s<br>
<br>
--<br>
Kao Cardoso Félix<br>
<br>
Página pessoal: <a href="http://www.inf.ufrgs.br/%7Ekcfelix" target="_blank">http://www.inf.ufrgs.br/~kcfelix</a><br>
Blog: <a href="http://kaofelix.blogspot.com" target="_blank">http://kaofelix.blogspot.com</a><br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!<br>