Ian Barton <li...@wilkesley.net> writes:

> On 02/11/11 13:13, Nick Dokos wrote:
>> Ian Barton<li...@wilkesley.net>  wrote:
>>
>
>>> If I have a large begin_src block it can make reading the surrounding
>>> text difficult, as the reader has to keep paging up and down. Ideally
>>> it would be possible to fold src blocks, but I can see that would be
>>> inconsistent with org's structure. I could put the block in a draw,
>>> but was interested in what others do.
>>>
>>
>> Pressing TAB (bound to org-cycle) on a #+BEGIN_SRC line folds the code
>> block for me - not sure whether there is a special setting to allow
>> that, but a quick look at my config did not uncover anything.
>>
>
> Thanks for that. When I start Emacs with no config file, it works for
> me too. Must be some setting in my config that is stopping it working.
>
> Ian.

and 

#+startup: hideblocks

(equivalently: org-hide-block-startup variable)

will start up the org file with all blocks hidden.  I use this all the
time as I tend to have quite large blocks often.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.508.ga081)

Reply via email to