I defined emacsclient as default editor in .bashrc
so emacs -daemon will be called upon startup:
export ALTERNATE_EDITOR=""
export EDITOR=emacsclient
But compared to a normal load without client, if I call emacsclient afile
, then some ui elements are missing, like the scrollbar, which will disappear, and the speedbar pictures, which will be replaced with "+" sign. Apparently the init file is not fully loaded by emacs daemon? What could possibly caused the difference and how can it be fixed?
a) Above is a normal load with emacs afile, same with emacs ; emacsclient -c afile.
b) Below is a client load with emacsclient -c afile after emacs --daemon &