unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to get syntax highlighted in emacs-nox
@ 2008-02-20 11:02 Limin Fu
  2008-02-21  9:53 ` Michael Hoffman
       [not found] ` <mailman.7733.1203587656.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Limin Fu @ 2008-02-20 11:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am trying to use emacs-nox, but I find that the C source codes I am
editing do not get highlighted. Can someone tell me how to get syntax
highlighting working in emacs-nox? Thanks a lot.

Limin


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

* Re: how to get syntax highlighted in emacs-nox
  2008-02-20 11:02 how to get syntax highlighted in emacs-nox Limin Fu
@ 2008-02-21  9:53 ` Michael Hoffman
       [not found] ` <mailman.7733.1203587656.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Hoffman @ 2008-02-21  9:53 UTC (permalink / raw)
  To: help-gnu-emacs

Limin Fu wrote:

> I am trying to use emacs-nox, but I find that the C source codes I am
> editing do not get highlighted. Can someone tell me how to get syntax
> highlighting working in emacs-nox? Thanks a lot.

Try adding this to your ~/.emacs:

(when (fboundp 'global-font-lock-mode)
   (global-font-lock-mode t))





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

* Re: how to get syntax highlighted in emacs-nox
       [not found] ` <mailman.7733.1203587656.18990.help-gnu-emacs@gnu.org>
@ 2008-02-27 10:15   ` Limin Fu
  0 siblings, 0 replies; 3+ messages in thread
From: Limin Fu @ 2008-02-27 10:15 UTC (permalink / raw)
  To: help-gnu-emacs

Thank you very much!
It works well.

On 2月21日, 上午10时53分, Michael Hoffman <b3i4ol...@sneakemail.com> wrote:
> Limin Fu wrote:
> > I am trying to use emacs-nox, but I find that the C source codes I am
> > editing do not get highlighted. Can someone tell me how to get syntax
> > highlighting working in emacs-nox? Thanks a lot.
>
> Try adding this to your ~/.emacs:
>
> (when (fboundp 'global-font-lock-mode)
>    (global-font-lock-mode t))



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

end of thread, other threads:[~2008-02-27 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 11:02 how to get syntax highlighted in emacs-nox Limin Fu
2008-02-21  9:53 ` Michael Hoffman
     [not found] ` <mailman.7733.1203587656.18990.help-gnu-emacs@gnu.org>
2008-02-27 10:15   ` Limin Fu

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