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: Summary and next steps for (package-initialize) Date: Fri, 25 Aug 2017 00:39:20 -0400 Message-ID: References: <83tw12cocz.fsf@gnu.org> <83wp5xat6i.fsf@gnu.org> <83pobk9aly.fsf@gnu.org> <837exs9603.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503635985 2688 195.159.176.226 (25 Aug 2017 04:39:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2017 04:39:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Radon Rosborough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 25 06:39:41 2017 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 1dl6P3-0008Of-7z for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2017 06:39:29 +0200 Original-Received: from localhost ([::1]:51467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6PA-0006jD-4m for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2017 00:39:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6P1-0006ix-Sr for emacs-devel@gnu.org; Fri, 25 Aug 2017 00:39:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dl6Oy-0005pn-PB for emacs-devel@gnu.org; Fri, 25 Aug 2017 00:39:27 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6Oy-0005pP-JE; Fri, 25 Aug 2017 00:39:24 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v7P4dKFe010223; Fri, 25 Aug 2017 00:39:21 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BD55A6636A; Fri, 25 Aug 2017 00:39:20 -0400 (EDT) In-Reply-To: (Radon Rosborough's message of "Thu, 24 Aug 2017 20:59:49 -0700") 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, RV6101=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6101> : inlines <6037> : streams <1760069> : uri <2489382> 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:217802 Archived-At: >> I was thinking of doing it via unload-feature > Isn't this out of scope for unload-feature? After all, > package-initialize does not load features. Indeed, the `unload-feature` function isn't designed quite for that, so we'd want to use another function for it, but it would basically mean extract the bulk of unload-feature into a new function and use it for both unload-feature as well as the package.el deactivation. >> if it doesn't work quite-right, it's a bug in the package. > I think if we take an approach like this, we'll end up uncovering > quite a few bugs, indeed. And I worry that this will result in people > thinking that package.el is buggy, since the bugs will only show up > when people use package.el, as opposed to any other package manager or > as opposed to loading the packages manually. Unloading a -autoload.el should be a fairly unusual occurrence, so most users should be unaffected. Stefan