From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18367: 24.4.50; [PATCH] Text property `font-lock-ignore', to protect from font-lock Date: Mon, 01 Sep 2014 22:08:03 +0300 Message-ID: <83sikbf9bg.fsf@gnu.org> References: <86f1a219-9ab5-439f-85ca-936b942cb034@default> <85mwajb2mx.fsf@iznogoud.viz> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1409598567 22058 80.91.229.3 (1 Sep 2014 19:09:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2014 19:09:27 +0000 (UTC) Cc: 18367@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 21:09:19 2014 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 1XOWyb-0000a3-O9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 21:09:17 +0200 Original-Received: from localhost ([::1]:33595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOWya-0000O5-Sz for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 15:09:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOWyS-0000Nj-Vy for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:09:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOWyM-0006kx-F9 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOWyM-0006km-DF for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XOWyL-00035w-O1 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Sep 2014 19:09:01 +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: Original-Received: via spool by 18367-submit@debbugs.gnu.org id=B18367.140959848711824 (code B ref 18367); Mon, 01 Sep 2014 19:09:01 +0000 Original-Received: (at 18367) by debbugs.gnu.org; 1 Sep 2014 19:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:55883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOWxS-00034e-EB for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:08:06 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOWxO-000344-8h for 18367@debbugs.gnu.org; Mon, 01 Sep 2014 15:08:04 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NB800E00KTV3F00@a-mtaout20.012.net.il> for 18367@debbugs.gnu.org; Mon, 01 Sep 2014 22:07:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NB800DQ6L57LL90@a-mtaout20.012.net.il>; Mon, 01 Sep 2014 22:07:55 +0300 (IDT) In-reply-to: <85mwajb2mx.fsf@iznogoud.viz> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92933 Archived-At: > From: Wolfgang Jenkner > Date: Mon, 01 Sep 2014 20:45:58 +0200 > Cc: 18367@debbugs.gnu.org > > On Sun, Aug 31 2014, Drew Adams wrote: > > > (elisp) `Other Font Lock Variables' says this about it: > > > > Variable: font-lock-extra-managed-props > > This variable specifies additional properties (other than > > `font-lock-face') that are being managed by Font Lock mode. It is > > used by `font-lock-default-unfontify-region', which normally only > > manages the `font-lock-face' property. If you want Font Lock to > > manage other properties as well, you must specify them in a > > FACESPEC in `font-lock-keywords' as well as add them to this list. > > *Note Search-based Fontification::. > > I think `font-lock-face' is a typo here (it should read `face'). > > It is clear from looking a the code (or doing some experiments) that > font-lock-default-unfontify-region doesn't remove the `font-lock-face' > property. The "it" in that text alludes to font-lock-extra-managed-props, not to font-lock-face. After all, the former is what is being documented in the text you cited; the latter is just mentioned because font-lock-face is another kind of specification of "additional" properties of interest to Font Lock.