www.delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.lang.ada:17924 comp.os.msdos.djgpp:1833 |
From: | Mike Young <mikey AT mcs DOT com> |
Newsgroups: | comp.os.msdos.djgpp,comp.lang.ada |
Subject: | Re: Colors in c/c++/Ada mode emacs |
Date: | Mon, 11 Mar 1996 01:39:29 -0600 |
Organization: | Fen Software, Inc. |
Lines: | 25 |
Message-ID: | <3143D8B1.76E6@mcs.com> |
References: | <Pine DOT A32 DOT 3 DOT 91 DOT 960310154411 DOT 56474A-100000 AT srv1 DOT freenet DOT calgary DOT ab DOT ca> |
NNTP-Posting-Host: | mikey.pr.mcs.net |
Mime-Version: | 1.0 |
To: | "Michael E. Wesolowski" <mewesolo AT freenet DOT calgary DOT ab DOT ca> |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Michael E. Wesolowski wrote: > > I believe I've seen it mentioned here that the emacs language modes can > provide some colors to highlight various structures. Am I misremembering > this? I have the DOS version of emacs 19.30 and no colors appear - is > there something I have to do to turn this on, or is it supposed to appear > on its own (implying that my distribution is deficient)? I quick scan > (too quick?) of the FAQ didn't seem to contain any pointers. > > Thanks. > ====== You might try the emacs news group for more help. Ada-mode works for my NTEmacs 19.30, although it has the endearing habit of crashing in Win95 at periodic intervals. Try M-x font-lock-mode to turn on syntax highlighting, and M-x auto-fill-mode to enable word wrapping for comments. The following lines in my .emacs file does this for all Ada files: (add-hook 'ada-mode-hook '(lambda () (font-lock-mode 1))) (add-hook 'ada-mode-hook '(lambda () (auto-fill-mode 1))) Mike.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |