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.
next reply other threads:[~2007-08-11 21:24 UTC|newest]
Thread overview: 10+ 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
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=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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).