where is emacs directory
The directory ~/.emacs.d/ is the location for additional per-user Emacs-specific files written in the Emacs Lisp programming language. Since it is located in the home directory (~/), it is unique for each user, just like the ~/.emacs init file.