I'm new to emacs, org-mode. I have an org file which, every time I open, I have to enable the minor modes:
org-indent-mode by hand using the
I saw this question in stackoverflow and tried the following code in my
.emacs file only to see an error when emacs loads.
(require 'org-mode) (defun turn-on-visual-line-mode () (visual-line-mode 1)) (add-hook 'org-mode-hook 'turn-on-visual-line-mode)
Warning (initialization): An error occurred while loading ‘c:/Users/Prasanna Rajaram/AppData/Roaming/.emacs’: File error: Cannot open load file, No such file or directory, org-mode To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.
I did not try the
org-indent-mode as I did not know how to turn on multiple minor modes with