From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18367: 24.4.50; [PATCH] Text property `font-lock-ignore', to protect from font-lock Date: Sat, 30 Apr 2016 08:32:43 -0800 (GMT-08:00) Message-ID: References: <86f1a219-9ab5-439f-85ca-936b942cb034@default> <87iok5t5ud.fsf@web.de> <87zisbqkh7.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462034026 8594 80.91.229.3 (30 Apr 2016 16:33:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 16:33:46 +0000 (UTC) Cc: michael_heerdegen@web.de, 18367@debbugs.gnu.org, Stefan Monnier To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 18:33:33 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awXpi-0003HU-FS for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 18:33:30 +0200 Original-Received: from localhost ([::1]:58978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXpe-0000jZ-Pz for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 12:33:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXpV-0000WE-Hr for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:33:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awXpJ-0000rj-Ra for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:33:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXpJ-0000pz-P2 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:33:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awXpG-0005UH-Da for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2016 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18367 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 18367-submit@debbugs.gnu.org id=B18367.146203397621080 (code B ref 18367); Sat, 30 Apr 2016 16:33:02 +0000 Original-Received: (at 18367) by debbugs.gnu.org; 30 Apr 2016 16:32:56 +0000 Original-Received: from localhost ([127.0.0.1]:58120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXpA-0005Tw-Ir for submit@debbugs.gnu.org; Sat, 30 Apr 2016 12:32:56 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:34275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXp9-0005Th-0w for 18367@debbugs.gnu.org; Sat, 30 Apr 2016 12:32:55 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3UGWmLm001405 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 16:32:48 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3UGWlPI027447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 16:32:47 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u3UGWi9C024963; Sat, 30 Apr 2016 16:32:45 GMT In-Reply-To: <87zisbqkh7.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117380 Archived-At: > > It should not be "an error" to use `face' in a font-locked buffer. >=20 > I think that ship has sailed a long time ago. Closing. It has not sailed. The patch does not take anything away from the use of `font-lock-face' or `font-lock-extra-managed-props'. It just adds additional control, and it does so simply. As stated earlier: It seems that people are mistaking adding a property to `font-lock-extra-managed-props', or using `font-lock-face' instead of `face', as a solution to the problem that the proposed patch fixes. They do not solve the same problem. This problem and solution are independent of the problem and solution behind the existence of `font-lock-face' and `font-lock-extra-managed-props'. What I am talking about is the opposite [of using `font-lock-face' or `font-lock-extra-managed-props']: Not giving font-lock control over additional, ad hoc highlighting, but taking font-lock control away, for given ad hoc highlighting. I don't want turning font-lock on or off to affect the given highlighting at all. That's the point. It's not that I'm looking for a way to let font-lock control some non-`font-lock-keywords' highlighting. That we can do already, using property `font-lock-face' [or by adding a given property to `font-lock-extra-managed-props'].