help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting diferent init file from command switch


From: Chat
Subject: Re: Selecting diferent init file from command switch
Date: Sun, 24 Aug 2008 12:05:39 -0700
User-agent: Emacs Gnus

TheLonelyStar <nabble@lonely-star.org> 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
)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]