unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Vasilii Kolobkov <vasilii@orangeshoelaces.net>
To: help-gnu-emacs@gnu.org
Subject: Mostly curtail font-lock-mode
Date: Thu, 25 Feb 2021 16:50:45 +0200	[thread overview]
Message-ID: <874ki0cibe.fsf@orangeshoelaces.net> (raw)

I had font-lock-mode disabled for most of the major modes (sans
whitelist in font-lock-global-modes), but ran into a problem.

rcirc-track-minor-mode highlights some notification in its mode line
display by setting a `font-lock-face' text property.  And it seem to
have no effect if the font-lock mode is disabled.

Now i wonder what would be the most effective way to disable most of the
work font-lock would do (e.g. figuring out the syntax structures), but
still have it nominally enabled so that i could make use of it in the
mode line?  Any hints on general direction to do it would be very much
appreciated!



             reply	other threads:[~2021-02-25 14:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 14:50 Vasilii Kolobkov [this message]
2021-02-25 16:03 ` Mostly curtail font-lock-mode Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-25 20:07   ` Vasilii Kolobkov
2021-02-25 20:35     ` rcirc vs ERC (was: Mostly curtail font-lock-mode) Tassilo Horn
2021-02-25 22:36       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-26 22:44         ` Tassilo Horn
2021-02-27  3:36           ` Eduardo Ochs
2021-03-02  3:28           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02 10:22             ` Tassilo Horn
2021-03-02 12:15               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02  3:33           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02 10:26             ` Tassilo Horn
2021-03-02 12:14               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-25 22:24     ` Mostly curtail font-lock-mode Emanuel Berg via Users list for the GNU Emacs text editor

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=874ki0cibe.fsf@orangeshoelaces.net \
    --to=vasilii@orangeshoelaces.net \
    --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).