From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hugo Thunnissen Newsgroups: gmane.emacs.devel Subject: Re: Fontification using a syntax tree Date: Sat, 18 Sep 2021 16:34:04 +0000 Message-ID: <87lf3talmr.fsf@hugot.nl> References: <87bl4pc2tq.fsf@hugot.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 18 18:37:29 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mRdLE-000A8F-MG for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Sep 2021 18:37:29 +0200 Original-Received: from localhost ([::1]:50798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRdLC-0002dt-SD for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Sep 2021 12:37:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdIG-0001Nx-4l for emacs-devel@gnu.org; Sat, 18 Sep 2021 12:34:26 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:32992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRdIB-00057H-0Q for emacs-devel@gnu.org; Sat, 18 Sep 2021 12:34:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugot.nl; s=selector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=99YDq0O96xDUtzaCz/yX9dn+2yjXWEurGD50Qie+5WY=; b=gnjDNTeV5hfSB0PXtL8AduEYis NvvLkRfYfeglJxIA8GeBrj9ZEDUbrKg3DHYu831/ACs36d60ViV8nzNHQ4HYTw4/M/Wf+gWOjqK1H mHQfUYvmow3QQGisygaAtBaHGfivBd82iHkzzWC0kxUzpLRCyRw/pGZmtUavh0IQwfjLrMc39fTMm DY0xXjALGsqNx1gvqh8nNw/Li+w+JiXrImKpYGe+BDMi/lGMPZjrlheg+FLu0buhARn7s5SEbGQ/B T+7aT1GxAfYyElSOqncVKat4bCeU33LQ35fiSLkp6nV4JAZpUlm7naQdJoTiBarvCitxzknbv+nU1 wWKLaB6g==; Original-Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1mRdI2-0004vJ-NE; Sat, 18 Sep 2021 18:34:10 +0200 Original-Received: by submission03.runbox with esmtpsa [Authenticated ID (1060096)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1mRdHx-0006Fs-K6; Sat, 18 Sep 2021 18:34:05 +0200 Mail-Followup-To: Yuan Fu , emacs-devel@gnu.org In-Reply-To: (Yuan Fu's message of "Sat, 18 Sep 2021 08:48:02 -0700") Received-SPF: pass client-ip=91.220.196.211; envelope-from=devel@hugot.nl; helo=aibo.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275010 Archived-At: Yuan Fu writes: > You can bind font-lock-fontify-region-function and friends to your custom functions. > > Yuan Ah, I see. I didn't realise that this would override syntax-table related behavior in all scenarios. Thanks!