From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: feature/integrated-elpa 4f6df43 15/23: README added Date: Thu, 20 Oct 2016 10:22:57 +0300 Message-ID: <83wph3trfy.fsf@gnu.org> References: <20160916203414.25203.87032@vcs.savannah.gnu.org> <87mvi5spl9.fsf@Rainer.invalid> <83mvi51y3b.fsf@gnu.org> <87instslxu.fsf@russet.org.uk> <83inst1vut.fsf@gnu.org> <87eg3ekjz2.fsf@russet.org.uk> <83vawpx677.fsf@gnu.org> <87h989ixxd.fsf@russet.org.uk> <83mvi1ww6m.fsf@gnu.org> <87wph5fw0w.fsf@russet.org.uk> <838ttlwodt.fsf@gnu.org> <878ttl3342.fsf@Rainer.invalid> <8360opwjs2.fsf@gnu.org> <8760oosrn8.fsf@russet.org.uk> <83shrsvj3g.fsf@gnu.org> <86twc8r8gw.fsf@realize.ch> <83r37cvfo6.fsf@gnu.org> <86oa2gr7jb.fsf@realize.ch> <86k2d4r5y5.fsf@realize.ch> <87bmygfjso.fsf@russet.org.uk> <86bmygqh49.fsf@realize.ch> <87shrs6qak.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476948259 9532 195.159.176.226 (20 Oct 2016 07:24:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2016 07:24:19 +0000 (UTC) Cc: Stromeko@nexgo.de, a.s@realize.ch, 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 Thu Oct 20 09:24:14 2016 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 1bx7hp-0000mu-Jx for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2016 09:24:01 +0200 Original-Received: from localhost ([::1]:52893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx7hq-0002bc-Sv for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2016 03:24:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx7h4-0002a9-Ds for emacs-devel@gnu.org; Thu, 20 Oct 2016 03:23:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bx7h0-0007SE-En for emacs-devel@gnu.org; Thu, 20 Oct 2016 03:23:14 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx7h0-0007S6-BN; Thu, 20 Oct 2016 03:23:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bx7gz-0003Zp-E9; Thu, 20 Oct 2016 03:23:09 -0400 In-reply-to: <87shrs6qak.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:208528 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: Eli Zaretskii , , > Date: Wed, 19 Oct 2016 21:24:03 +0100 > > > - emacs -Q > > > > - Eval the following fragment, after having replaced [path-to] to the > > proper path where the example was extracted to: > > > > (push "[path-to]/deprecated-feature-example/foo-package-1.0" load-path) > > (push "[path-to]/deprecated-feature-example/foo-package-2.0" load-path) > > (require 'foo-old) > > => an error will be signaled "foo-old is no longer supported..." > > > > But don't get me wrong. I really don't think this will be the usual > > case. In most if not all packages, accounting for such misuses won't be > > required at all. I just wanted to prove it's not an unsolvable problem. > > I like this, and it gives a nice error message of deprecation, and I > think that is good. But this is a solution which requires package > developers to explicitly support declarations of deprecation. If this is what we want, I see no reason to require such support in the packages that will be bundled. They are Emacs core packages for all purposes, so we are requiring this from ourselves.