emacs-devel
[Top][All Lists]
Advanced

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

Re: Forcing reinstall in package.el


From: Ted Zlatanov
Subject: Re: Forcing reinstall in package.el
Date: Wed, 19 Jan 2011 14:18:56 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Wed, 29 Dec 2010 12:08:26 -0800 Phil Hagelberg <address@hidden> wrote: 

PH> 2010/12/15 Ted Zlatanov <address@hidden>:
>> I thought Phil was talking about an upgrade situation (version is same
>> or newer), not an unconditional overwrite even if the version is older.
>> Sorry if I misunderstood.
>> 
>> I don't think it's an error to install the same version.  You could have
>> modified your local version accidentally, for instance.  In that case it
>> should maybe warn you, but it's still a good thing to be able to overwrite.

PH> Reinstalling the same version is very common for package developers.

PH> I'm only talking about overwriting files. Since different versions
PH> live in different paths, if you choose to install an older/newer
PH> version that hasn't been installed yet, you won't get an overwrite
PH> warning either way, so that question is really orthogonal.

PH> The only question about my proposed change is whether overwriting
PH> already-installed packages should happen automatically or require a
PH> prompt/prefix. I suppose it would be possible to have local changes to
PH> your packages that you want to avoid blowing away, so requiring a
PH> prompt is slightly safer. I will work on a patch that does this unless
PH> there are further objections.

Thanks.  I look forward to testing it :)

Ted




reply via email to

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