Commit 815898f015db7b114c99596fb77b1e087b77eb19
- Diff rendering mode:
- inline
- side by side
README
(14 / 1)
|   | |||
| 1 | 1 | Processing mode for Emacs. | |
| 2 | 2 | Written by Rudolf Olah. | |
| 3 | 3 | ||
| 4 | == About & Usage == | ||
| 4 | Licensed under the GNU GPL version 3 or later. | ||
| 5 | 5 | ||
| 6 | == About == | ||
| 7 | |||
| 6 | 8 | This mode is a derivative of the java-mode. It adds key-bindings for | |
| 7 | 9 | running/compiling Processing sketches and it also highlights keywords | |
| 8 | 10 | found in the Processing language, such as ``setup'', ``draw'', and | |
| 9 | 11 | ``frameRate''. | |
| 12 | |||
| 13 | == Setup == | ||
| 14 | |||
| 15 | In your .emacs file, add this: | ||
| 16 | |||
| 17 | (add-to-list 'load-path "/path/to/processing-emacs/") | ||
| 18 | (autoload 'processing-mode "processing-mode" "Processing mode" t) | ||
| 19 | (add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode)) | ||
| 20 | (setq processing-location "/path/to/processing") | ||
| 21 | |||
| 22 | == Usage == | ||
| 10 | 23 | ||
| 11 | 24 | The key-bindings are: | |
| 12 | 25 |

