A new emacs d-mode from scratch
Bill Baxter
dnewsgroup at billbaxter.com
Sat Mar 3 10:29:19 PST 2007
Andrei Alexandrescu (See Website For Email) wrote:
> Bill Baxter wrote:
>> I made a new emacs mode.
>> Here it is.
>>
>> For some reason I couldn't get it to show up properly on Wiki4D so I'm
>> attaching it here.
>
> Cool. I tried it, but I get the error "Cannot open load file:
> cc-defs.el". Is that mode the C mode? But I do seem to have proper C
> mode installed.
Missing cc-defs.el means you've got an old cc-mode:
;; cc-mode version 5.30 or greater is required.
;; You can check your cc-mode with the command M-x c-version.
;; You can get the latest version of cc-mode at
;; http://cc-mode.sourceforge.net
I just tried the cc-mode upgrade out with my emacs 21. Installation of
the new cc-mode is pretty trivial. Unzip to a directory, add that
directory to your emacs search path, M-x byte-compile-directory.
I did get some errors trying to do the byte compiling with emacs 21.
But I fixed em. So after upgrading your cc-mode, try the attached d-mode.
--bb
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: d-mode.el
Url: http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20070304/a2fa1c28/attachment.txt
More information about the Digitalmars-d-announce
mailing list