From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilii Kolobkov Newsgroups: gmane.emacs.help Subject: Mostly curtail font-lock-mode Date: Thu, 25 Feb 2021 16:50:45 +0200 Message-ID: <874ki0cibe.fsf@orangeshoelaces.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1469"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 25 15:52:43 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFI0R-0000Ib-Ff for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 15:52:43 +0100 Original-Received: from localhost ([::1]:45156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFI0Q-0003MS-En for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 09:52:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFHyf-0002Lh-Pa for help-gnu-emacs@gnu.org; Thu, 25 Feb 2021 09:50:54 -0500 Original-Received: from orangeshoelaces.net ([71.19.146.160]:22934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFHye-0004hN-01 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2021 09:50:53 -0500 Original-Received: from orangeshoelaces.net (localhost [127.0.0.1]) by orangeshoelaces.net (OpenSMTPD) with ESMTP id bd571f34 for ; Thu, 25 Feb 2021 06:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=orangeshoelaces.net; h= from:to:subject:date:message-id:mime-version:content-type; s= mail; bh=mF9bAI9uqlNREOFnnLSNpyHnQ5w=; b=6kN8Y2g2fK1ll85AfqnBvrQ DfMTUkhi9Ryj5fubAyDUzAw8su3WdwXVXo047YBk7c3kkdoRtWprfKXH61KLzmEf 495CC49oPBnU5cGqtD/pZDHE8vdqqnV85U5e6pI0VnOiEpstiROtca1+vS/W8cfC 1oi2UMl4AJv54e9G+yL0= Original-Received: by orangeshoelaces.net (OpenSMTPD) with ESMTPSA id eca5c1fa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 25 Feb 2021 06:50:59 -0800 (PST) Original-Received: by squalideel (Exim) for help-gnu-emacs@gnu.org; Thu, 25 Feb 2021 16:50:45 +0200 Received-SPF: pass client-ip=71.19.146.160; envelope-from=vasilii@orangeshoelaces.net; helo=orangeshoelaces.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128251 Archived-At: 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!