[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Re: Emacs setup helper and msi installer

From: Jason Rumney
Subject: Re: [h-e-w] Re: Emacs setup helper and msi installer
Date: Mon, 22 Aug 2005 22:00:49 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Brian Elmegaard <address@hidden> 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
~/.emacs (or ~/_emacs as a fallback)

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 
    :type 'boolean
    :group 'local)

  (if site-default-use-gnuserv
      (if (require 'gnuserv nil t)
            (condition-case ()
              (error (message "gnuserv binary not installed")))
            (setq gnuserv-frame (selected-frame)))
          "Cannot enable use of Emacs from external processes.
    Gnuserv is not installed.
    Download gnuserv from "
          (if (equal system-type 'windows-nt)

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]