unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* syntax coloring os not working!!!!!
@ 2003-01-02  7:33 unni krishnan
  0 siblings, 0 replies; 3+ messages in thread
From: unni krishnan @ 2003-01-02  7:33 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]


>
> hello,
>
> i am a new user (student) of emacs.how can i
> do syntax coloring in emacs?
>
>It's simply, just type:

>M-x global-font-lock-mode

>If you don't have the Meta key (alt should be equal to Meta), you can 
>type ESC-x global-font-lock-mode

>To make permanent this configuration, you must edit the .emacs file and 
>insert the following line

>(global-font-lock-mode 1)




 

hi,

syntax coloring is not working.

thanks for response. i am using a linux 7.2

i have typed the command

 M-x global-font-lock-mode

but the result is

"global font lock mode disabled"

Catch all the cricket action. Download Yahoo! Score tracker

[-- Attachment #1.2: Type: text/html, Size: 956 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: syntax coloring os not working!!!!!
       [not found] <mailman.6.1041492833.28484.help-gnu-emacs@gnu.org>
@ 2003-01-02  8:08 ` Bijan Soleymani
  2003-01-02 11:18 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Bijan Soleymani @ 2003-01-02  8:08 UTC (permalink / raw)


unni krishnan <gnu_talk@yahoo.co.in> writes:

> >
> > hello,
> >
> > i am a new user (student) of emacs.how can i
> > do syntax coloring in emacs?
> >
> >It's simply, just type:
> >M-x global-font-lock-mode
> >If you don't have the Meta key (alt should be equal to Meta), you can
> >type ESC-x global-font-lock-mode
> >To make permanent this configuration, you must edit the .emacs file and
> >insert the following line
> >(global-font-lock-mode 1)
> 
>  
> 
> hi,
> 
> syntax coloring is not working.
What version of emacs are you using?
Are you using it in X or the console (emacs only supports colors on
text only terminals since version 21)? 

> thanks for response. i am using a linux 7.2
There is no such thing. Linux is the kernel, the current bleeding edge
is around 2.5.36. You must be using a distribution of Linux and some
other free software, possibly Red Hat, Mandrake or Slackware.
 
> i have typed the command
> 
>  M-x global-font-lock-mode
> 
> but the result is
> 
> "global font lock mode disabled"
That would indicate that it was already enabled, and that you disabled
it. What happens if you run M-x global-font-lock-mode again?

What are you using highlighting for? If you open a text file (.txt)
there (obviously) won't be any highlighting by default. What happens
if you open a C source file (.c)?

Finally emacs comes with excellent online documentation. Please take
the time to familiarize yourself with it.

Choose read the emacs manual from the help submenu.

C-h i
will get you into info which should have documentation for many of the
programs on your computer. Move the cursor down to emacs and then
press enter.
Only a few commands are enough to use info:
'Enter' follows a link'
'u' moves up to a higher level. 
'l' goes back to the last place you were at.

That should be enough to get started.

Bijan

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

* Re: syntax coloring os not working!!!!!
       [not found] <mailman.6.1041492833.28484.help-gnu-emacs@gnu.org>
  2003-01-02  8:08 ` syntax coloring os not working!!!!! Bijan Soleymani
@ 2003-01-02 11:18 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-01-02 11:18 UTC (permalink / raw)


unni krishnan <gnu_talk@yahoo.co.in> writes:

> syntax coloring is not working.
> thanks for response. i am using a linux 7.2
>
> i have typed the command
>
>  M-x global-font-lock-mode
>
> but the result is
>
> "global font lock mode disabled"

This means that global font lock mode was enabled before you used the
command.  The command toggles the mode.
-- 
Ambibibentists unite!

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

end of thread, other threads:[~2003-01-02 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.6.1041492833.28484.help-gnu-emacs@gnu.org>
2003-01-02  8:08 ` syntax coloring os not working!!!!! Bijan Soleymani
2003-01-02 11:18 ` Kai Großjohann
2003-01-02  7:33 unni krishnan

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