emacs org-mode open in expanded view

If you use org mode, you can set it to not open files in folded view. Put the following in your “.emacs”:

(setq org-startup-folded nil )

I find this useful because when i do interactive find and replace on multiple files, if the org mode files open in folded view, you won't see what's being replaced.

If you prefer to open org mode files in folded view, one solution is to temporarily set the variable org-startup-folded to nil before you do find&Replace in a dir. Just call “set-variable”.

Popular posts from this blog

11 Years of Writing About Emacs

does md5 creates more randomness?

Google Code shutting down, future of ErgoEmacs