unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: No highlighting in the .emacs file
       [not found] <fpovt2$572$1@news.net.uni-c.dk>
@ 2008-02-23 23:12 ` B. T. Raven
  2008-03-03 21:55 ` Stefan Monnier
  1 sibling, 0 replies; 2+ messages in thread
From: B. T. Raven @ 2008-02-23 23:12 UTC (permalink / raw)
  To: help-gnu-emacs

saneman wrote:
> I have just installed emacs through synaptic on Kubuntu 7.10. When I 
> open and edit my .emacs fil there are no colors or highlighting. When I 
> last used emacs both my .emacs file and my C files (.c) was 
> automatically highlighted. Is there some module I need to install?


Go to menu: options: Customize Emacs: Specific Options: Font Lock Global 
Modes

and then set Value to all.

and/or :Global Font Lock Mode

and then set Value to on

This should have been the default setting. Maybe something in your 
.emacs has turned it off.

Ed




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: No highlighting in the .emacs file
       [not found] <fpovt2$572$1@news.net.uni-c.dk>
  2008-02-23 23:12 ` No highlighting in the .emacs file B. T. Raven
@ 2008-03-03 21:55 ` Stefan Monnier
  1 sibling, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-03-03 21:55 UTC (permalink / raw)
  To: help-gnu-emacs

> I have just installed emacs through synaptic on Kubuntu 7.10. When I open
> and edit my .emacs fil there are no colors or highlighting. When I last used
> emacs both my .emacs file and my C files (.c) was automatically
> highlighted. Is there some module I need to install?

In Emacs-21, highlighting (called "font-lock") was not enabled
by default.  Since Emacs-22.1, it is.

So either you're using Emacs-21, or you have something like

  (global-font-lock-mode)

in your .emacs which ends up turning off the highlighting.


        Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-03 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fpovt2$572$1@news.net.uni-c.dk>
2008-02-23 23:12 ` No highlighting in the .emacs file B. T. Raven
2008-03-03 21:55 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).