From: David Kastrup <dak@gnu.org>
Cc: jan.h.d@swipnet.se, Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: Grep and font-lock
Date: 23 Apr 2004 19:41:48 +0200 [thread overview]
Message-ID: <x5vfjqy4kj.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1BH4N0-0006v3-8P@fencepost.gnu.org>
Richard Stallman <rms@gnu.org> writes:
> That's actually what I suggested: font-lock does not only set
> faces. compile.el uses it to set faces (which have no other
> purpose than aesthetic) and to set crucial meta info. So you
> can't just plain turn off font-lock because it would break grep,
> but we could add some option to font-lock so you can have it ON
> without any of the visual effects.
>
> When a mode uses the font-lock mechanism to put on other properties,
> turning font-lock mode on and off should have no effect on that.
> Turning font-lock mode on and off should only affect the faces.
>
> If this is not how it works now, let's change it.
Definitely. Since compile has changed, I get occasional colors
appearing here and there randomly. I find that annoying. I want my
font lock to stay turned off.
That being said, I think we should change the default of font-lock to
"on": new users consider it a great and helpful feature and are used
to getting it from their editors and on relying on this sort of syntax
analysis.
This will not change that I will keep font lock turned off on my
Emacs, but it is easier for me to turn it off than for a new user to
turn it on.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2004-04-23 17:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-21 9:12 Grep and font-lock Jan D.
2004-04-21 9:33 ` Jan D.
2004-04-21 16:04 ` Stefan Monnier
2004-04-21 19:27 ` Jan D.
2004-04-21 19:36 ` Stefan Monnier
2004-04-21 22:26 ` Jan D.
2004-04-21 22:41 ` Miles Bader
2004-04-21 22:51 ` Stefan Monnier
2004-04-23 17:21 ` Richard Stallman
2004-04-23 17:41 ` David Kastrup [this message]
2004-04-25 18:08 ` Richard Stallman
2004-04-25 18:32 ` Simon Josefsson
2004-04-25 19:18 ` David Kastrup
2004-04-26 10:07 ` Kim F. Storm
2004-04-27 14:24 ` Stefan Monnier
2004-04-26 16:10 ` Drew Adams
2004-04-23 17:21 ` 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
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=x5vfjqy4kj.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=monnier@iro.umontreal.ca \
/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).