[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Moving my init.el to Org

From: Thorsten Jolitz
Subject: Re: [O] Moving my init.el to Org
Date: Sat, 06 Sep 2014 04:49:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Marcin Borkowski <address@hidden> writes:

> Hi,
> and thanks for all the great replies!
> I ended up using orgstruct mode, which is probably the simplest one,
> and (AFAIU) it will enable me to switch easily to outshine if (when?)
> orgstruct is not enough for me.
> And now there's another problem: I'd like to have my init file
> collapsed to only headlines on opening.  Since I visit my init file
> through a custom command (which finds it and turns on orgstruct), I
> don't need to use file local variables for that - I just need a
> command to do it.  So:
> how do I (programmatically, in elisp) collapse the view of
> an orgstruct .el file?

Try 'org-overview'. Both, 'org-overview' and 'show-all' work
with outshine too, so they should work with org-struct.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]