From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: package.el dependencies Date: Wed, 28 Jan 2015 14:33:03 -0500 Message-ID: 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 1422473620 10017 80.91.229.3 (28 Jan 2015 19:33:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 19:33:40 +0000 (UTC) Cc: emacs-devel , Thierry Volpiatto To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 20:33:39 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 1YGYMq-0003kt-BW for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 20:33:36 +0100 Original-Received: from localhost ([::1]:55614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGYMp-0007Yl-GA for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 14:33:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGYMk-0007Vh-R5 for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:33:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGYMh-0005Q2-IC for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:33:30 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:52921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGYMh-0005Ps-Ei for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:33:27 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 061EE85CDD; Wed, 28 Jan 2015 14:33:27 -0500 (EST) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id F2F011E5B8B; Wed, 28 Jan 2015 14:33:03 -0500 (EST) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id CB2D2B4102; Wed, 28 Jan 2015 14:33:03 -0500 (EST) In-Reply-To: (Artur Malabarba's message of "Wed, 28 Jan 2015 08:47:58 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:181937 Archived-At: >> +(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 :-). I agree with Arthur's reaction to the docstring's message. But I think in reality the problem is in the docstring: there's nothing wrong with setting this variable via Custom (or via setq). We should very much support such usage. E.g. we should provide a command which makes sure that all packages in packages-installed-directly are indeed installed. So a user can copy her init file to a new computer and then use this command to auto-install all the packages she likes. Of course, this also hints at the fact that the name is not right. The name should be more along the lines of "user selected packages", or something like that. Stefan