Page MenuHomePhabricator

ECoding / Emacs
Updated 1,927 Days AgoPublic

C source code

Emacs users can use this indentation style: http://www.emacswiki.org/emacs/E17CModeStyle or this

(c-add-style
 "e"
 '("gnu"
   (show-trailing-whitespace t)
   (indent-tabs-mode . nil)
   (tab-width . 8)
   (c-offsets-alist .
    ((defun-block-intro . 3)
     (statement-block-intro . 3)
     (case-label . 1)
     (statement-case-intro . 3)
     (inclass . 3)
     ))))

EDC (Edje) source code

Emacs supports this with the font-lock feature typically via a mode file tailored for the specific language. trunk/edje/data/edje-mode.el edje-mode.el is maintained in SVN under edje/data, with highlight of CPP and more up to date keyword list.

More than just highlight, edje-mode.el provides macros to insert parts, descriptions, programs and other commonly used Edje elements.

Imported from https://trac.enlightenment.org/e/wiki/ECoding/Emacs
History:
1 barbieri 2010-11-10 11:53:01
2 barbieri 2010-11-10 11:57:45
3 vtorri 2011-06-07 00:12:25
4 vtorri 2011-06-07 00:26:47
5 vtorri 2011-06-07 00:28:48
6 XHeLL 2012-02-23 08:54:47 fix indentation style script

Last Author
beber
Last Edited
Sep 4 2013, 5:07 AM
Projects
None
Subscribers
None