[Top][All Lists]
[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: |
Fri, 17 Dec 2010 08:48:27 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Fri, 17 Dec 2010 07:17:51 -0700 Tom Tromey <address@hidden> wrote:
>>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:
Tom> I think the current behavior is better.
Tom> Usually installing something that has the same or lesser version is a
Tom> user error. Only a subset of users will actually want to
Tom> force-overwrite a package.
Stefan> I mostly agree, but also agree that reinstalling is an important case.
Stefan> Is there any reason prompting the user is not a good solution?
Tom> As long as the prompt is clear that this is probably not what you meant,
Tom> I guess it is ok.
How about handling the two cases (same and older version) separately:
"Do you really want to install the same version of %s again? (y/n/Y/N) "
"You have %s version %s installed, are you sure you want the older version %s?
(y/n/Y/N) "
...and the user can turn those prompts off with package-expert-noprompts
or something like that.
Ted
- Forcing reinstall in package.el, Phil Hagelberg, 2010/12/14
- Re: Forcing reinstall in package.el, Ted Zlatanov, 2010/12/14
- Re: Forcing reinstall in package.el, Phil Hagelberg, 2010/12/14
- Re: Forcing reinstall in package.el, Stefan Monnier, 2010/12/16
- Re: Forcing reinstall in package.el, Tom Tromey, 2010/12/17
- Re: Forcing reinstall in package.el,
Ted Zlatanov <=
- Re: Forcing reinstall in package.el, Tom Tromey, 2010/12/17
- Re: Forcing reinstall in package.el, Ted Zlatanov, 2010/12/18
- Re: Forcing reinstall in package.el, Tom Tromey, 2010/12/21