Got a lot to learn in lisp but so far with
GNU Emacs 25.3.1 (x86_64-w64-mingw32)
of 2017-09-12
I'm trying to set it all up in Windows 10 to pick up just one .emacs init file but I can't configure emacs properly to see my .emacs file in C:/Users/Adam
.
According to How do I set a different location for the dot emacs .emacs file on Windows 7? I put
(setq user-init-file "C:/path/to/.emacs")
in my emacs c:\dev\tools\emacs\share\emacs\site-lisp\site-start.el
but this doesn't appear to have any effect.
I guess a simple command that will definitely work would be good to have. Any suggestions?
The main problem though right now is that my attempt to maximize the frame at startup isn't being read or isn't working:
(custom-set-variables '(initial-frame-alist (quote ((fullscreen . maximized)))))
(add-to-list 'default-frame-alist '(fullscreen . maximized))
but it's having no effect and I'm not seeing any errors.
Part of the problem is no doubt the way I start emacs in Windows as opposed to cygwin. I can start it from the windows toolbar with an icon doing:
C:\dev\tools\emacs\bin\emacsclientw.exe -na "" -c
or I can right click files and choose emacs which becomes associated with the file type in Windows.
Just as a note, I'm not able to edit my registry on this corporate computer so I'm unable to do several of the optimisations suggested for launching and running emacs under Windows.
HOME
environment variable? If not, do that first. – Drew Nov 03 '17 at 15:17