From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GExzN3bc52KNegEAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 16:00:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WOhzN3bc52JGLQAAauVa8A (envelope-from ) for ; Mon, 01 Aug 2022 16:00:22 +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 9071E1FDA0 for ; Mon, 1 Aug 2022 16:00:22 +0200 (CEST) Received: from localhost ([::1]:34012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIVy1-0008PY-FG for larch@yhetil.org; Mon, 01 Aug 2022 10:00:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVu5-0005Op-J4 for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 09:56:17 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:37696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIVu4-0007Kb-1P for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 09:56:17 -0400 Received: by mail-pl1-x62a.google.com with SMTP id m2so3741481pls.4 for ; Mon, 01 Aug 2022 06:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Wfg2H86bX5Yok+fDxnPe9qdrDTz5g2MbV8gLreIYO8s=; b=Hm4AA9ol5iyq1sSW5R8a3cJd/rYfx+mIdzWg0nv0iNsTqeCwrQ/RUgF2K3UOwypQda zHsU63190y8CMqBt7AHyNXHZNMuS+VVtnjDYeefGR2Ew6POs6SgDUCYyoslV0JBWpSDt QPB2MPTpkU1NFsANg3Jvu1ANBk5mMOuAPxwcDEOSlM5cWNj0AufZedkaI3jo3Fo1Z6ov NzvLOb++3506g3/Khxwp7WMzm9RqEqKf0UT4xA4lDVyeTh0sC4tbaC36eoUSrzQYKx6X g/ucJ3kHtIRJi8Z04Cyd1C2uaN/PzpH7x6zkhE3+lEbYjMIqWX8rRGHh+QZJub8Z+kNJ CYXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Wfg2H86bX5Yok+fDxnPe9qdrDTz5g2MbV8gLreIYO8s=; b=V6YcDms+cK4Kds5v60iTbMFVLvcxSqhRQ6fNI1V9Sqkfl057XHtu6WCfvi8jkDnHmA CT2z7BC+9EFjMid3xW+DxdAsxXy4sFLxYifQGbrKUl3BQwbRwSuLvg7Rw+fNMP/QGgrz nW/V62XZDLobcRKaRp5CtdVWiOWZog264XsvZ+haVc+PlJXMMDjzZkLeng6wUyv5iiVZ BexwgVZvoIpdZ5ECZyE5MSzj66dPH6vU8sPO6Pk0hls2ME98MJLnEB3ByJI8uEBKVtb0 BGOe9y3ZO5aC8He7SFJe50eEpo9eURwt0IqB2mjfk8R28uf0Jzg3UTtjeewsViPbqIXx Ia+Q== X-Gm-Message-State: ACgBeo1zHJlyZ8AsiCXccwLTx6FGJz/qS8O3dwmAlH8bkTWMw1drvBQy nAQBp1P2rlrBxba2+IUtt6VjPkwIdXE= X-Google-Smtp-Source: AA6agR6iPUqhN5oVhwQ4EzjYjShIWnoj5x/D/3nPve0z4y+ortaDvQyOB4DKn7lUH0cU1cSS1sS+Nw== X-Received: by 2002:a17:90b:1a8c:b0:1ef:c1b2:b2cd with SMTP id ng12-20020a17090b1a8c00b001efc1b2b2cdmr19400678pjb.190.1659362174679; Mon, 01 Aug 2022 06:56:14 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:4040:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id g18-20020aa796b2000000b0052ab5a740aesm8553357pfk.162.2022.08.01.06.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Aug 2022 06:56:14 -0700 (PDT) From: Ihor Radchenko To: m43cap@yandex.com Cc: emacs-orgmode@gnu.org Subject: Re: commit e22b4eb7 kills formatting & color In-Reply-To: <877d3sm75n.fsf@yandex.com> References: <871qu0jo1w.fsf@yandex.com> <87bkt4ktfn.fsf@localhost> <877d3sm75n.fsf@yandex.com> Date: Mon, 01 Aug 2022 21:57:20 +0800 Message-ID: <878ro8kqwv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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=1659362422; h=from:from:sender:sender: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=Wfg2H86bX5Yok+fDxnPe9qdrDTz5g2MbV8gLreIYO8s=; b=PPA4mqkZg8kiXDhmeWZhvwSHZb/YD7GzWbAt/8axX1HOxtt/23vSJ8EIc4LtCxJLTz9+hC qy/MLnAIUTXql51ODbLJQQDcy0Qw/31kKLcU8YyeYk1wkelC03jBbufF3/UlmpwvwRDw9i hJAbrWjYzlyKzgZwbKSAkwOMA16SPUQwkfktt1JUS1vAlv6GhKm0K6ZnmCWLJj7Ov6kMcr DKZ20JJk5+QGkrIe1n0kEQa+NmI63G30kdnmzYN8yS9JCDXRu5QIbI2XWAc8mefC31sjVm EVfGXVySWj50qVvzLrL8ydC65sloHbixlJOwkFQQG8j/1MeXSJdfEcq4Dk6bQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659362422; a=rsa-sha256; cv=none; b=U2PTNxNYGuzhwuO3Un1Wf4CfQAX92T4PAry5orz7i1SKfXT7u5w5zCWXgj3WvnWJ2gHNEn jEauj1OL+z/wXcPZvJ2+h5q4YN0BXX7OyTXJ6boMGUTGUPlt1Tg7vULy3EjHlaJg2wQcQz YIPPORr+GwYpy4NLc1EdbmyVD7ts4GzJd0ByUrp1olZI2pUNBUscFAXQIyIq3ElmPBvmnG RZRupTe3gmIfTR5FMup4coaBYR+eb9lrz5Gqg8d/yBpNdtcT3uB9QJA73+tRUaORdWJQaY ihFKl6LxVS1/m7szF4owqqDIAiT4Ya5Gv6fhcBHR0KZV0Cs7TlL11ht+uJTfMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hm4AA9ol; dmarc=pass (policy=none) header.from=gmail.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: -4.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hm4AA9ol; dmarc=pass (policy=none) header.from=gmail.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: 9071E1FDA0 X-Spam-Score: -4.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: IR0/+cVrltpM 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 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. Best, Ihor