3

Just what the title says.

My org files often have large prefaces (area containing #+TAGS:, #+STARTUP, etc.) and would like to keep it folded most of the times.

How do I achieve this?

  • Consider to keep the items in a drawer. – Marco Wahl May 11 '18 at 14:33
  • 2
    @MarcoWahl -- do you have a link to any documentation to support the proposition that these types of in-buffer settings will work if they are stored in a drawer?: orgmode.org/manual/In_002dbuffer-settings.html – lawlist May 11 '18 at 14:56
  • @lawlist -- Could not find a reference in the documentation. So this proposition obeys the rules. ;) Looks like regexp patterns are used to find the settings. So you could write them also e.g. at the bottom or see the answer of Konstantin Morenko for another idea. – Marco Wahl May 12 '18 at 7:18
1

I use in my files special heading, for example Settings and hide all the in-buffer settings there. It works very well even in the beginning and in the end of the file.

If you use Global Cycling (S-Tab), a text in this heading will be showed at third stage. I don't know how to prevent this when using Global Cycling, but with Local Cycling (Tab on headings) it works very well.

  • 1
    I figured that #+BEGIN_PREFACE ... #+END_PREFACE will also work. :) But yours is an easier approach – deshmukh May 12 '18 at 10:16

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.