all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.