I'm extremely new to emacs (started using it yesterday), I use the latest version of emacs.
The problem is, The modes I have enabled such as auto-complete-mode
and org-bullets-mode
seem to be enabled at launch. But i don't see their effect on screen unless I turn them off and on again (I'm not sure if the tex global pdf mode has activated either).
Since, I'm a beginner . I'm pretty sure this is horrible code writing on my part. So, A bit of insight into what went wrong and few resources into how to set it up would be a lot more helpful than just correcting my code.
This is my init.el
:
;Installing Repos
(require 'package)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/"))
(setq package-enable-at-startup nil)
(package-initialize)
; Use evil mode
(require 'evil)
(evil-mode t)
;For Tex
(require 'tex)
(TeX-global-PDF-mode t)
(latex-mode)
(setq auto-complete-mode t)
(auto-complete)
;For Org
(require 'org-bullets)
(org-mode)
(setq org-bullets-mode t)
(org-bullets-mode)
;Window Size
(if (window-system)
(set-frame-size (selected-frame) 100 200))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (misterioso)))
'(inhibit-startup-screen t)
)
Edit:
Even simpler things like
(set-cursor-color "#ffffff")
Isn't working on startup. What am I doing wrong? Is my installation botched?