* Re: Alternate init file, take two
2005-09-20 7:32 ` Alternate init file, take two (was: Alternative init file) Mathias Dahl
@ 2005-09-20 7:45 ` Ralf Angeli
2005-09-21 7:42 ` Mathias Dahl
2005-09-20 8:48 ` David Hansen
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Ralf Angeli @ 2005-09-20 7:45 UTC (permalink / raw)
* Mathias Dahl (2005-09-20) writes:
>>> emacs -q --load ~/.emacs2
>>
>> OK, thanks everyone.
>
> One problem with this solution is that any customizations the user
> might do (using M-x customize), will be saved to ~/.emacs and not the
> alternative init file.
>
> Does anyone have any solution for this? Sometimes I want to start a
> more "light" Emacs with a smaller init file, but still be able to use
> the customize tool and save that to my smaller init file.
See (info "(emacs)Saving Customizations") in a CVS Emacs' info
documentation or `C-h v custom-file RET'.
--
Ralf
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Alternate init file, take two
2005-09-20 7:45 ` Alternate init file, take two Ralf Angeli
@ 2005-09-21 7:42 ` Mathias Dahl
0 siblings, 0 replies; 11+ messages in thread
From: Mathias Dahl @ 2005-09-21 7:42 UTC (permalink / raw)
Ralf Angeli <dev.null@iwi.uni-sb.de> writes:
> * Mathias Dahl (2005-09-20) writes:
>
>>>> emacs -q --load ~/.emacs2
>>>
>>> OK, thanks everyone.
>>
>> One problem with this solution is that any customizations the user
>> might do (using M-x customize), will be saved to ~/.emacs and not the
>> alternative init file.
>>
>> Does anyone have any solution for this? Sometimes I want to start a
>> more "light" Emacs with a smaller init file, but still be able to use
>> the customize tool and save that to my smaller init file.
>
> See (info "(emacs)Saving Customizations") in a CVS Emacs' info
> documentation or `C-h v custom-file RET'.
Aaah, great! That *exactly* what I wanted, thanks!
/Mathias
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Alternate init file, take two
2005-09-20 7:32 ` Alternate init file, take two (was: Alternative init file) Mathias Dahl
2005-09-20 7:45 ` Alternate init file, take two Ralf Angeli
@ 2005-09-20 8:48 ` David Hansen
2005-09-20 9:46 ` Alternate init file, take two (was: Alternative init file) Peter Dyballa
2005-09-20 9:49 ` Tim X
3 siblings, 0 replies; 11+ messages in thread
From: David Hansen @ 2005-09-20 8:48 UTC (permalink / raw)
On Tue, 20 Sep 2005 09:32:57 +0200 Mathias Dahl wrote:
> August Karlstrom <fusionfive@comhem.se> writes:
>
>> Henrik Enberg wrote:
>>>>
>>>> Is there a way to instruct Emacs to use an alternative
>>>> initialization file, something like
>>>>
>>>> $ emacs --init-file=~/.emacs2
>>> emacs -q --load ~/.emacs2
>>
> One problem with this solution is that any customizations the user
> might do (using M-x customize), will be saved to ~/.emacs and not the
> alternative init file.
(setq custom-file "~/.emacs-custom.el")
[...]
(load custom-file t)
David
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Alternate init file, take two (was: Alternative init file)
2005-09-20 7:32 ` Alternate init file, take two (was: Alternative init file) Mathias Dahl
2005-09-20 7:45 ` Alternate init file, take two Ralf Angeli
2005-09-20 8:48 ` David Hansen
@ 2005-09-20 9:46 ` Peter Dyballa
2005-09-20 9:49 ` Tim X
3 siblings, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2005-09-20 9:46 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 20.09.2005 um 09:32 schrieb Mathias Dahl:
> Does anyone have any solution for this? Sometimes I want to start a
> more "light" Emacs with a smaller init file, but still be able to use
> the customize tool and save that to my smaller init file.
>
Save .emacs temporarily under a different name! You can can do it in a
script that swabs big .emacs and .emacs light ...
--
Greetings
Pete
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
-- Rich Cook
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Alternate init file, take two (was: Alternative init file)
2005-09-20 7:32 ` Alternate init file, take two (was: Alternative init file) Mathias Dahl
` (2 preceding siblings ...)
2005-09-20 9:46 ` Alternate init file, take two (was: Alternative init file) Peter Dyballa
@ 2005-09-20 9:49 ` Tim X
3 siblings, 0 replies; 11+ messages in thread
From: Tim X @ 2005-09-20 9:49 UTC (permalink / raw)
Mathias Dahl <brakjoller@gmail.com> writes:
> August Karlstrom <fusionfive@comhem.se> writes:
>
> > Henrik Enberg wrote:
> >>>From: August Karlstrom <fusionfive@comhem.se>
> >>>Date: Mon, 19 Sep 2005 12:48:57 GMT
> >>>
> >>> Is there a way to instruct Emacs to use an alternative
> >>> initialization file, something like
> >>>
> >>> $ emacs --init-file=~/.emacs2
> >> emacs -q --load ~/.emacs2
> >
> > OK, thanks everyone.
>
> One problem with this solution is that any customizations the user
> might do (using M-x customize), will be saved to ~/.emacs and not the
> alternative init file.
>
> Does anyone have any solution for this? Sometimes I want to start a
> more "light" Emacs with a smaller init file, but still be able to use
> the customize tool and save that to my smaller init file.
>
There is a variable which you can set that will tell emacs where to
write customize settings. However, I do vaguely rememher some problems
with this in older versions of emacs - don't know how reliable it is
now.
Tim
--
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you
really need to send mail, you should be able to work it out!
^ permalink raw reply [flat|nested] 11+ messages in thread