On Sun, Oct 9, 2011 at 12:42 PM, Jai Dayal
<dayalsoap@gmail.com> wrote:
In some older versions, I've noticed font-lock-mode is not enabled. I frequently ssh into a server and it's emacs 21.xOn Sat, Oct 8, 2011 at 10:18 PM, Rustom Mody
<rustompmody@gmail.com> wrote:
On Sun, Oct 9, 2011 at 7:23 AM, Jai Dayal
<dayalsoap@gmail.com> wrote:
enable font-lock-mode
either
M-x font-lock-mode
or in your new .emacs file
(global-font-lock-mode 1)
That works.
On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan
<gshy2014@gmail.com> wrote:
Hi, I lost the font color in c++-mode after I deleted the .emacs file mistakenly. What do I need in my .emacs in order to display different colors in c++-mode? Thanks.
Shiyuan
font-lock should be on by default no? (At least in recent emacses)
So... Whats your emacs-version? ie M-x emacs-version
And what is the behavior when you start it with emacs -Q foo.cpp?
Mine is 21.4.1 which comes with linux redhat.