unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Forcing reinstall in package.el
Date: Tue, 14 Dec 2010 15:28:23 -0600	[thread overview]
Message-ID: <87sjy03uyw.fsf@lifelogs.com> (raw)
In-Reply-To: AANLkTimSGUHG2jEiXtWGvveExrRHgaG5rd6hUj-2w-9D@mail.gmail.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?

Ted




  reply	other threads:[~2010-12-14 21:28 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 [this message]
2010-12-15  1:27   ` Phil Hagelberg
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87sjy03uyw.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).