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: Mon, 25 Jul 2022 11:56:22 -0400 Message-ID: References: <874jzdhh5m.fsf@localhost> <871qug4dyk.fsf@localhost> <87wnc61x8a.fsf@localhost> <87h735v94w.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="36823"; 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 Mon Jul 25 17:57:13 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 1oG0SF-0009M5-UW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Jul 2022 17:57:12 +0200 Original-Received: from localhost ([::1]:38596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG0SE-00083k-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Jul 2022 11:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG0S6-00081H-54 for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2022 11:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG0S5-0001wR-RR for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2022 11:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oG0S5-00035H-N4 for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2022 11:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Jul 2022 15:57:01 +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.165876459611809 (code B ref 56637); Mon, 25 Jul 2022 15:57:01 +0000 Original-Received: (at 56637) by debbugs.gnu.org; 25 Jul 2022 15:56:36 +0000 Original-Received: from localhost ([127.0.0.1]:51373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG0Rg-00034P-I2 for submit@debbugs.gnu.org; Mon, 25 Jul 2022 11:56:36 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG0Rc-00034B-Rv for 56637@debbugs.gnu.org; Mon, 25 Jul 2022 11:56:35 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4260F10027D; Mon, 25 Jul 2022 11:56:26 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E2590100154; Mon, 25 Jul 2022 11:56:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1658764584; bh=mxjxAeSc3+wlqIPvArxN9Vn/QOBKD9TrwiirPW1N8DQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=K8jo9z2/nUQprL4MqrYUNC0qKCnGhjf4dp8Pk12dggG5oRlcDxaI9/rESRXJHcaLJ yYHaofZniAh7JlfNA2gfJnIt5KlatjhS75SR6nUFFbCx0o8MRlcI/7MWYzL/NLQcIe ab7zLktmGeB3QItp6jnnHgyrAsWEFJcF8HS5KCyLuRYEecOPw0pyEoAY/VAodGMoIj g3pB4qgQIJTcLT0esWr0gjHyuJhTk9fROFzkpu2+n9N90EbJWyUz6Zw6KTQeuNIPoL jIS8r66Yw912/x/8mJ3P+/qS/FxOpcedNl/NhjTG9zS/+rVUMj2p4GDzBsN7IKqO0D 6aZ2+0RBljktA== Original-Received: from pastel (unknown [45.72.195.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BDD8E1203A5; Mon, 25 Jul 2022 11:56:24 -0400 (EDT) In-Reply-To: <87h735v94w.fsf@localhost> (Ihor Radchenko's message of "Mon, 25 Jul 2022 17:23:11 +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:237894 Archived-At: > In my case, the main difference is in org-src-font-lock-fontify-block. > Its purpose is copying the text fontification from major mode buffer to > Org mode buffer. The copying is done by checking 'face and > font-lock-extra-managed-props properties, which is sufficient as long as > font-lock-mode is activated. When font-lock-mode is not activated, > copying 'face is not enough, and we have to copy 'font-lock-face. You're slowly inching toward a concrete case, but it would be much simpler and faster to just give a recipe telling what you do, what you see, and what you'd like to see instead. You know: a normal bug report. Stefan