From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Auto-installing packages? Date: Tue, 18 Sep 2018 17:05:22 -0400 Message-ID: References: <87a7okkw3v.fsf@russet.org.uk> <877ejks5su.fsf@russet.org.uk> <87wori4weh.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537304694 25336 195.159.176.226 (18 Sep 2018 21:04:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2018 21:04:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 23:04:49 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2NAs-0006Os-IB for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 23:04:46 +0200 Original-Received: from localhost ([::1]:42584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2NCy-0005w6-Nf for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 17:06:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2NBc-0005WW-5N for emacs-devel@gnu.org; Tue, 18 Sep 2018 17:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2NBW-0002Zy-HF for emacs-devel@gnu.org; Tue, 18 Sep 2018 17:05:32 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2NBW-0002WF-9m for emacs-devel@gnu.org; Tue, 18 Sep 2018 17:05:26 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w8IL5M4Z001237; Tue, 18 Sep 2018 17:05:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 724A66A64E; Tue, 18 Sep 2018 17:05:22 -0400 (EDT) In-Reply-To: <87wori4weh.fsf@russet.org.uk> (Phillip Lord's message of "Tue, 18 Sep 2018 17:12:38 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6376=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6376> : inlines <6884> : streams <1798840> : uri <2713257> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:229954 Archived-At: > Yes. Although, in this case, I have put the packages I want to install > into my .emacs. So not "silent" at that point. I am doing something > concrete. Not "am doing": "have done". It's quite different. A big part of the prompt is to ask whether we should do it *now*. > It's easy to add, although I suspect answering "Y" would become part of > the muscule memory. I doubt it (it's supposed to be something that occurs rarely, so muscle memory probably wouldn't come into play), but in any case I don't think it's a problem if it builds into someone's muscle memory. > I forget how package.el works, but it inherits behaviour from that. So, > it will update the package-list (i.e. call home) if your .emacs.d/elpa > is empty. It doesn't do asynchronously, currently. It only does it in response to something like `M-x package-list-packages`. [ And IIUC it currently doesn't do it in response to `M-x package-install` even it probably should. ] Stefan