3

Is there a property or command that can help to hide/fold a subtree temporarily even when doing org-cycle?

  • You can modify org-cycle-hide-drawers to skip over something you have hidden that contains a special property/symbol; e.g., an overlay property such as 'org-cycle--skip-this t. However, there are only a very few Emacs users in the world who would dare modify a stock function -- e.g., I modify the heck out of anything and everything that I can get my hands on. – lawlist Jul 31 at 2:20
6

If you mark the heading as "archived" then it's ignored for the default visibility toggling.

C-c C-x a (org-toggle-archive-tag), which just adds/removes the "ARCHIVE" tag to the heading -- all the subtree content remains.

Even when marked as archived you can force expansion with C-TAB on the heading if you want, or just remove the archive tag.

See the manual for more details: https://orgmode.org/manual/Internal-archiving.html#Internal-archiving

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.