www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - emacs ddoc-mode?


Having a ddoc mode for emacs would make documentation writing a lot more 
enjoyable. Is there anyone who's versed in defining emacs modes?

Ddoc files have a simple structure: "$(name" introduces a level of 
indentation (e.g. 2 spaces) and gets highlighted, ")" deindents, and at 
the end there's a macros section starting with "Macros:" on its own line 
followed by pairs of the form NAME=string.

Feb 07 2013