[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: any emacs gurus out there?



On Behalf Of Gordon Messmer wrote: 

> Larry Brown wrote:

> > I am running RH8 and have it running on 3 machines.  The
> > other two machines load a .php file and coloring the
> > syntax for php-mode to bring out functions etc.
> > However, the 3rd machine is not coloring any functions
> > etc. but it is reflecting that it is in php-mode in the
> > mode line.  

> Emacs doesn't color highlight by default.  Copy the ~/.emacs* files from
> the machines that work as you like to the machine that does not.

Right. Emacs calls syntax high-lighting "font-lock-mode"

You can try entering this command manually: 

  ESC x font-lock-mode

Putting something like this in your .emacs should make
syntax coloring the default:

  (global-font-lock-mode 1)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]