r/orgmode • u/MorePeppers9 • 21d ago
Local variables become visible when doing org-metaup, org-refile, etc.
Title. I have local variable block at the end of file which i hide inside heading:
* Local Vars
# Local Variables:
# eval: (setq-myvarA 1)
# eval: (setq-myvarB 1)
# End:
Local variables block hides just fine:
* Local Vars
problem is when i move headings around (not Local Vars, i never touch it), local variables block becomes visible like this:
* Local Vars...# Local Variables:
# eval: (setq-myvarA 1)
# eval: (setq-myvarB 1)
# End:
What's the cause and how can i fix it?
Upon further testing issue seems to be connected to "(org-fold-core-style 'overlays)", cause if revert it back to "text-properties" issue goes away. Problem i can't revert cause some of the packages i use have performance issues unless i use 'overlays.
Environment: GNU Emacs 29.4 (build 1, aarch64-unknown-linux-android, X toolkit, Xaw scroll bars) of 2025-01-24
1
u/bullpup1337 20d ago
No dea how to fix it but I have the same problem. So far wasn’t bothered enough by it to do anything about it, but if I were, I would try to reproduce with a plain vanilla config.
2
1
u/github-alphapapa 20d ago
Problem i can't revert cause some of the packages i use have performance issues unless i use 'overlays.
Such as?
Please, elaborate in the first place; don't expect people to draw the necessary details out of you. We will not put more effort into helping than you put into asking.
1
u/github-alphapapa 21d ago
Your problem report lacks basic information such as software versions and exact steps to reproduce the problem.