Why are some global minor modes applicable before package initialize while some are not? e.g. In init file global-linum-mode
works but projectile-global-mode
doesn't. Why?
Also, why is there no global-helm-mode
?
Why are some global minor modes applicable before package initialize while some are not? e.g. In init file global-linum-mode
works but projectile-global-mode
doesn't. Why?
Also, why is there no global-helm-mode
?
Your main question isn't really about global modes at all.
global-linum-mode
is (auto) loaded in Emacs by default, and so is available to all Emacs users at all times.
projectile-global-mode
is in a third-party package you've installed via the package manager, and therefore unavailable until your ELPA packages have been initialized.
Regarding your second question (and please don't post multiple questions together), "why is there no global-helm-mode
?" the answer is surely "because no such mode has been written". I suspect you are under a misapprehension that buffer-local minor modes are automatically accompanied by global variants? This is not the case.
Minor modes can be separated into:
(The last type defines a global mode which controls a (pre-defined) buffer-local mode.)
All three types are defined independently. If they're not defined, they don't exist.