unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs syntax hightlighting for C++ source codes!
@ 2007-08-13 12:54 Guofu Chen
  2007-08-13 14:18 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Guofu Chen @ 2007-08-13 12:54 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am now using PuTTY in Windows XP to access a Unix machine. I can open the 
C++-mode for
C++ source files, but I can not see the syntax hightlights for the C++ 
source codes.

Any ideas? Thanks! 

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

* Re: Emacs syntax hightlighting for C++ source codes!
  2007-08-13 12:54 Emacs syntax hightlighting for C++ source codes! Guofu Chen
@ 2007-08-13 14:18 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2007-08-13 14:18 UTC (permalink / raw)
  To: help-gnu-emacs

"Guofu Chen" <gchen@mathworks.com> writes:

Hi,

> I am now using PuTTY in Windows XP to access a Unix machine. I can
> open the C++-mode for C++ source files, but I can not see the syntax
> hightlights for the C++ source codes.
>
> Any ideas?

Does PuTTY support colors?

Which version of emacs runs on the remote machine?  If it's older than
22 `M-x global-font-lock-mode' might be required.  If that works, simply
put

  (global-font-lock-mode 1)

into your ~/.emacs on the remote machine.

Bye,
Tassilo
-- 
Windows: So easy to admin, even a worm can do it.

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

end of thread, other threads:[~2007-08-13 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 12:54 Emacs syntax hightlighting for C++ source codes! Guofu Chen
2007-08-13 14:18 ` Tassilo Horn

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).