From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: package.el: soft dependencies? Date: Tue, 14 Jul 2015 23:52:07 +0200 Message-ID: References: <878uaimntn.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436910756 5900 80.91.229.3 (14 Jul 2015 21:52:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2015 21:52:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 14 23:52:24 2015 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 1ZF87j-0007jh-Dt for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2015 23:52:23 +0200 Original-Received: from localhost ([::1]:33096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF87i-0007XA-NW for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2015 17:52:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF87f-0007X3-2p for emacs-devel@gnu.org; Tue, 14 Jul 2015 17:52:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF87b-0001zM-Sx for emacs-devel@gnu.org; Tue, 14 Jul 2015 17:52:19 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF87b-0001zE-M8 for emacs-devel@gnu.org; Tue, 14 Jul 2015 17:52:15 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZF87a-0007hm-Ht for emacs-devel@gnu.org; Tue, 14 Jul 2015 23:52:14 +0200 Original-Received: from 193.106.183.18 ([193.106.183.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 23:52:14 +0200 Original-Received: from wavexx by 193.106.183.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 23:52:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0 In-Reply-To: <878uaimntn.fsf@gmx.us> 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:187873 Archived-At: On 14/07/15 23:28, Rasmus wrote: > Yuri D'Elia writes: > >> This could be accomplished with a Package-Suggests header, with exactly >> the same format as Package-Requires. package.el would just need to >> present this information in the package description page, for the user >> to inspect. > > But for optional dependencies you'd want to know what you get when > installing more stuff, also within the package manager. So there should > also be a one line summary of what the dependency adds (this is how pacman > works; I don't remember how verbose apt is). apt has no detail as of why a package is suggested, and it works well enough for me. Presenting the list briefly, as done for the requirements would do. Normally, when a package is suggested, I explicitly look for it in the docs/description. Just knowing it's suggested does the job. Most of the time the package name makes it immediately obvious though, so it's rather straighforward.