Re: [PATCH 1] lisp/org-fold.el: Fold header lines in blocks (was: Proposal: folding stacked `#+header:' lines in src blocks)

2022-12-13 Thread Ihor Radchenko
h...@heagren.com writes: > Great! I've worked up a patch (well, two patches), attached. > > Some details of the implementation: > - folding blocks now cycles: >- everything folded (only top header line visible if present, > otherwise only `#+begin' line visible). >- all content visibl

[PATCH 1] lisp/org-fold.el: Fold header lines in blocks (was: Proposal: folding stacked `#+header:' lines in src blocks)

2022-12-12 Thread hugo
On 2022-12-07 19:58, Thomas S. Dye wrote: I would use this feature. My stack typically includes headers, a name, and a caption. It would be nice to fold them all out of sight. Great! I've worked up a patch (well, two patches), attached. Some details of the implementation: - folding blocks no