From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: Auto-installing =?UTF-8?Q?packages=3F?= Date: Fri, 14 Sep 2018 19:09:59 +1200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1536908918 29027 195.159.176.226 (14 Sep 2018 07:08:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 07:08:38 +0000 (UTC) User-Agent: Orcon Webmail Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 09:08:34 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 1g0iDS-0007Rn-BW for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 09:08:34 +0200 Original-Received: from localhost ([::1]:48992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0iFY-0004JZ-P8 for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 03:10:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0iFN-0004Ht-JX for emacs-devel@gnu.org; Fri, 14 Sep 2018 03:10:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0iF4-0007WW-7S for emacs-devel@gnu.org; Fri, 14 Sep 2018 03:10:21 -0400 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:50434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0iF1-00072k-53 for emacs-devel@gnu.org; Fri, 14 Sep 2018 03:10:13 -0400 Original-Received: from [10.253.37.70] (port=48072 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1g0iEp-0003sS-RT; Fri, 14 Sep 2018 19:10:00 +1200 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Fri, 14 Sep 2018 19:09:59 +1200 In-Reply-To: X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.59 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:229767 Archived-At: On 2018-09-14 13:51, Stefan Monnier wrote: > Maybe some way to have something along the line of autoloads but that > instead of loading the Elisp code from a locally installed package, > they > prompt the user explaining that this functionality requires installing > package FOO, etc? On the one hand I quite like that idea, and my first thought is that if Emacs by default knew about commands from GNU ELPA packages, then maybe more authors would actually be inspired to put their packages into the GNU ELPA package archive, which would be good. On the other hand I see the significant caveat that most of the packages in GNU ELPA are probably of no interest to any given user, and a large quantity of autoload declarations for irrelevant things clogging up the function namespace seems like it could very well be annoying. (Arguably no different to most of the regular autoloads, but I think that ELPA has the potential to become a *lot* larger.) We could always include a user option to say whether or not the GNU ELPA autoloads should be included in completions? If that was non-nil by default, new users get the benefits you're looking for, but people can disable the behaviour if they wish. -Phil