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: Wed, 28 Jan 2015 12:58:19 +0100 Message-ID: <87bnljdsmc.fsf@gmail.com> References: <87wq4dpqib.fsf@gmail.com> <87zj93uzuo.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422446334 13740 80.91.229.3 (28 Jan 2015 11:58:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 11:58:54 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 12:58:53 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 1YGRGk-0006bP-UU for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 12:58:51 +0100 Original-Received: from localhost ([::1]:52713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGRGk-0005D3-DI for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 06:58:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGRGQ-0005Bo-Fj for emacs-devel@gnu.org; Wed, 28 Jan 2015 06:58:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGRGN-0003Bb-AP for emacs-devel@gnu.org; Wed, 28 Jan 2015 06:58:30 -0500 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:54470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGRGN-0003B7-3K for emacs-devel@gnu.org; Wed, 28 Jan 2015 06:58:27 -0500 Original-Received: by mail-wi0-f176.google.com with SMTP id bs8so3052650wib.3 for ; Wed, 28 Jan 2015 03:58:26 -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=DxCH5Q3jX85jywomY8fKzieM2gDrXjVS1sHX5Vp5F4M=; b=Av0019uLQZSRYj98EMkOhJZUuUPLxuwSMk8yvVm1fMeDXhnZ4ZGDZIjVEPS5NkdpQ8 icOOvHh4L7pawz6m14cU6ETlZyPP4SilSouq3DNl8zWrovHDNp79Th0+qjBGK20gQ91i vSByfpe75kfaXiizSdYsTKbGiMUIosRKOdAKWAVQJWqyvqfyJWTxTyuWuzOsKQXfXeAB dcEih3zbgxS2BXCHQFhliJt12/Mx9pRs8Vakw0QbIf8tWwhC15l0QwQBV0FF2ZI4CtwX 8ncSuzsWhSCKLUkUWFN85Pw1DnhyWGK2+0YA5bk3UMZseSbWHVmHWayLBPKe4EYdjcFj cfQQ== X-Received: by 10.194.110.69 with SMTP id hy5mr6491436wjb.121.1422446306262; Wed, 28 Jan 2015 03:58:26 -0800 (PST) Original-Received: from dell-14z ([37.163.92.236]) by mx.google.com with ESMTPSA id hz9sm5796092wjb.17.2015.01.28.03.58.23 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 28 Jan 2015 03:58:25 -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:c05::230 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:181899 Archived-At: Artur Malabarba writes: > Hi, > I'll read the rest later, but I just wanted to say one thing before leaving the house. > > On 28 Jan 2015 05:30, "Thierry Volpiatto" wrote: >> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el >> index 88fc950..df3a108 100644 >> --- a/lisp/emacs-lisp/package.el >> +++ b/lisp/emacs-lisp/package.el >> @@ -333,6 +333,15 @@ contents of the archive." >> :group 'package >> :version "24.4") >> >> +(defcustom packages-installed-directly nil >> + "Store here packages installed explicitely by user. >> +This variable will be feeded automaticaly by emacs, >> +so you should not modify it yourself. > > Then don't make it a defcustom :-). `customize-save-variable' will > work on any variable (even unbound ones), so a defvar is enough here. In fact the variable stored will not be loaded at initialization if it is not a defcustom, so I leave it like this for now as it is working fine like this. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997