unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs syntax hightlighting for C++ source codes!
Date: Mon, 13 Aug 2007 16:18:17 +0200	[thread overview]
Message-ID: <87r6m7msba.fsf@baldur.tsdh.de> (raw)
In-Reply-To: f9pkai$dof$1@fred.mathworks.com

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

      reply	other threads:[~2007-08-13 14:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13 12:54 Emacs syntax hightlighting for C++ source codes! Guofu Chen
2007-08-13 14:18 ` Tassilo Horn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6m7msba.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).