all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Hagelberg <phil@hagelb.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: emacs-devel@gnu.org
Subject: Re: Forcing reinstall in package.el
Date: Tue, 14 Dec 2010 17:27:55 -0800	[thread overview]
Message-ID: <AANLkTikGUX12eNmkE39u3BzQu8EM1Rp0XzEw_dbTHSG8@mail.gmail.com> (raw)
In-Reply-To: <87sjy03uyw.fsf@lifelogs.com>

2010/12/14 Ted Zlatanov <tzz@lifelogs.com>:
> On Tue, 14 Dec 2010 10:21:28 -0800 Phil Hagelberg <phil@hagelb.org> wrote:
>
> PH> While doing development of packages using package.el, I often find
> PH> myself reinstalling packages using M-x package-install-from-buffer.
> PH> However, this is a bit cumbersome because I have to remember to delete
> PH> the old version of the package out of my .emacs.d first. It would be
> PH> nice for package-install-from-buffer to be able to take a prefix
> PH> argument or something that would delete the package before attempting
> PH> to install it.
>
> PH> I volunteer to implement this if it's desired.
>
> Asking the user to give a prefix argument puts a burden on them.  Can
> `package-install-from-buffer' figure out if it needs to delete the old
> package on its own, with maybe a y-or-n prompt at the end?

To be honest, I'd prefer it if overwriting were the default behaviour
for all installations, but I hesitated to suggest a wide-sweeping
change like that. =) I agree that overwriting should probably be the
default for package-install-from-buffer especially; confirmation is
unnecessary.

-Phil



  reply	other threads:[~2010-12-15  1:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 18:21 Forcing reinstall in package.el Phil Hagelberg
2010-12-14 21:28 ` Ted Zlatanov
2010-12-15  1:27   ` Phil Hagelberg [this message]
2010-12-15 14:55     ` Ted Zlatanov
2010-12-15 20:06       ` Tom Tromey
2010-12-15 21:54         ` Ted Zlatanov
2010-12-29 20:08           ` Phil Hagelberg
2011-01-19 20:18             ` Ted Zlatanov
2011-02-10 18:05             ` [PATCH] " Phil Hagelberg
2011-02-12  1:18               ` Chong Yidong
2010-12-17  4:10         ` Stefan Monnier
2010-12-17 14:17           ` Tom Tromey
2010-12-17 14:48             ` Ted Zlatanov
2010-12-17 15:56               ` Tom Tromey
2010-12-18 15:42                 ` Ted Zlatanov
2010-12-21 15:42                   ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikGUX12eNmkE39u3BzQu8EM1Rp0XzEw_dbTHSG8@mail.gmail.com \
    --to=phil@hagelb.org \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.