From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +NDMCv+I62J1NQAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 10:53:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aEOvCf+I62KrLQAAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 10:53:19 +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 BC5EA28E79 for ; Thu, 4 Aug 2022 10:53:18 +0200 (CEST) Received: from localhost ([::1]:33018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJWbV-0000CP-IL for larch@yhetil.org; Thu, 04 Aug 2022 04:53:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJWXL-0008D5-GC for emacs-orgmode@gnu.org; Thu, 04 Aug 2022 04:48:59 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:33693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJWXJ-0007g8-Sq for emacs-orgmode@gnu.org; Thu, 04 Aug 2022 04:48:59 -0400 Received: by mail-pg1-x52e.google.com with SMTP id l64so1742467pge.0 for ; Thu, 04 Aug 2022 01:48:57 -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:content-transfer-encoding; bh=9/aDOq/1xp72QOzQBOjkscbEl+JF/TvLWnDYqJ5Qr3s=; b=IOkPDHCEDcryS82F7XjLvSHOv0Riiqbo3wKnGtRTW67QKloQy6OqG2j8OsXCTBsE5I gudgERla6AcyJZwKawdMUQRe29e7Kw9OTQfiMxanq8N4AChphfBFwk49DUK+Ly3x6HMz ici9/mR79t5/RpiIavaxbsru/GfDxqHzLGdMv/rvk3JKydsR/63EciXCIxHzyOiX+D2S JX8iZ+5neq4CRiSc3Jx9IJTbsAgz/ps6Zxc9F/RE3j8Z5XRUR6JTBweGMLGFlvUDi1ov CZhnQdoJCnN4/USe8Wq2ovG4v9M1RU3Hwg9e+4Zfrts2ELwy8XBjA16CpTBPTbLAU5zw cZFg== 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:content-transfer-encoding; bh=9/aDOq/1xp72QOzQBOjkscbEl+JF/TvLWnDYqJ5Qr3s=; b=QGNX0V7olw3lyQd6Md2aWp7RrGQOQQG9MLhIg4cu+tPyxfjY5NjwafW/y92Zaoj9zV XIipcTF+FjBj6RNm3dx2gX3WSYgPESPQ/Ax5FQatkVOVTw2Qs/g9Pp8PGrRZna668R3O YsE8hqVvlymsj517aK9x+wmSBoEiknbqED1ERcj8UqtFpdE9kdKo4VJnVtV3z4NkEDUY 2AwsvrXNieYltnfl8aF56b2iYQY8+T4M3QKJKcUHj796tUd1XmGYD7KkYr83vkf2mxO5 20PCkl9spE9galilaAOL1w0hq373wLNBpOJTgxf6YtUsPkw9iAOrywtSHfIFb6le8+0h nFRg== X-Gm-Message-State: ACgBeo0380TueqCgs+5vRCg0v06kgvNgS9neGL9baC754c5rVNn6YOb4 3W4FbbBVl3HbwiU5YTjUGErc1mz+0t5KRA== X-Google-Smtp-Source: AA6agR7RZpHc3IdceV6F+l/NRVZ+bD73dhXmtiANn04Ab36/P6JVuZlDyKbzIDR0eQW3LiAFkO8gDA== X-Received: by 2002:a63:2bcc:0:b0:40c:95b5:46a4 with SMTP id r195-20020a632bcc000000b0040c95b546a4mr798401pgr.535.1659602936263; Thu, 04 Aug 2022 01:48:56 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id h13-20020a170902f70d00b0016f0c2ea158sm299710plo.157.2022.08.04.01.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 01:48:55 -0700 (PDT) From: Ihor Radchenko To: Sharon Kimble Cc: emacs-orgmode@gnu.org Subject: Re: ?bug in org-fold-core In-Reply-To: <87bkt0tovf.fsf@skimble09.plus.com> References: <87bkt0tovf.fsf@skimble09.plus.com> Date: Thu, 04 Aug 2022 16:50:01 +0800 Message-ID: <87iln8gzpi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.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=1659603198; 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=9/aDOq/1xp72QOzQBOjkscbEl+JF/TvLWnDYqJ5Qr3s=; b=oyLniPtAlt7xIXB7/1o8JJoji66kkvDhlQsBu/liSSC+rGAoQ2emPrhzehEDUlgzHsApmR NcNHvdZhCrv/WgYITE0+eSZrRPCfub2vGdib7OJSWXbk/zeYljmeDlWSTfNV9s5edS5Jk4 sSYd/UYTtgL65+SVtHv4BMBTPBX8Tj5iDiH4Y3nchg3w5k7QpNsE3ce4iqqpMBLtdaBXmg SN39wPGEpJnu9VhiXytCwN9JJYB7IuJh0Io/P/nCl6hTJNlo0QDG/ltt/uK4neT15gI9yx UJ+3KTCrEzbTAAvKZhudX/Tf9JbyLPrf1lkKWyh8ihy0G0EBOEygJWxleU/SKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659603198; a=rsa-sha256; cv=none; b=nFh8mALduoMhAlj5HWpJpwabaC5ik20+IibxtMj0PL6b9iDaFDCZX69+bSg7LpR8+6qIj0 YBR8wXISpJjEv7Eam5NaRHnMYl3CCgM5vaLCnKw+k66d80JniwZRtpxm3LacwSl1dm7oCa Qye5OXl89+v1d8egFd4ifVEbYxkgME6h7J0EMYTPpA+wIxZwuy2oX/1zXjbfNCDa3aCZrP asJ0/2Cry6wc+MdSd8m7iO6L4JYt3Q4wirsHO6XDwF/QVWt9+JTyPpRg/48ax59gNK6TCi p8eUPlxltL835CCPC7PKqBiavuNEINwavm7eZF7dHWdHTfWVxTkWKGIu8Bo8lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IOkPDHCE; 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: -3.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IOkPDHCE; 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: BC5EA28E79 X-Spam-Score: -3.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: vu+3JITbQ1xg 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 fro= m org-fold-core (I think) - > > =3D=3D=3D=3D=3D > Debugger entered--Lisp error: (error "Calling =E2=80=98org-fold-core-regi= on=E2=80=99 with missing SPEC") > signal(error ("Calling =E2=80=98org-fold-core-region=E2=80=99 with miss= ing 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 m= ajor mode." #)(eval (org-content 2)) > apply(#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))) > 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 Best, Ihor