I new with elpa/melpa, and can not understand: should package (installed from melpa repository) be autoload by emacs during start or not?
I install 'company' from melpa repo, and (require 'company)
in my ".emacs" failed:
LANG=C emacs --debug-init show such error:
Debugger entered--Lisp error: (file-error "Cannot open load file" "No such file or directory" "company") require(company) eval-buffer(# nil "/home/user/.emacs" nil t) ; Reading at buffer position 9609
position 9609 is exactly where (require 'company)
ends.
At the same time, when I install "magit" from melpa, all work fine without ".emacs" modification.
So after I install something using M-x list-packages
and restart emacs, should
installed package be autoload by default?
If they should be autoload, why company have different behavior?
I used GNU Emacs 24.5.1
(require 'magit)
in your .emacs?(package-initialize)
after loading your .emacs if you haven't done so.