Where is the definitive, up-to-date guide on how to write a derived mode from CC Mode. I have a mode that's malfunctioning and thought I might just rewrite it, but information I find is spotty and inconsistent. The example mode reference in the code is


and it doesn't look much like the mode I want to rewrite. I wonder if maybe things have changed since this example was written in 2002.

  • Could you give some details about the mode you'd like to rewrite and its shortcomings? – Stefan Jun 23 at 13:40
  • The mode I'm thinking about rewriting is scad-mode. The most obvious shortcoming is that it hangs when you type "#a=(". I opened another question about that and people complained that I couldn't ask how to fix the mode and also how to write a new one. – Adrian Jun 23 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.