From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: package.el dependencies Date: Mon, 26 Jan 2015 16:22:11 +0100 Message-ID: <87y4opd0t8.fsf@gmail.com> References: <87wq4dpqib.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422285756 17394 80.91.229.3 (26 Jan 2015 15:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 15:22:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 16:22:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFlUn-0004lh-A8 for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 16:22:33 +0100 Original-Received: from localhost ([::1]:42269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlUm-0004CB-Px for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 10:22:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlUY-0004Bt-Ov for emacs-devel@gnu.org; Mon, 26 Jan 2015 10:22:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFlUU-0006j1-Kh for emacs-devel@gnu.org; Mon, 26 Jan 2015 10:22:18 -0500 Original-Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:56351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlUU-0006iw-Dm for emacs-devel@gnu.org; Mon, 26 Jan 2015 10:22:14 -0500 Original-Received: by mail-wg0-f43.google.com with SMTP id y19so9608046wgg.2 for ; Mon, 26 Jan 2015 07:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=FOoyDHH7fSnXkOvU4rQNR5syngkRZSGQb9Vj2eCAnrE=; b=Gi577ylud8rXW3acvWm2HNKzLw7Q92QgNV2QXxgCP6wV/inH8hK3LR+8sY+HDJ9tk1 G7rL7Kx36GTaRuhnH+2TgcX9vuk2dnGWrEF7S3j4AwK+k5EZYR/JaRdfuC16bWZ3D0Hh DmDX1znzO4fd4kZZ4YxS7ucuwvdUN4p1dEVtX3/Xz2OWAycQi1y+bfEblmJB2hLobK/3 3uC2/J9MhwPXg8Ro21OFaYoKTrWByjdS3TL6Wy1IJlCAqROc6TK8wx3rPYipRPyWm+Aa qvfbPcE0QewKe2uPKboUBGOS7Kc+k8Cour7YaQ5/+zGZDgvAMU+ouJtifegB6QHftwCi sGnA== X-Received: by 10.180.198.51 with SMTP id iz19mr32975293wic.65.1422285733860; Mon, 26 Jan 2015 07:22:13 -0800 (PST) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPSA id v7sm14351430wib.5.2015.01.26.07.22.12 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 26 Jan 2015 07:22:13 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181789 Archived-At: Stefan Monnier writes: >> 1) Prevent (or warn) deleting a package if it is already used by another >> package as dependency. > > That'd be nice. Fixed with improved message showing the first conflict encountered which help deletion. >> 2) Store a list of packages installed explicitely (not as dependency) >> and provide an autoremove function such as apt-get autoremove. > > I already asked for help writing that (not much luck so far, tho), so > yes, that'd be very welcome, Done also, I only fail now to store variables with customize-set-variable, don't know why yet. I will give you more details and patch later, oops! I have no more time. BTW I use a local branch for this, what's the best way actually to show this branch for easier communication ? -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997