From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Z C Newsgroups: gmane.emacs.help Subject: How to specify customized configuration file rather than "~/.emacs" ? Date: Thu, 13 Sep 2012 21:43:45 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428f3448117204c9958085 X-Trace: ger.gmane.org 1347543866 29823 80.91.229.3 (13 Sep 2012 13:44:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 13:44:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 15:44:30 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TC9iV-0005xd-QL for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 15:44:27 +0200 Original-Received: from localhost ([::1]:51301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC9iS-0001BY-1f for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 09:44:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC9iH-0001BP-Nl for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 09:44:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TC9iC-0000yK-2Q for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 09:44:13 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:64116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC9iB-0000y8-RU for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 09:44:07 -0400 Original-Received: by weys10 with SMTP id s10so1869216wey.0 for ; Thu, 13 Sep 2012 06:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=uwZEpQV1Z0G8t/liIzsVe6cjh48bUXzGXTshGso9scQ=; b=DHLdOG3recJKNVKx98iT20VKvmb69qHaZQ6OgLUDiHM7kkPpUm2qxjZNjt5mikRhE1 g8GoABgqqKs48mIebvlwzd43RlFGco80/p+ssCjAti2CSG5yDPRAhygjz3De7cMqLbZI tHMyVvxAaa+CrpvaZ63kaxb/nQPATpo2WqcxQG2eOJ74p8l9LdrVsZa4tOUIYyW4NNbe cgkbbAuwl79tMt6uiKmy9r44qZJWWAA9yqrFKYm/Lr/1faJAUi4snOR5zdCzHpYEWhl1 JSAt7JiWhP9DVx9P00x+uol88SejnEF3A8cFcC6FmuITlbpFN9oqA9d2GPRwIWeXXlWK vu8w== Original-Received: by 10.180.8.41 with SMTP id o9mr5039999wia.3.1347543846359; Thu, 13 Sep 2012 06:44:06 -0700 (PDT) Original-Received: by 10.216.164.131 with HTTP; Thu, 13 Sep 2012 06:43:45 -0700 (PDT) X-Google-Sender-Auth: Eb7dWz7kaoDrV-QK6B35GOW5wX8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86743 Archived-At: --f46d04428f3448117204c9958085 Content-Type: text/plain; charset=ISO-8859-1 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. --f46d04428f3448117204c9958085 Content-Type: text/html; charset=ISO-8859-1
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.
--f46d04428f3448117204c9958085--