From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mIkdNHzW52L4uAAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 15:34:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kPpBM3zW52J36wAAG6o9tA (envelope-from ) for ; Mon, 01 Aug 2022 15:34:52 +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 5AC5934581 for ; Mon, 1 Aug 2022 15:34:52 +0200 (CEST) Received: from localhost ([::1]:48052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIVZL-0003ZB-GK for larch@yhetil.org; Mon, 01 Aug 2022 09:34:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVMC-0003Dh-K1 for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 09:21:16 -0400 Received: from forward500o.mail.yandex.net ([37.140.190.195]:58150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVMA-0000Ol-2T for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 09:21:16 -0400 Received: from myt6-efff10c3476a.qloud-c.yandex.net (myt6-efff10c3476a.qloud-c.yandex.net [IPv6:2a02:6b8:c12:13a3:0:640:efff:10c3]) by forward500o.mail.yandex.net (Yandex) with ESMTP id 001F094186E; Mon, 1 Aug 2022 16:21:11 +0300 (MSK) Received: by myt6-efff10c3476a.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 4FjJtWA47k-L9huVrcw; Mon, 01 Aug 2022 16:21:10 +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=1659360070; bh=mao+lf5CYV+LfLrr811Zq7fxfZjgG6OnfCvn2H220gU=; h=Message-ID:References:Date:Reply-To:In-Reply-To:Cc:To:Subject: From; b=TG4XQyV5OBerYeG6m1Nkk4DNxcGMHHXZpR0RnRFiS7JAKvL19FLwTODTVEcITXzDi d7mvPdTlMAi84GeYMn9WNPgQ2BaTMWF3sRMXq/Kr2CmQkXA5mukujDHeNU3gZHaAbe Dflh8GPDM9+7gFHBX7Ps4xriHtHdj5daiM2OAa2w= 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> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Mon, 01 Aug 2022 14:21:08 +0100 In-Reply-To: <87bkt4ktfn.fsf@localhost> (Ihor Radchenko's message of "Mon, 01 Aug 2022 21:02:52 +0800") Message-ID: <877d3sm75n.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=37.140.190.195; envelope-from=m43cap@yandex.com; helo=forward500o.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, RCVD_IN_MSPIKE_H2=-0.001, 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=1659360892; 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=mao+lf5CYV+LfLrr811Zq7fxfZjgG6OnfCvn2H220gU=; b=lLoUKxdnPkwZg6v3DH0d2hdhrKZXt/Xsh9i2YQWF71v611JVt9d8nFXl9xyF5Jip4TqXE6 fLqbD9xOxba+zeWxgwWqJlH8gpCqDpwNpDi4/ubX3KnHftWI2zkZXUsLYoiWnzXizuQThz p5BbTHHJqpkpIIGTzpvkN6nEMkt0yqyNK2VHjsSH+jYUNmEQ5S29vdnw7HIRLytrUvmu2C JjEoWqYl3YpaqSgEgn19tbp18Vnao59h6UX1KQsSBoNj0UaSOJGjzTGLtlEUAn6TD3pnOV BzdR3i7AxV7H0euMtY4V9XJm5ML3+OWzMvPfQUAR7NoHmOV044VVtFMPE7lkEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659360892; a=rsa-sha256; cv=none; b=sJFSXF28rFyDUjNDc0BOjPUsPs9fX+UYvHDgCiVQ0JUpE8fE98/aidZYXNZhMjVaFVgiA5 qbdP34VgzxSyVm4CtHWwy/o/YmCpwFFz52I2ubf9MocjXvLRvauNo+luiB6lHR5uIRUpuy lShhfhhEgdqokB2MmgKg2cxK1Lo2O1kqIHxXk7sy0RE2AQqHWLdQrDiJ1WsAFRL0Rgfkqk 0ip+d0yIp/de4WKFa6wzrvL0k4b+XhjyOhpvxPX40V5pvm8/3mTKOloGk240p9EkBzYsEC WLrWJ2l/WbDm77PsFrbJyS5XTzvuM3J8FP0Miw4DKQoHeO7PJuI2vfp5ydHbkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=TG4XQyV5; 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: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=TG4XQyV5; 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: 5AC5934581 X-Spam-Score: -2.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: /QmBQOlKtsCS >>>>> Ihor Radchenko writes: > Colin Baxter writes: >> With the latest org-mode, my org files have lost all syntax >> coloring and org-mode formatting. They are essentially dead. If I >> revert commit e22b4eb7 then they come back to life with coloring >> and formatting as usual. My files have local variables which have >> worked perfecting ok before the e22b4eb7 commit. Have other users >> experienced similar issues? > The commits puts file-local and directory-local variables in > effect _before_ loading Org mode. It means that e.g. setting up > initial visibility can be done using directory-local variables. > Do you have any idea which particular file-local variable is > leading to the breakage? > Best, Ihor Dear Ihor, 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 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? Best wishes.