The emacs initialization file states:
On my system I do not have any of ~/.emacs ~/.emacs.el ~/.emacs.d/init.el ~/.config/emacs/init.el.
I do have a ~/.emacs.d/init.el but that only has an auto-save-list directory in it.
Somehow when in emacs I can run
So what is the linkage between emacs and this directory? Is it hardcoded as I don't see any way the theme can be picked up.
When Emacs is started, it normally tries to load a Lisp program from an initialization file, or init file for short. This file, if it exists, specifies how to initialize Emacs for you. Traditionally, file ~/.emacs is used as the init file, although Emacs also looks at ~/.emacs.el, ~/.emacs.d/init.el, ~/.config/emacs/init.el, or other locations. See Find Init.
You may find it convenient to have all your Emacs configuration in one directory, in which case you should use ~/.emacs.d/init.el or the XDG-compatible ~/.config/emacs/init.el.
On my system I do not have any of ~/.emacs ~/.emacs.el ~/.emacs.d/init.el ~/.config/emacs/init.el.
I do have a ~/.emacs.d/init.el but that only has an auto-save-list directory in it.
Somehow when in emacs I can run
M-x load-theme
and can load manoj-dark successfully. Such a theme is in the themes directory with /usr/local/share/emacs/27.2/etcSo what is the linkage between emacs and this directory? Is it hardcoded as I don't see any way the theme can be picked up.