There's a huge literature on the topic, but, nevertheless, I cannot get this done. My ultimate goal is to work with fstar on Microsoft Windows.
C-x C-f
resolves ~
as C:/Users/myname
which is in line with my HOME
environment variable in the Environmental variables Windows section.
(expand-file-name user-emacs-directory)
, as described here yields, C:/Users/myname/.emacs.d/
In C:/Users/myname/.emacs.d/
I have placed .emacs.el
and init.el
with the suggested script:
(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize)
However M-x
returns undefined, no matter if I start Emacs with or without the -q
flag (see here). My "Messages" buffer is empty".
.emacs.el
andinit.el
. – phils.el
, I tried both alternatives – NoIdeaHowToFixThisemacs -q
), so I wonder if there's confusion over whatM-x
means. Can you describe in detail exactly which keys on your keyboard you are typing? I would expect on Windows that you would hold the leftAlt
key and pressx
. Failing that, doesESC
thenx
behave differently? – philsAlt
and thenx
. In the meanwhile, I tried the very same installation steps on a different machine and everything works. I think I will close this question - it's just too much of a hard work to get this fixed and have no idea how to move forward. – NoIdeaHowToFixThis