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:47:01 -0400 Message-ID: References: <83tw12cocz.fsf@gnu.org> <83wp5xat6i.fsf@gnu.org> <83pobk9aly.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503636443 25050 195.159.176.226 (25 Aug 2017 04:47:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2017 04:47:23 +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:47:18 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 1dl6WX-000651-E5 for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2017 06:47:13 +0200 Original-Received: from localhost ([::1]:51496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6We-0000hT-6E for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2017 00:47:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6WT-0000fj-83 for emacs-devel@gnu.org; Fri, 25 Aug 2017 00:47:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dl6WQ-0001D1-5E for emacs-devel@gnu.org; Fri, 25 Aug 2017 00:47:09 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:52712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl6WQ-0001Bv-0C; Fri, 25 Aug 2017 00:47:06 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v7P4l2AC025007; Fri, 25 Aug 2017 00:47:02 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D330D6636A; Fri, 25 Aug 2017 00:47:01 -0400 (EDT) In-Reply-To: (Radon Rosborough's message of "Thu, 24 Aug 2017 21:28:55 -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 <1760070> : uri <2489385> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:217804 Archived-At: > That tells how to unload the feature , not how to undo the > effects of the autoloads for all features in the package. Sure, the > package can provide metadata that tells how to undo its autoloads, but > this will be an additional system separate from -unload-function. I didn't mean unload-feature and -unload-function literally. Just that we'd use the same kind of code as used in unload-feature (except use it to unload -autoload.el, which is a file rather than a feature), and that -autoload.el would have to provide some kind of unload function in order to deal with the parts that unload-feature doesn't do automatically. > P.S. I notice you keep saying ~/.emacs. Is that out of > habit/convenience? Yes, habit as well as conciseness. > I thought ~/.emacs was deprecated in favor of > ~/.emacs.d/init.el. I can't remember if we truly declared it as deprecated, but yes, it's something like that. BTW any new config file should not be named ~/.emacs.d/.foobar.el but ~/.emacs.d/foobar.el. Stefan