[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
windows.
>
> I think that's only acceptable if there's no good way to do The Right
Thing.
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
changes.
> 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
- Re: Emacs Installer for MS Windows, (continued)
- Re: Emacs Installer for MS Windows, Stefan Monnier, 2004/08/23
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/24
- Re: Emacs Installer for MS Windows, Stefan Monnier, 2004/08/24
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/24
- Re: Emacs Installer for MS Windows, Stefan Monnier, 2004/08/24
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/24
- Re: Emacs Installer for MS Windows, Stefan, 2004/08/24
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/26
- Re: Emacs Installer for MS Windows, David Kastrup, 2004/08/26
- Re: Emacs Installer for MS Windows, Stefan Monnier, 2004/08/26
- Re: Emacs Installer for MS Windows,
Lennart Borgman <=
- Re: Emacs Installer for MS Windows, Eli Zaretskii, 2004/08/25
- Re: Emacs Installer for MS Windows, Peter 'Luna' Runestig, 2004/08/25
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/25
- Re: Emacs Installer for MS Windows, Eli Zaretskii, 2004/08/25
- Re: Emacs Installer for MS Windows, Vinicius Jose Latorre, 2004/08/26
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/26
- Re: Emacs Installer for MS Windows, Vinicius Jose Latorre, 2004/08/26
- Re: Emacs Installer for MS Windows, Stefan Monnier, 2004/08/26
- Re: Emacs Installer for MS Windows, Gian Uberto Lauri, 2004/08/26
- Re: Emacs Installer for MS Windows, Lennart Borgman, 2004/08/26