Brian Elmegaard <[EMAIL PROTECTED]> writes: >> Because you are already past the point where the init-file is loaded. > > Is that true? I added it to c:/Program > Files/Emacs/Emacs-21.3/site-lisp/default.el. > > I thought the loading procedure was: > default.el > site-start.el > ~/_emacs
The loading procedure is site-start.el ~/.emacs (or ~/_emacs as a fallback) default.el This allows users to make settings in .emacs that affect things in default.el. If you are setting up default.el for a site, you should enclose things in blocks as follows, to allow users to control what is loaded through customize: (defcustom site-default-use-gnuserv t "*Non-nil will enable gnuclient/gnudoit. Changes will take effect next time Emacs is started. This allows external interaction with a running Emacs. Default is off, since gnuserv requires the gnuserv/gnuclient/gnudoit binaries." :type 'boolean :group 'local) (if site-default-use-gnuserv (if (require 'gnuserv nil t) (progn (condition-case () (gnuserv-start) (error (message "gnuserv binary not installed"))) (setq gnuserv-frame (selected-frame))) (message (concat "Cannot enable use of Emacs from external processes. Gnuserv is not installed. Download gnuserv from " (if (equal system-type 'windows-nt) "http://www.wyrdrune.com/gnuserv.html.") "http://www-uk.hpl.hp.com/people/ange/gnuserv/")))) > For some reason my emacs home is c: > That would not be possible to use on our system. Is there a way out? > > I thought HOME could be c:/documents and settings/username In a recent CVS Emacs, HOME defaults to your AppData directory if C:\.emacs does not already exist.