On Thu, Dec 19, 2002 at 03:18:43AM +0530, Sthitaprajna wrote:
> On 12/19/02 at 01:30 AM [EMAIL PROTECTED] spake thusly:
> 
> >Today I was trying to use Emacs for the first time. I was writing a C
> >program. From my Vim experience, I thought the code will be color
> >highlighted automatically. But that was not to be. Searching through the
> >docs I found that I need to put the following line in my .emacs file:
> >-------------------
> >(global-font-lock-mode t)
> >(setq font-lock-maximum-decoration t)
> >-------------------
> 
> In my ~/.emacs, I have the following:
> (eval-after-load "font-lock" `(load "font-colours"))
> 
> (add-hook `dired-mode-hook
>         (function (lambda ()
>                     (font-lock-mode t)
>                     (setq font-lock-keywords dired-font-lock-keywords))))
> 
> My font-colours.el is appended:
> ................
> .................

Thanks for the .emacs file. I used your file and put the font-colours.el
to a suitable place. But still syntax highlighting isn't working in the 
console mode.(Sorry I forgot to mention that syntax highlighting works
when I start emacs under X, but not under console or using -nw switch).

Anything special I must do get this working under console ?

Regards,
Santanu


-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to