On Thu, Sep 13, 2012 at 7:13 PM, Z C wrote: > I just want emacs to load another file as the configuration file, and > ignore the default file ("~/.emacs"). > > Note that I don't want to change the original "~/.emacs" file. > > I've tried to change "$HOME" env variable, but it doesn't work. > If you mean you want to have emacs save the customization settings into some other file, then you need to add this code to ~/.emacs (setq custom-file "~/.emacs-custom.el") (load custom-file) More info here: http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Customizations.html HTH. Regards, Vineet