From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chat Newsgroups: gmane.emacs.help Subject: Re: Selecting diferent init file from command switch Date: Sun, 24 Aug 2008 12:05:39 -0700 Organization: Noname Inc. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219606964 7471 80.91.229.12 (24 Aug 2008 19:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 19:42:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 24 21:43:37 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXLUu-0007CQ-IO for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Aug 2008 21:43:36 +0200 Original-Received: from localhost ([127.0.0.1]:51644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXLTw-0003gF-O5 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Aug 2008 15:42:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi067.nbdc.sbc.com.POSTED!1c384869!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:8FBg5zIcmvSZHRPWA70WdpN0H5Q= Original-Lines: 31 Original-NNTP-Posting-Host: 76.202.60.214 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: nlpi067.nbdc.sbc.com 1219604745 ST000 76.202.60.214 (Sun, 24 Aug 2008 15:05:45 EDT) Original-NNTP-Posting-Date: Sun, 24 Aug 2008 15:05:45 EDT X-UserInfo1: TSU[@IONVBTQB\X[KROJJ^UDFZ\@@FXLM@TDOCQDJ@_@FNTBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Original-Xref: news.stanford.edu gnu.emacs.help:161596 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56940 Archived-At: TheLonelyStar writes: > Hello, > > I use emacs: > a) As an IDE > b) As an simple Editor for my configs > > For the IDE I am loading a lot of stuff like cedet and ecb. > For the simple Editor, I do not/need that. > > So I created 2 different init files: .emacs-ide, .emacs-editor! > > But I do I tell emacs, that it should not loa ~/.emacs but i.E. > ~/.emacs-ide??? > > Thanks! > Nathan > -- > View this message in context: http://www.nabble.com/Selecting-diferent-init-file-from-command-switch-tp19129531p19129531.html > Sent from the Emacs - Help mailing list archive at Nabble.com. I prefer to keep a .emacs file for common customizations and load or not load files depending on the requirement. To avoid loading gnuserv with multiple instances, I invoke as emacs --val "(setq nobs 1)" and in my .emacs (when (not (boundp 'nobs)) ;; gnuserv specific code )