I've recently run into complications regarding elpy and setting up virtual environments (see other questions) which have brought me back to a more fundamental issue that I must resolve before I continue integrating python functionality into emacs.
- My HOME environment variable is located in
- My root emacs install folder is located in
.emacs~files are also located in
- The .emacs.d folder is also located in
c:\users\robby parliamentand contains the following items:
> - c:\users\robby parliament > --- .emacs.d > ----- auto-save-list > ----- elpa > ----- elpy > ----- snippets > ----- url
- When I move the
.emacs~files into the
.emacs.dfolder I lose my theme (dracula), why is this so?
- In response to the above question I figured I must change the HOME environment variable to `c:\users\robby parliament.emacs.d, so when I do that I get the following warning/error:
Warning (initialization): An error occurred while loading ‘c:/Users/Robby Parliament/.emacs.d/.emacs’: Symbol's function definition is void: elpy-enable To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.
- Then when I move the
.emacs~files into the
c:\users\robby parliament\.emacs.dthe warning is now gone yet the theme is still gone. I've watched LigerLearn's tutorial on setting up emacs and the customization of the file paths several times but I feel like I'm still not understanding a fundamental concept which is bringing me all these warnings and errors. What am I doing wrong?
Also, this is within my
;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"]) '(custom-enabled-themes (quote (dracula))) '(custom-safe-themes (quote ("b46ee2c193e350d07529fcd50948ca54ad3b38446dcbd9b28d0378792db5c088" default))) '(display-line-numbers t) '(package-archives (quote (("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "http://stable.melpa.org/packages/")))) '(package-selected-packages (quote (flymake elpy dracula-theme))) '(ring-bell-function (quote ignore)) '(visible-bell nil)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) '(setq visible-bell 1) (elpy-enable) (define-key yas-minor-mode-map (kbd "C-c k") 'yas-expand) (define-key global-map (kbd "C-c o") 'iedit-mode)