all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: karl@freefriends.org (Karl Berry)
To: bug-emacs@gnu.org
Subject: can't turn off font-lock
Date: Sat, 11 Aug 2007 16:24:42 -0500	[thread overview]
Message-ID: <200708112124.l7BLOgG19369@f7.net> (raw)

The Emacs 22.1 manual, Font Lock node, says:

       If you do not wish Font Lock mode to be turned on by default,
    customize the variable `global-font-lock-mode' using the Customize
    interface (*note Easy Customization::), or use the function
    `global-font-lock-mode' in your `.emacs' file, like this:

         (global-font-lock-mode 0)

Ok, so I start Emacs like this:
emacs-22.1 -q --no-site

And invoke:
M-x eval-expression RET (global-font-lock-mode 0) RET

And now I try a few commands:
C-h a font-lock RET             (a *Help* buffer)
M-x grep RET e /etc/issue RET   (grep to get a couple matches)
M-x shell RET pwd RET

In all cases, I observe that fontification is happening.  Argh!
E.g., the "pwd" is highlighted, the grep matches and filenames are
highlighted, the *Help* buffer is fancily formatted.

I also tried (setq font-lock-maximum-size 0).  Also no visible
de-fontifying.

I also tried with -nw, for Emacs in an xterm.  Same fontified results,
now in the usual xterm-ish ways (underlines and emboldening).

It seems either the manual or the behavior should be fixed.

(Also, if anyone has any details about how I can really turn font-lock
off, that would be great.)

Thanks,
Karl

P.S. I also tried customize-group on font-lock-faces, as suggested a
little further in the node, and the interface completely defeated me.  I
could not tell how to turn anything off completely, only how to select
various attributes.

             reply	other threads:[~2007-08-11 21:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11 21:24 Karl Berry [this message]
2007-08-12  3:22 ` can't turn off font-lock Eli Zaretskii
2007-08-12 17:56   ` Richard Stallman
2007-08-12 22:54   ` Karl Berry
2007-08-12 23:41   ` Michaël Cadilhac
2007-08-13  2:39     ` Eli Zaretskii
2007-08-13  0:10   ` Michaël Cadilhac
2007-08-13  0:23     ` Karl Berry
2007-08-13  5:01     ` Richard Stallman
2007-08-13 23:31     ` Karl Berry
2007-08-12 17:56 ` Richard Stallman
2007-08-12 19:53   ` Stefan Monnier
2007-08-12 21:48     ` Karl Berry
2007-08-12 22:11       ` Stefan Monnier
2007-08-12 22:54         ` Karl Berry
2007-08-12 23:15           ` Andreas Schwab
2007-08-13  2:38             ` Eli Zaretskii
2007-08-12 23:24           ` Juri Linkov
2007-08-13 22:14             ` Karl Berry
2007-08-13 23:27               ` Juri Linkov
2007-08-13  2:37           ` Eli Zaretskii
2007-08-13  5:00           ` Richard Stallman
2007-08-13 19:56           ` Eli Zaretskii
2007-08-12 22:44       ` Alfred M. Szmidt
2007-08-13  5:01     ` Richard Stallman
2007-08-12 21:48   ` Karl Berry
2007-08-13  5:00     ` Richard Stallman
2007-08-12 22:54   ` Karl Berry
2007-08-13  2:31     ` Eli Zaretskii
2007-08-13  5:00     ` Richard Stallman
2007-08-13 23:31       ` Karl Berry
2007-08-14  3:26         ` Eli Zaretskii
2007-08-14 16:06         ` Richard Stallman
2007-08-13 23:31       ` Karl Berry
2007-08-13 23:51         ` Stefan Monnier
2007-08-14 16:06           ` Richard Stallman
2007-08-14 16:06         ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=200708112124.l7BLOgG19369@f7.net \
    --to=karl@freefriends.org \
    --cc=bug-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.
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.