I already looked through other topics, but I still couldn't find a solution. I'm trying to install "nxhtml" plugin for Emacs in windows 7. I already setup my "HOME" environment variable as "C:\". So, my .emacs.d folder is there, and I put the nxhtml in there and added the following line to my "_emacs.d" file, as the readme says:
(load "C:\.emacs.d\nxhtml\autostart.el")
But it doesn't load.
I also tried putting: (add-to-list 'load-path "C:\.emacs.d\nxhtml")
(load "autostart.el")
But to no avail... can anyone shed some light here? tnx.
\
is special in the (double-quote) read syntax for strings, as certain characters take on a new meaning when prefixed by a backslash (e.g.\n
is a newline,\t
is a tab, and\"
is a double-quote character). When the following character does not have any special meaning in conjunction with the backslash, that character is used verbatim, and the backslash is ignored."C:\.emacs.d\nxhtml\autostart.el"
is actually the string:To include a
\
in the string you need to write\\
However, although it will understand the backslashes, Emacs is nowadays consistent across all platforms in allowing
/
as a directory separator1; so just do that instead.1 and the obsolete
directory-sep-char
variable has been removed entirely.