* Folding org drawers in elisp code?
@ 2010-08-23 19:22 Paul Sexton
2010-08-30 7:50 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Paul Sexton @ 2010-08-23 19:22 UTC (permalink / raw)
To: emacs-orgmode
Can anyone tell me how I can write elisp code to force drawers to appear closed
(folded) in an org buffer?
Thanks
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Folding org drawers in elisp code?
2010-08-23 19:22 Folding org drawers in elisp code? Paul Sexton
@ 2010-08-30 7:50 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-08-30 7:50 UTC (permalink / raw)
To: Paul Sexton; +Cc: emacs-orgmode
On Aug 23, 2010, at 9:22 PM, Paul Sexton wrote:
> Can anyone tell me how I can write elisp code to force drawers to
> appear closed
> (folded) in an org buffer?
(org-cycle-hide-drawers 'all)
will cover the whole buffer. Other arguments will cover smaller
sections, depending on what org-cycle just did.
In fact, you might want to look at all the functions in
org-cycle-hook, they do various kinds of cleanup after visibility
has been changed.
Best wishes
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-30 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23 19:22 Folding org drawers in elisp code? Paul Sexton
2010-08-30 7:50 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.