From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86477 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Moving Gnus development to Emacs? Date: Fri, 01 Jan 2016 15:02:27 +0800 Organization: Royau.Me Message-ID: References: <87lh8b6jnl.fsf@isaac.fritz.box> <87wpruyhbp.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451631782 23924 80.91.229.3 (1 Jan 2016 07:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jan 2016 07:03:02 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 01 08:02:53 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aEtjf-0004XG-Vr for ged-emacs-devel@m.gmane.org; Fri, 01 Jan 2016 08:02:52 +0100 Original-Received: from localhost ([::1]:57500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEtjf-0003yo-7e for ged-emacs-devel@m.gmane.org; Fri, 01 Jan 2016 02:02:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEtjb-0003yh-LB for emacs-devel@gnu.org; Fri, 01 Jan 2016 02:02:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEtjX-00025r-Kc for emacs-devel@gnu.org; Fri, 01 Jan 2016 02:02:47 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEtjX-00025l-Da for emacs-devel@gnu.org; Fri, 01 Jan 2016 02:02:43 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aEtjU-0004MD-5c for emacs-devel@gnu.org; Fri, 01 Jan 2016 08:02:41 +0100 Original-Received: from 112.80.134.242 ([112.80.134.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jan 2016 08:02:40 +0100 Original-Received: from chenggao by 112.80.134.242 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jan 2016 08:02:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.80.134.242 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cancel-Lock: sha1:dMeHGCrLZrJgS7ZcHWmw9nuCdLA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197293 gmane.emacs.gnus.general:86477 Archived-At: *On Fri, 1 Jan 2016 08:10:34 +0800 * Also sprach Xue Fuqiao : > On Thu, Dec 31, 2015 at 10:52 PM, CHENG Gao wrote: > >>>> If package.el becomes APT like, that'll be cool, really cool. >>> What does this mean? Command-line tools like `apt', `apt-get' or >>> `apt-cache' (or `apm' in Atom)? If so, I think a simple wrapper >>> script to `emacs --batch' is enough. >> I don't mean this. Sorry for my ambiguous expression. Mainly I mean >> package.el can do dependency check and install proper dependent >> packages. Also can handle different Emacs versions since packages >> may stop supporting some Emacs versions or not yet catch up with >> latest version. But it may be too complicated. > > Thanks for the clarification. > > Although I'm not quite familiar with both package.el and APT, AIUI > package.el can already do dependency check and handle different Emacs > versions. You can use the "Package-Requires" header, for example: > > ;; Package-Requires: ((emacs "24.1") (cl-lib "0.5") (async "1.6")) > > In Emacs 25, you can also use the command `package-autoremove' to > remove all packages which were installed strictly as dependencies but > are no longer needed, similar to `apt-get autoremove'. > > Maybe I'm missing something, would you please explain? > > PS: perhaps we should change the subject line of this subthread. Thanks for your detailed explanation. Good to know. I read all posts in URLs you gave, and some others about use-package and req-package etc. Seems future is expectable. PS: Or I just stop here, be quiet and learn more.