A new emacs d-mode from scratch

Bill Baxter dnewsgroup at billbaxter.com
Wed Mar 28 18:23:36 PDT 2007


Andrei Alexandrescu (See Website For Email) wrote:
> Bill Baxter wrote:
>> Charlie wrote:
>>>  > When Emacs 22 is
>>>  > officially release with its cc-mode 5.3x, massive numbers of niche,
>>>  > minimally-supported modes are going to break.
>>>
>>> Yea , which apparently is right around the corner.  I've got a few 
>>> modes that are probably going to break.
>>>
>>> I'll let the php-mode guys know.
>>>
>>> I hope nxml doesn't rely on cc-mode, then I'll be stuck with 21.
>>
>> I would highly doubt that it does.  cc-mode is really only useful as a 
>> base for languages that look more or less like C.  Curly brace 
>> languages in other words.  For instance python-mode and the ML mode 
>> I've seen are not based on cc-mode because the differences in the 
>> languages are too great.  I'm sure the difference between C and XML is 
>> also too great.
> 
> Suggestion for d-mode.el: add unittest to the list of keywords starting 
> on line 218.
> 
> Andrei

Actually I think it should go at line 214 with the other 
"followed-directly-by-a-block" keywords. (a.k.a. "c-block-stmt-1-kwds").

I changed the wiki (which is actually the authoritative version).

--bb



More information about the Digitalmars-d-announce mailing list