From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56637: 28.1.90; [FR] Allow a way around font-lock-mode being unconditionally disabled in " *hidden*" buffers Date: Sat, 23 Jul 2022 09:46:21 -0400 Message-ID: References: <874jzdhh5m.fsf@localhost> <871qug4dyk.fsf@localhost> <878rok2rjg.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27118"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56637@debbugs.gnu.org, Ihor Radchenko To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 23 15:47:25 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 1oFFTY-0006k0-3w for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 15:47:24 +0200 Original-Received: from localhost ([::1]:45510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFFTX-0004Ow-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 09:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFFTD-0004NT-Vc for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 09:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFFTC-0008V7-CA for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 09:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFFTC-0001wA-93 for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jul 2022 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56637 X-GNU-PR-Package: emacs Original-Received: via spool by 56637-submit@debbugs.gnu.org id=B56637.16585840017397 (code B ref 56637); Sat, 23 Jul 2022 13:47:02 +0000 Original-Received: (at 56637) by debbugs.gnu.org; 23 Jul 2022 13:46:41 +0000 Original-Received: from localhost ([127.0.0.1]:43817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFFSr-0001vF-AC for submit@debbugs.gnu.org; Sat, 23 Jul 2022 09:46:41 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFFSm-0001ur-Qk for 56637@debbugs.gnu.org; Sat, 23 Jul 2022 09:46:39 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C77B410027D; Sat, 23 Jul 2022 09:46:30 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id BB011100120; Sat, 23 Jul 2022 09:46:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658583984; bh=gD9S7TEmjfG1hZMqJ/cXs5cz0ZDUSgL2JsfWErrGDFE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WGH9kocgHq2RcxiWSiAP+U0IyaOHSZHNE4kGobMInU30z+yOH4wdSAm3gJkMkZSVv 2000n4EISaP+Rg7+NS9ZlOM3BZckUqbyOjfvBqiKI63vFz8kp6bITX9owtVM9cs9iu E08MS5PUHMBU2AHzCIWjtaDSrs8dz4PQzQkhcI51wOmMggLgnv+gUb66DXhaoBCyyj 5O9zunB9gW9v0IbqqTADm6/J07wtuKyoXBVGUh5SAwa5ecbnKc9sd4uNnizEV3bkWI HhieoXqvngXTHCKwb5Vgl5128G8k3uvuCVCbIGI4MVmGE+RF6+cDCiOkekfwjT+IkT GBfLC8S/u+Sqw== Original-Received: from pastel (unknown [45.72.195.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 75BF31201F4; Sat, 23 Jul 2022 09:46:24 -0400 (EDT) In-Reply-To: <878rok2rjg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Jul 2022 09:53:55 +0200") 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237743 Archived-At: >> I'm not completely surprised, because I remember when writing >> `font-lock-ensure` that there are many corner cases some of which seem >> very difficult to fix without actually enabling `font-lock-mode`, but we >> should still strive to be "as close as possible", so ... do you have >> a bug report with some concrete cases we could try to fix? > > Would it make sense to make `font-lock-ensure' try harder here, and > (temporarily) force font-lock mode on (even in temporary buffers) if it > isn't already? I haven't seen a bug report yet, so I don't know what there is to fix, so I really can't judge. But my request for a bug report is indeed because I hope the problem can be fixed on the side of `font-lock-ensure`. Stefan