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: Re: How to specify customized configuration file rather than "~/.emacs" ? Date: Fri, 14 Sep 2012 23:29:29 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043892bd3eff3f04c9ab1884 X-Trace: ger.gmane.org 1347636609 7590 80.91.229.3 (14 Sep 2012 15:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 15:30:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 17:30:13 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 1TCXqP-0003ye-AB for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 17:30:13 +0200 Original-Received: from localhost ([::1]:47704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCXqJ-00064N-V7 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 11:30:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCXq8-0005rb-SI for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:30:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCXq4-0000cV-5O for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:29:56 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:58354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCXq3-0000cN-Ul for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:29:52 -0400 Original-Received: by wgbdt14 with SMTP id dt14so2645428wgb.30 for ; Fri, 14 Sep 2012 08:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=1+BS8mBMnJ/qc5GWG1rUea+/CAo49h5wFnc45wWJbBI=; b=Mxxun4LK7vOUkMQvuPlN9il0tnT9F4H5HmhlGe8XdwVoYxaINqjNzU8th6F3OEL0/z Ja1PUlYHoNpW+FP4qYJFnfb1KEwaOxcXTao2yL2VYY1xNegelHbn8oNCChDZth6EYKiB fz8PuZAYLBY4rE6S9BqRuh4UIx9uZhMFY16bjaR0tWEYc187sRtaydbAyqYeQXxVvQWT NijWH1U22YOx/WtC4H7f3yXcjC34cbhHDcGAXdAliqIk8RKRfexjm3Hm4ehEh/Mj1pLz MScSNdb7mIxx/4DyCmrWAn9yTGg1tULHwk7fLxRDtpLoP0R/UCxXtJU3CpzYrjijPUWU yFEg== Original-Received: by 10.180.93.68 with SMTP id cs4mr48806804wib.14.1347636590214; Fri, 14 Sep 2012 08:29:50 -0700 (PDT) Original-Received: by 10.216.164.131 with HTTP; Fri, 14 Sep 2012 08:29:29 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: KYHeoh93HaGyM3VDGMqLtFW5oVI X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 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:86767 Archived-At: --f46d043892bd3eff3f04c9ab1884 Content-Type: text/plain; charset=ISO-8859-1 What I specifically need is that, let emacs treat another file as the "~/.emacs" file. This file should behaves EXACTLY as "~/.emacs" except that they have different file name. *That means, if I click Options -> Save Options, emacs would write changes to this specific file.* Start up option "-q" and "-l" doesn't solve this specific requirement. On Thu, Sep 13, 2012 at 9:43 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. > --f46d043892bd3eff3f04c9ab1884 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
What I specifically need is that, let emacs treat another file as the = "~/.emacs" file.
This file should behaves EXACTLY as &q= uot;~/.emacs" except that they have different file name.

That means, if I click Options -> Save Options, e= macs would write changes to this specific file.

Start up option "-q" and "-l" doesn't solve = this specific requirement.


On Thu, Sep 13, 2012 at 9:43 PM, Z C <zc= nnbb@gmail.com> 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" f= ile.

I've tried to change "$HOME" env va= riable, but it doesn't work.

--f46d043892bd3eff3f04c9ab1884--