Re: Proposed fix : emacs e-mode indentation not working
Darius Bacon <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
Pierre Radermecker <pradermecker-FFYn/[email protected]> wrote: > I have copied/paste (shame on me) karl's module and adapted a little > bit. It looks promising so far. I am wondering if it is not a better > starting point to get a better emacs mode. > > I would love to have some feedback from the original authors of the > custom-e-mode. I don't know if it is possible to use the c-indent-line > function outside of the CC-mode (it seems it was the intention). Using CC-mode was never meant to be more than a stopgap -- I left a comment in the code hoping someone with more ELisp experience would fix it up. You may well have found a better starting point. As with http://www.emacswiki.org/cgi-bin/wiki/JavaScriptMode, "I think Karl is right in defining javascript-mode as its own top-level mode. JavaScript really has not much to do with Java, aside from some common ancestry with C." Darius