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: Wed, 20 Jul 2022 10:58:58 -0400 Message-ID: References: <874jzdhh5m.fsf@localhost> <871qug4dyk.fsf@localhost> 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="25240"; 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 To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 20 17:02:00 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 1oEBD4-0006Br-DY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 17:01:58 +0200 Original-Received: from localhost ([::1]:40354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBD2-0003lP-Ml for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 11:01:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBBD-0002p0-9H for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 11:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBBC-0000oi-Q8 for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 11:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEBBC-00040j-MM for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 11:00: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: Wed, 20 Jul 2022 15:00: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.165832915615327 (code B ref 56637); Wed, 20 Jul 2022 15:00:02 +0000 Original-Received: (at 56637) by debbugs.gnu.org; 20 Jul 2022 14:59:16 +0000 Original-Received: from localhost ([127.0.0.1]:58525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBAR-0003z9-Su for submit@debbugs.gnu.org; Wed, 20 Jul 2022 10:59:16 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBAQ-0003yt-D4 for 56637@debbugs.gnu.org; Wed, 20 Jul 2022 10:59:14 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EB538100154; Wed, 20 Jul 2022 10:59:08 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D9B0D100120; Wed, 20 Jul 2022 10:59:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658329146; bh=MeaGzcg85hTsMOLyDmFZqUJsOu4lFpH8NPG7GD9ZHpk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QRS5Y0oy5zWSxNpjgHqyeXTl0WNQGMyM+alO1EZ54FBh7aobqXu64v6pQFdle8hOH JtWZFVIGLDcgl+QX2c7sshw7/TTag94e40mtjQt0tCgTum/VfyuIXirqcbFxfoAc/O MDGZVVgq0iroOhwtKlu/+JQCiBIIkJQGewTmlkPjmNSpH98WrztUrzZzp/HdQ1IiTE edAKC83Bm17e1o/m/YFFKTVPJLhgekaM3+4yAyJ0Sy4YCApEDUSW8IdDshSZ8Rq4N4 gzTxzIVRdpT6qmf0EL7ryLhWiLKlmvl/AQngWDxkEqYXrQ4Y8mwqT00Ea8rHr/W3IG 0S5F8HEbqHRoA== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C9232120180; Wed, 20 Jul 2022 10:59:06 -0400 (EDT) In-Reply-To: <871qug4dyk.fsf@localhost> (Ihor Radchenko's message of "Wed, 20 Jul 2022 12:15:15 +0800") 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:237509 Archived-At: > Sorry, it is a typo. I did mean "the fontification *is* using > (font-lock-ensure)". Ah, good, thanks. > We do use `font-lock-ensure', but it does not always produce the same > results with/without font-lock-mode enabled. 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? Stefan