From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iB8yIY2U62IEZAAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 11:42:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MN7kII2U62J4zQAAauVa8A (envelope-from ) for ; Thu, 04 Aug 2022 11:42:37 +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 29F602DAC7 for ; Thu, 4 Aug 2022 11:42:37 +0200 (CEST) Received: from localhost ([::1]:44602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJXNE-0004nS-8o for larch@yhetil.org; Thu, 04 Aug 2022 05:42:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJXJt-0003G3-KP for emacs-orgmode@gnu.org; Thu, 04 Aug 2022 05:39:09 -0400 Received: from avasout-ptp-004.plus.net ([84.93.230.250]:40565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJXJn-0007Ay-Sm for emacs-orgmode@gnu.org; Thu, 04 Aug 2022 05:39:09 -0400 Received: from london.london ([150.143.242.99]) by smtp with ESMTPA id JXJeofHi0tyaBJXJgoceX8; Thu, 04 Aug 2022 10:39:00 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019; t=1659605940; bh=tAyZBGf2adsug4KFqzdJgMnX24a5DL0k/8G25rRvwmw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=VxdD/WyLd+zDZ0L2Je6NVlE9OSc99mL49e83U4WlVxqPRI4GZkbprz8JX9XKYvtuf rOrCfSAgySs0e/y6chAQ7beX6xXjYs2r9iDdKgT3D7d/oNJeBS4fSnO4J4CYMdlDd8 8xISjnMGc53xJPbcGTdf8Rx6+YfY2OtBaLmoOhyyR0QSCKUE/eJqFtvnb6HiunKRRO gsN1vhoBIoga4s/TFH8ijzTPDFlG71wsYu+rzJigeBCDkSukMs9077gpqGTNdKvdCh KL12vG6qiOZzxgct+OQPY6jMXzFtoc5zeKCBGKekOhjj2tP5EuUr58b7SS0QwxacOk zYZHSYv4mhJVA== X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=DckEF9hW c=1 sm=1 tr=0 ts=62eb93b4 a=iXkeuCVHAu7IG9cLyGNb1A==:117 a=iXkeuCVHAu7IG9cLyGNb1A==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=EBOSESyhAAAA:8 a=ID9CMGo_AAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=bAHfVwKlAAAA:8 a=pYhDJ0e3oaniQmb6ghIA:9 a=QEXdDO2ut3YA:10 a=FsVGsbB-_lsA:10 a=yJM6EZoI5SlJf8ks9Ge_:22 a=omqGIToj6CYriNU028RO:22 a=diwpeB1DDhFXqWA7J4Up:22 a=KxyM1Xthmv57RbWRIpnN:22 a=fjrkRJ71zQ2jzMzczd-K:22 X-AUTH: skimble09@:2500 From: Sharon Kimble To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: ?bug in org-fold-core In-Reply-To: <87iln8gzpi.fsf@localhost> (Ihor Radchenko's message of "Thu, 04 Aug 2022 16:50:01 +0800") References: <87bkt0tovf.fsf@skimble09.plus.com> <87iln8gzpi.fsf@localhost> Date: Thu, 04 Aug 2022 10:38:49 +0100 Message-ID: <87tu6s8i1i.fsf@skimble09.plus.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfLRCM6yf5cJpdb1yorfEt2x69ddZAJtM3JVowpx3b9gpHsct5Zgjepi4BhA2nK6kRMUS3ahAUYFFn3UL9JGtrjRcpnjDoo38KbTClh5+0EpV1CJX7qYm geUwi/LkihcKLw4RecpagQy3B6TzOoNsHTgEW4esCjdzE1r1Hz+nUQEHEA3nj9JnzgaIqqfrsO8esdEWtyp09ZN8vcWhfH3irZU= Received-SPF: none client-ip=84.93.230.250; envelope-from=boudiccas@skimble09.plus.com; helo=avasout-ptp-004.plus.net X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=1659606157; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tAyZBGf2adsug4KFqzdJgMnX24a5DL0k/8G25rRvwmw=; b=hvhmknxm+9oPP1uvZnHSPLOgLqUMxeDtPc4i7nqSX4R7x5FvPXHUKppKCyQPHtKJgf4IHb OQGTJZugpizG2lJ7bhEB9DezfV3msD+eGe1acIjMTsHz3dEhqdIJdC0FtKEzIQEl854bLX usqqZ7pQKRWq0a08+LGqIgM4C2ZyZekxH8NDRrOYYoRRxxfGdeHmiJzdrMMZTH0PQ75y2r sedOK1ybSPWi3F0mhsm/TFP6faBeJcrjng26Q90NN9WW9ZVHfrCuRaC+KZxf1tMVCM5TiD lAhhAKeZNER1htiZOy/AFedYLcqxMYrMmIxW5gJ+fI7Ry2uznbqRN1QgzwTzXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659606157; a=rsa-sha256; cv=none; b=g0CcOmYDhvZLHOleXWUg5JaOED7jYSK4R1GH/4iIoANQG333UPrEGGZrzJfnny/aoRM9EK h6yVvcr4KYNI8zZHjb4ByTkArq3FXhiOA3VCbx/cZGMQzJKymw93c8IcxCfo6YYLeHH0pT TJ2Z8mBJPB89O+kEFttwpnRX+spHZgFkw5OvP9mRV0dZ+3aLKAzdJJgadx8YnQv4Ymr+Ve 8qBj4896IJk57FtWhQQhLnMz9Yk/Izk9TvYdgUkHwUeJuo0ieQnbZa8Ar0q7AtA5o1EUF/ 70YoZ+mNW6yGGnng7O3kzhCURWM4NyP+UpsLQhp4Hrp+JsKJB7ncv67IrAJ/vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b="VxdD/WyL"; dmarc=none; 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: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b="VxdD/WyL"; dmarc=none; 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: 29F602DAC7 X-Spam-Score: -3.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4fFthVp5XiXI =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Ihor Radchenko writes: > Sharon Kimble writes: > >> I've just updated to 'Org mode version 9.5.4 (release_9.5.4-706-g4702a7 = @ /home/boudiccas/git/org-mode/lisp/)' and I'm getting this error report fr= om org-fold-core (I think) - >> >> =3D=3D=3D=3D=3D >> Debugger entered--Lisp error: (error "Calling =E2=80=98org-fold-core-reg= ion=E2=80=99 with missing SPEC") >> signal(error ("Calling =E2=80=98org-fold-core-region=E2=80=99 with mis= sing SPEC")) >> error("Calling `org-fold-core-region' with missing SPEC") >> org-fold-core-region(652018 652093 t outline) >> org-cycle-content--text-properties(2) >> org-content(2) >> eval((org-content 2) t) >> #f(compiled-function (var val) "Set local variable VAR with value VAL.= \nIf VAR is `mode', call `VAL-mode' as a function unless it's\nalready the = major mode." #)(eval (org-content 2)) >> apply(#f(compiled-function (var val) "Set local variable VAR with valu= e VAL.\nIf VAR is `mode', call `VAL-mode' as a function unless it's\nalread= y the major mode." #) (eval (org-content 2))) >> hack-one-local-variable(eval (org-content 2)) >> hack-local-variables-apply() >> hack-local-variables(ignore-mode-settings) >> org-mode() > > This is not a bug. This is a changed behaviour of file-local variables. > Now, they are loaded early before most of the Org setup is done in the > buffer; before folding is configured. Hence, the error. > > Note that a proper setting of startup visibility should be done via > #+startup keyword: > > #+STARTUP: show2levels > Thanks for replying. I now have this showing in my 'instructions.org' =3D=3D=3D=3D=3D # -*- coding: utf-8; mode: org -*- #+STARTUP: show2levels # #+STARTUP: overview=20=20=20=20=20 =3D=3D=3D=3D=3D This file seems to be showing most of the problems, and looking at it in 'o= rg-lint' there are many problems. But this file is just some problems that = I've found and their solutions, so it shows the wrong way to do something and then the correct way. Is it possible for it to have= a file-only way of reverting to the old way of 'file-local variables' plea= se? As it currently stands, no org-headings are shown in the colours that other org-files are showing them, and its giv= ing the appearance of org-mode not reading and displaying it! Thanks Sharon.=20=20=20=20 =2D --=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 =2D----BEGIN PGP SIGNATURE----- iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLrk6kdHGJvdWRpY2Nh c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sVEg/+P8SaFo8ahnpmiaIX 5Ckv5gS8KFIQOPE3cEX0pHs5d9RTHPJiHhGQ2CodgnqhAExU0ppvK3z4uIkmw6ln YJoHhd/eLWAt2BpnktJ6TDHDIohdtG8ih8U1re5DqZMASSTPRBgsKhvadYMGHCU3 q5nYgfd26A0TB3i6qRgVPrlaUzGfMTM4TozI0KnuAoOa8IDh7dSRHMusZDsjNpuN Z8TJN79rXxAkz6lSL5C1cgkykJqm1nG7zPdq09tdPIwuartBrnPsrHmAA6EFDOv2 hYpSh91AORaAV8/sSffyy7IX58DWDL6AQ+HBvWGtuR5f3xLV4mP3MnP3YF44DpTr HeTdZt4KjPlpZSqcuv36Zko9k2idX1BNWHZCc0e7ZpTAGVP0j+s7qqycejrerZfR R8L07O4uJ1sSZJJ8tupp9NnQMVpznvF5xxjfq7uG8pbIvM7eKbqpbJWMzea8949P YM2zxcLa08fk6SeV27riK0Bm4R37ERuaPfZefFyxxsIWD4xH4elQqDQSvxQr7TZl bv3R9Jm72jM+tEcWzh4dr1re/lErpvKJuWiTcuf5TtUwujY7wOIBSH8oPDxReeWE GMMrybHjO7dk5TArCMkSGfYrDvgW6M8MB2BFeMeqJxZa8WJFnRkq3/Va1FQkLhGt eDJF7uaJkx9e2t+OmcWxsI9MT5U=3D =3D4yAA =2D----END PGP SIGNATURE-----