Can I add some file variables to an org-mode file to force Emacs to fold all headings? reddit / emacs ---------------------------------------------------------------------- eminent101 · 2022-12-07 20:07 I know that Emacs supports file variables like this: -*- mode: modename; var: value; … -*- But I don't know what to put here in my org-mode file to make Emacs fold all headings when it opens the file. Is there a way to make Emacs fold all headings when an org-mode file is opened? I want to set this only for specific org-mode files, not all org-mode files. ---------------------------------------------------------------------- andyjda · 2022-12-07 20:29 I think `#+STARTUP: overview` does what you need. Check [the org manual](https://orgmode.org/manual/Initial- visibility.html#Initial-visibility) for more info ---------------------------------------------------------------------- f0restjump · 2022-12-07 21:56 See https://www.reddit.com/r/emacs/comments/izf6xe/comment/g6injqm/?ut m_source=share&utm_medium=web2x&context=3