unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Holger Sparr <sparr+usenet@mfk.tu-dresden.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Config highligt in EMACS
Date: Thu, 03 May 2007 14:48:07 +0200	[thread overview]
Message-ID: <ln3b2edqew.fsf@mfk.tu-dresden.de> (raw)
In-Reply-To: 1178194167.665044.231530@n76g2000hsh.googlegroups.com

anders wrote:

> I have added the follow in my .emacs files
> but EMACS don't turn do anyting visually.
>
> (setq global-font-lock-mode t)
>
> if i use M-x global-font-lock-mode
> it say's turning of so Emacs thinks it is on,
>

With `setq' you are setting the variable.

,----[ C-h v global-font-lock-mode RET ]
| global-font-lock-mode is a variable defined in `font-core.el'.
| Its value is t
| 
| 
| Documentation:
| Non-nil if Global-Font-Lock mode is enabled.
| See the command `global-font-lock-mode' for a description of this minor-mode.
| Setting this variable directly does not take effect;
| either customize it (see the info node `Easy Customization')
| or call the function `global-font-lock-mode'.
| 
| You can customize this variable.
| 
| [back]
`----

With M-x global-font-lock-mode you are calling the function instead.

,----[ C-h f global-font-lock-mode RET ]
| global-font-lock-mode is an interactive compiled Lisp function in `font-core.el'.
| (global-font-lock-mode &optional arg dummy)
| 
| Toggle Font-Lock mode in every buffer.
| With prefix arg, turn Global-Font-Lock mode on if and only if arg is positive.
| Font-Lock mode is actually not turned on in every buffer but only in those
| in which `turn-on-font-lock-if-enabled' turns it on.
| 
| [back]
`----


-- 

  reply	other threads:[~2007-05-03 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 12:09 Config highligt in EMACS anders
2007-05-03 12:48 ` Holger Sparr [this message]
2007-05-03 13:00   ` anders

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=ln3b2edqew.fsf@mfk.tu-dresden.de \
    --to=sparr+usenet@mfk.tu-dresden.de \
    --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).