We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Emacs integration
Page Index Toggle Pages: 1
Emacs integration (Read 631 times)
Emacs integration
Nov 17th, 2008, 8:08pm
 
Here you go, a processing-mode derived from java-mode with some extra keywords that are highlighted and the ability to *run* your processing sketches.

Check it out: http://github.com/omouse/processing-emacs/tree/master

Screenshots: http://flickr.com/photos/omouse/3028175645/
and http://flickr.com/photos/omouse/3027942121/

The trick used to run the sketches is to use the parent directory of the open buffer file. The trouble is that when you create a sketch you have to create a folder that contains it. This means that you can't create temporary buffers and run them as processing sketches. I'll try and fix that soon though.

Another thing I added to the mode is a bunch of snippets. They're like templates and they're very helpful if you can't remember the parameters of a function. Makes it very quick to type in code too. Anyway, these snippets use the YASnippet emacs package, so you'll need to install that to use them. You can get it here: http://code.google.com/p/yasnippet/
Re: Emacs integration
Reply #1 - Nov 17th, 2008, 8:13pm
 
Oh and you can reply here with bugs or just email me at omouse@gmail.com
Page Index Toggle Pages: 1