Hey jazper,
Here's what my Emacs setup looks like on my Windoze desktop at work. (In the following "directory" means "folder" and vice versa, as usual.)
1. I installed Emacs into my
AppData/Local directory -- I too don't have admin privs at work. (However, you can install it anywhere.) So precisely, I have a directory
Code: Select all
C:/Users/rick/AppData/Local/emacs-24.3
that contains the distro's files (the ones in
the .7z distro file). The directory listing looks like this.
Code: Select all
C:/Users/rick/AppData/Local/emacs-24.3/
bin/
etc/
info/
leim/
lisp/
site-lisp/
BUGS
COPYING
README
README.W32
And I do NOT touch the contents of this directory -- anything I change is under my user (HOME) directory in the folder called
.emacs.d.
2. Speaking of that, my Emacs user config is in the directory
The following listing shows what's in there.
Code: Select all
C:/Users/rick/.emacs.d/
auto-save-list/
newlisp-mode/
newlisp.el
init.el
(BTW the folder
auto-save-list is created and maintained by Emacs. The rest --
newlisp-mode/newlisp.el and
init.el are the files I created there.)
In the above directory listings, anything that ends in a slash (/) is a folder, and anything that is indented further than what's immediately above it at a lower indentation, means containment -- for instance, this:
means that
newlisp-mode is a directory that contains a file
newlisp.el. Hope that's clear.
Now, the contents of your
init.el file (in your
.emacs.d directory) should be something like -- or exactly -- the following (which is copied from a previous posting, but I include here without the comments).
Code: Select all
(setq dotemacsdotd-dir (file-name-as-directory (expand-file-name "~/.emacs.d")))
(column-number-mode t)
(setq-default indent-tabs-mode nil)
(global-font-lock-mode t)
(add-to-list 'load-path
(file-name-as-directory
(concat dotemacsdotd-dir "newlisp-mode")))
(require 'newlisp)
(add-to-list 'auto-mode-alist '("\\.lsp$" . newlisp-mode))
(add-to-list 'interpreter-mode-alist '("newlisp" . newlisp-mode))
And the contents of
newlisp.el (in the
.emacs.d/newlisp-mode directory) should be what's in this resource:
http://www.newlisp.org/code/newlisp.el.
3. Well, that's all I did as far as file setup (starting from in a clean system, i.e. no Emacs). The only other config, outside of the files, is that I set up this environment variable:
I believe Emacs wants to see this -- that's how it finds your
.emacs.d directory.
Also, you have probably already done this -- but just for the sake of completion -- I set the environment variable
Code: Select all
NEWLISPDIR = C:/Users/rick/AppData/Local/newlisp
(Notice in the above that I also installed newLISP into
AppData/Local. Hehehe.) and I put newLISP's location (which is the same as the value of NEWLISPDIR) in my PATH. Putting newLISP in your PATH is important because when newlisp-mode wants to start a newLISP session, it only uses the bare command "newlisp" to do it.
If you have any error messages or problems beyond that, I'll be glad to help, but I just wanted to be sure that you have these fundamentals squared away. So, go check your setup, make sure it's basically like this, and report back any exception messages you get after verifying/aligning your basic setup. It will be easier to proceed with troubleshooting this way.
(And you can PM me here if you prefer.)