From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15201: 24.2; extensions/enhancements to package.el Date: Tue, 27 Aug 2013 21:12:54 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377652522 28828 80.91.229.3 (28 Aug 2013 01:15:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2013 01:15:22 +0000 (UTC) Cc: 15201@debbugs.gnu.org To: Ryan Davis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 28 03:15:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VEULx-0003IC-Fk for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Aug 2013 03:15:21 +0200 Original-Received: from localhost ([::1]:59849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEULx-0001yh-0f for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 21:15:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEULm-0001xk-Qh for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:15:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEULf-0007ZW-GS for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:15:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEULf-0007Z3-DE for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VEULe-0007Tj-1L for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Aug 2013 01:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15201-submit@debbugs.gnu.org id=B15201.137765247528700 (code B ref 15201); Wed, 28 Aug 2013 01:15:01 +0000 Original-Received: (at 15201) by debbugs.gnu.org; 28 Aug 2013 01:14:35 +0000 Original-Received: from localhost ([127.0.0.1]:60197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEULD-0007Sp-69 for submit@debbugs.gnu.org; Tue, 27 Aug 2013 21:14:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:4469) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEULA-0007Sg-UB for 15201@debbugs.gnu.org; Tue, 27 Aug 2013 21:14:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOSWwOSHIFegxM X-IPAS-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOSWwOSHIFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="25105990" Original-Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.186]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Aug 2013 21:10:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8CFAD62D60; Tue, 27 Aug 2013 21:12:54 -0400 (EDT) In-Reply-To: (Ryan Davis's message of "Tue, 27 Aug 2013 16:37:49 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77779 Archived-At: > I know that using cl is frowned upon... but I'm writing this code to be > compatible with 24.2 so I can't rely on cl-lib (since this is an > extension to the system used to install cl-lib). I'm only using it for > set-difference and am open to modifications to make it more > portable/acceptable. You can see this code in: Use of CL is generally discouraged, and is not allowed at run-time for packages included in Emacs. IOW As long as your code is not meant to be included in Emacs you don't need to worry too much about it. OTOH, the code you sent doesn't work with the package.el that's in Emacs's current trunk (e.g. package-delete now only takes a single argument). One more thing: I like the idea of having a declarative list of "packages that should be installed" so as to be able to delete packages that were installed as dependencies but aren't needed any more. So I'd welcome patches that add such functionality to package.el. Stefan