From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58755: 29.0.50; Font locking not enabling for ts-mode Date: Mon, 24 Oct 2022 09:29:28 +0200 Message-ID: <877d0p65nr.fsf@thornhill.no> References: <87czah3eni.fsf@thornhill.no> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26059"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58755@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 24 12:17:38 2022 Return-path: Envelope-to: geb-bug-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 1omuWX-0006Wc-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Oct 2022 12:17:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omruZ-0007Q5-Oq; Mon, 24 Oct 2022 03:30:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omruR-0007Oc-2H for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 03:30:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omruM-0003Y1-Ow for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 03:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omruM-0005F6-KF for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 03:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Oct 2022 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58755 X-GNU-PR-Package: emacs Original-Received: via spool by 58755-submit@debbugs.gnu.org id=B58755.166659657520086 (code B ref 58755); Mon, 24 Oct 2022 07:30:02 +0000 Original-Received: (at 58755) by debbugs.gnu.org; 24 Oct 2022 07:29:35 +0000 Original-Received: from localhost ([127.0.0.1]:46917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omrtu-0005Du-OZ for submit@debbugs.gnu.org; Mon, 24 Oct 2022 03:29:35 -0400 Original-Received: from out0.migadu.com ([94.23.1.103]:17113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omrtr-0005Dj-UI for 58755@debbugs.gnu.org; Mon, 24 Oct 2022 03:29:32 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1666596570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tfbYtson1vJZo9yd+HSzCIfhj5PVbjDbbgePAA1CJhw=; b=0k2JAHmklqyIPoiN/UeumMAD1U1Aw410FAjCDhRMIF4BTkOJgONsWiVRXs32H8beTKQtjp ftc8NsjEVkm2a5vns/BZ+ZuErE35I/6zZJmEfe6goz8xZIaycFg/R2R7oPF+S/8EMwqzua cr8IrcTepaBTcPv8t7MgdfntEBDuLFyDoc0/85J60rkTDYFRbzAz9KLZayQpNPUemGrIbD hheWGiwEJw1GOVB1RwCryDsrfKKd+00qQRuDvBKYqDeWw7h8hP6+J13jJaxUqx6jo48iqn apIjEtpq2GWThjrs0Qt1/9FWaPB8Bb1pZiuYFDwwmsU88q3ys783rsdAcGJexg== In-Reply-To: X-Migadu-Flow: FLOW_OUT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246099 Archived-At: Yuan Fu writes: >> On Oct 23, 2022, at 11:43 PM, Theodor Thornhill via Bug reports for GNU = Emacs, the Swiss army knife of text editors wrote: >>=20 >> Hi Yuan! >>=20 >> It seems we cannot really enable font-lock without setting the >> font-lock-defaults to some non-nil value. >>=20 >> I'm not really sure why the 'treesit-font-lock-enable' isn't sufficient, >> but here's a patch that at least makes ts-mode usable again :) >>=20 >> Thanks, >> Theo > > Hey Theo, sorry for the trouble=E2=80=A6 Yeah font-lock-mode looks at fon= t-lock-default=E2=80=99s value when turning on and won=E2=80=99t do anythin= g if it=E2=80=99s value is nil. I thought we are going to install a new sch= eme soon so I didn=E2=80=99t change the code. I=E2=80=99ll fix ts-mode and = push. > No worries. Did we decide upon something there? Theo