From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MMYTBd/k52JtBAAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 16:36:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oGYSBd/k52LhKAEA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 16:36:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A666521222 for ; Mon, 1 Aug 2022 16:36:14 +0200 (CEST) Received: from localhost ([::1]:37806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIWWg-0008PI-Tt for larch@yhetil.org; Mon, 01 Aug 2022 10:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIWVW-0008Ov-TD for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 10:34:58 -0400 Received: from forward500j.mail.yandex.net ([2a02:6b8:0:801:2::110]:37352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIWVV-0004uZ-50 for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 10:34:58 -0400 Received: from myt5-cceafa914410.qloud-c.yandex.net (myt5-cceafa914410.qloud-c.yandex.net [IPv6:2a02:6b8:c12:3b23:0:640:ccea:fa91]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 277F66CB6BF4; Mon, 1 Aug 2022 17:34:54 +0300 (MSK) Received: by myt5-cceafa914410.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 9eco5KRMoV-YrhqGG1g; Mon, 01 Aug 2022 17:34:53 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1659364493; bh=Enc6ZXVyDszUloUXvRW1zJTXP4nZzArp4lLb/+pxwJg=; h=Message-ID:References:Date:Reply-To:In-Reply-To:Cc:To:Subject: From; b=aICe6cH1M5GRPBoG6QdFwadDoWIAJ5Ny1kmDcz2M0Tw9kfufgsxe0EH/EoXNgMkXd NR5dH+OhkkllbJGdWN4jwRUY+YrQ2eihvKPeG6T7wytTBxRjVAp7dcJyBwE6ZNQxl6 NfrWOWhawLklZRW0qvfz+wX4VN+xwgjShsG8ESQk= From: Colin Baxter To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: commit e22b4eb7 kills formatting & color References: <871qu0jo1w.fsf@yandex.com> <87bkt4ktfn.fsf@localhost> <877d3sm75n.fsf@yandex.com> <878ro8kqwv.fsf@localhost> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Mon, 01 Aug 2022 15:34:51 +0100 In-Reply-To: <878ro8kqwv.fsf@localhost> (Ihor Radchenko's message of "Mon, 01 Aug 2022 21:57:20 +0800") Message-ID: <87v8rckp6c.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:801:2::110; envelope-from=m43cap@yandex.com; helo=forward500j.mail.yandex.net 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: m43cap@yandex.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659364574; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Enc6ZXVyDszUloUXvRW1zJTXP4nZzArp4lLb/+pxwJg=; b=t3scz1BefPUUPxwqd22ZuM9Mi2iqy4Gv4nwqWnhcGvKcJ1eiRAeoY9QUrkuixPM0ts9iGO j7+ll0W+Rv7FL1nQigF3l4rwQq8TjiRhf6oPmDACM4oTKBRB3j6iU4kuQnsW3/AA8W0o3E CyKWsDWc90HQJ4xyOEmNZHuznzWhSACdhQx+Z2SyB8Uv5nNQnDFJmb1Nh7eW8HNnUV9A80 BuoD6xoYB9DJg226HYt0zxeUj9ImbdwYQjX8HW7vKop57szynsW6hJwTIA/b6vdPUqzo2i 0Xlmwh9bYwIpvO+8cOPVIJLEsPUM6BYpFyMGoOCh8kLadYLZdKWn444l/Lhu6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659364574; a=rsa-sha256; cv=none; b=TBr0dmKmD5cB9GuVAxC/ogT2hhXG6mQXAUGFfV2VyUFHxoObMk502tAI1peXIud7ViFLjj PEQ5uYxOlF77IiQA31rLuj9X1wompT80PVoNjLSV45skbRo9X8IpR1ZRK0rslnDneeYPAf uKrFsEaIHHDO/OUxVB9jDorLnLdLaebd3sB5HxsNRKAuA9yaO3iDa2nsxAfHv1r5rLM19O CGjFQtoRXP7Ji3PFvzzjK2B0Yc1S7ByOBzLY08hoQbzn+Fopy7241SPY9u7Sjx6WTq/+ZQ weutrE7nrn32j0XI/d21SkMcRHlWKrAII+HUXiX2av4N9CcaHKDCg99QJXt6Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=aICe6cH1; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=aICe6cH1; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A666521222 X-Spam-Score: -5.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: Jz18BL1Nu4mK >>>>> Ihor Radchenko writes: > Colin Baxter writes: >> > Do you have any idea which particular file-local variable is > >> leading to the breakage? >> >> Well I'm tempted to say all of them because I have local >> variables in files and .dir-locals.el in many locations. But for >> a start: >> >> # Local Variables: # eval: (setq org-confirm-babel-evaluate nil) >> # eval: (setq org-adapt-indentation t) # eval: (set >> (make-local-variable 'org-hide-emphasis-markers) t) # End: > I am unable to see any issues with fontification starting from > emacs -Q and loading a file containing these variables. I think the solution for me is to delete the .elc files in org-mode. I am about to do this and will report back. >> I am obviously missing something because I thought a local >> variable was by definition local to a file or directory and was >> not used until that file was opened. So why put them in effect >> before they are needed? > They are put into effect after the file is opened, but Org mode is > not yet loaded. The previous default was applying file-locals > _after_ Org mode is loaded and hence there was no way to set, for > example, org-src-fontify-natively or org-enforce-todo-dependencies > via file-local variables. Thank you. Now I understand better.