From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.devel Subject: Re: set-text-properties and jit-lock-mode Date: Mon, 22 Feb 2016 10:02:30 +0100 Message-ID: References: <83d1rpn6vs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1456131806 6392 80.91.229.3 (22 Feb 2016 09:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 09:03:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 10:03:17 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aXmOb-0001IQ-4i for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 10:03:09 +0100 Original-Received: from localhost ([::1]:47848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmOX-0008Fw-C7 for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 04:03:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmOT-0008Fj-7X for emacs-devel@gnu.org; Mon, 22 Feb 2016 04:03:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXmOQ-00033D-1j for emacs-devel@gnu.org; Mon, 22 Feb 2016 04:03:01 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmOP-000337-R3 for emacs-devel@gnu.org; Mon, 22 Feb 2016 04:02:57 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXmO9-0000tj-Lb for emacs-devel@gnu.org; Mon, 22 Feb 2016 10:02:41 +0100 Original-Received: from charm-ecran.irisa.fr ([131.254.101.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2016 10:02:41 +0100 Original-Received: from alan.schmitt by charm-ecran.irisa.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2016 10:02:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: charm-ecran.irisa.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:FqFRQekbEfJe2K6Kukp7bqKfRbc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200445 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-02-22 09:51, Anders Lindgren writes: > Is there a way to change the face that plays well with font-lock? I > tried `font-lock-append-text-property' but it did not work. > > You can set the text property `font-lock-face' instead of `face'. When > `font-lock' is activated, it sets up this as a low-level alias to `face' = but > after that doesn't touch it. Effectively, it allows face properties defin= ed by > normal code and by font-lock to live side by side in the same buffer. It works great, thanks a lot. I think I now see how to get around the ledger-mode bug. Thanks again, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82 (2016-01, Mauna Loa Obs.): 402.52 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWys6mAAoJEAQNCjtO0uXHNXUH/0xEMbeRbBCUm2LOcRYN3BDH k+8lQ6osB0pi0/Tp8RnFFae4CyQAAiz5scERvgkMJY8A3fEYreu0NG8mIrmSvvKV pglyFoj0hqqdcvHs+NjdIHLpZjTR8QIJi9++hPJCIr+XEmfiNEGDj/v5O1ZPAo2A N/ucVDKaPdPxalvBpOJVM6sd51JkUG2bQWBE9EsOu9NBUrC1FzyW/5DE4uWwgjbz fGdQlU6KGTwOvzR4QbXkJQNDgD0IqrXF1+OpRK9Lf3qMouNOccx2KkZgAc4qPKsx LFJm2lUb7HxDtlHvZUyOsmXbCbji7X3Ev0RmzW6D6jjMuFNrYJ7vIp8OHgED3gc= =biIf -----END PGP SIGNATURE----- --=-=-=--