emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't turn off font-lock


From: Karl Berry
Subject: Re: can't turn off font-lock
Date: Sun, 12 Aug 2007 17:54:01 -0500

    You may be better off changing to not use font-lock, and then provide
    a patch for it: I'd consider it as a bug-fix.

Well, these functions never relied on font-lock before 22.1, so I hope
there was some excellent reason for going to all the trouble of
implementing it that way.  Now going to even more trouble to unimplement
it seems painful, although I don't expect we can just revert, either.
Sigh.

    most faces to look like `default' because I find them annoying/useless

Maybe the defaults should be less fancy.  But that's a different discussion.

    (e.g. font-lock-keyword-face).

I have a lot of trouble figuring out the face names to disable; it takes
me major research to get from output in some non-default face in some
buffer back to the actual face-symbol to disable.  (This is why I was
devoutly hoping that "(global-font-lock-mode 0)" would just work.)

Eli's mention of "C-u C-x =" is very helpful, I had missed that in the
manual.  When I run it in the filenames in the grep output (after -nw
this time), I see the face listed as "(compilation-info underline
underline)".  And unfortunately, I have no idea how to translate that
into a face name to disable without delving into the sources, which is
what I was doing anyway.  Oh well.  Is there a better way?

Meanwhile, I have also never been able to figure out how to disable an
individual face (and could find no documentation about it, either).  I
gather I'm supposed to set whatever-face-symbol to 'default or "default"
or something?  Can you show me how you do it, please?

(For example, it occurred to me that another way to achieve my faceless
desires would be to somehow define "bold", "italic", and so on to all
map to "default".  No luck with anything I tried in that direction,
either.)

Thanks,
Karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]