From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: How to specify customized configuration file rather than "~/.emacs" ? Date: Thu, 13 Sep 2012 19:42:59 +0530 Message-ID: <87oblaxb84.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347545542 13267 80.91.229.3 (13 Sep 2012 14:12:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 14:12:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Z C Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 16:12:25 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 1TCA9Z-0004t0-77 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 16:12:25 +0200 Original-Received: from localhost ([::1]:42979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCA9U-0005in-Td for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 10:12:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCA9K-0005iV-ES for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:12:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCA9E-0002ca-8q for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:12:10 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:53810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCA9E-0002cP-1F for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:12:04 -0400 Original-Received: by pbbro12 with SMTP id ro12so4613983pbb.0 for ; Thu, 13 Sep 2012 07:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=lbzB52Idq8RROwTtYGK8Kdhj0yZWPCOs8uTVMfNGODI=; b=QPFTUahTtjr/OCgZdT53i2/iIkBQLCQsqUkdexh3OWlVnKEp7FnLQRh+K8cPzhAxwY X0jMlOwyglK+lGpJ7PHEpw3Ob28btmN2DegQ0r+QZUrqJzDLv0RxWUFBrhpxC8MdhAAF r7fseXllb8EpdKaWvpFX9ThrLU44kNOqVrfG3AlhFfougKJ6QOAj71JvVxPFYFdnKVNB 2ufDmUmfGcUh6pzgLn6F1f1emc2J+PfMHN+WRaomDlYVGpS35h5h+SXGdwa1Avl+sKcl 1ssC2hxpy6QYmOqxAFtnwjC2GSYnktwsL6m6CY5I3zJ8OtXtEU6O4/dQjq/KLcjHPH5R C7Pg== Original-Received: by 10.68.227.233 with SMTP id sd9mr4939879pbc.48.1347545523085; Thu, 13 Sep 2012 07:12:03 -0700 (PDT) Original-Received: from debian-6.05 ([115.184.36.116]) by mx.google.com with ESMTPS id gf3sm13132859pbc.74.2012.09.13.07.12.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 07:12:02 -0700 (PDT) In-Reply-To: (Z. C.'s message of "Thu, 13 Sep 2012 21:43:45 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:86746 Archived-At: Z C writes: > 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. > Load emacs with custom options. ,---- | $ emacs --help | grep load | | --no-desktop do not load a saved desktop | --no-init-file, -q load neither ~/.emacs nor default.el | --no-site-file do not load site-start.el | --user, -u USER load ~USER/.emacs instead of your own | --directory, -L DIR add DIR to variable load-path | --load, -l FILE load Emacs Lisp FILE using the load function `---- --