[Top][All Lists]

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

Re: Emacs Installer for MS Windows

From: Lennart Borgman
Subject: Re: Emacs Installer for MS Windows
Date: Thu, 26 Aug 2004 23:41:11 +0200

----- Original Message ----- 
From: "Stefan Monnier" <address@hidden>

> >> As Stefan has pointed out to me this will only affect the user that is
> >> installing Emacs.  However I think that is no big problem on ms
> I think that's only acceptable if there's no good way to do The Right

I really think TRT is undoable here. I will instead leave Emacs untweaked
for other users.

> > (customize-set-value 'custom-var "custom value")
> > ...
> > (customize-save-customized)
> Yes, that's better.

It looks better, but it however has one big fault - it does not save the

>  But the problem is still here: this will only affect
> the current user, and (worse) this will modify his .emacs, potentially
> throwing away some of his own customizations.

It seems acceptable to modify .emacs if I ask first.

> My take on it is to create a site-start.el (or default.el) file which does
> something along the lines of:
> (unless (file-exists-p "~/.emacs")
>   (customize-set-value 'custom-var1 "custom value1")
>   (customize-set-value 'custom-var2 "custom value2")
>   (customize-set-value 'custom-var3 "custom value3"))

There have been many good points on this and this is one. The essential
thing as I understand it is to honor the users setting. My first idea has
been to create a minor mode for the w32 tweaks. Maybe I still can do this,
but the discussion shows I have to be very careful then.

- Lennart

reply via email to

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