emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ?bug in org-fold-core


From: Sharon Kimble
Subject: Re: ?bug in org-fold-core
Date: Thu, 04 Aug 2022 10:38:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ihor Radchenko <yantar92@gmail.com> writes:

> Sharon Kimble <boudiccas@skimble09.plus.com> 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 from 
>> org-fold-core (I think) -
>>
>> =====
>> Debugger entered--Lisp error: (error "Calling ‘org-fold-core-region’ with 
>> missing SPEC")
>>   signal(error ("Calling ‘org-fold-core-region’ with missing 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." #<bytecode 0x18c3ed15a476992f>)(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." #<bytecode 0x18c3ed15a476992f>) (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'
=====
# -*- coding: utf-8; mode: org -*-
#+STARTUP: show2levels

#     #+STARTUP: overview     
=====

This file seems to be showing most of the problems, and looking at it in 
'org-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' please? As 
it currently stands, no org-headings are
    shown in the colours that other org-files are showing them, and its giving 
the appearance of org-mode not reading and displaying it!

Thanks
    Sharon.    
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-----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=
=4yAA
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]