From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.help Subject: Re: req-package Date: Mon, 17 Aug 2015 09:42:54 -0700 Organization: New Artisans LLC Message-ID: References: <7b94e518-80e7-4530-8911-56fd55ad993c@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439829817 1580 80.91.229.3 (17 Aug 2015 16:43:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2015 16:43:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 17 18:43:29 2015 Return-path: Envelope-to: geh-help-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 1ZRNVR-0001gs-4H for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Aug 2015 18:43:29 +0200 Original-Received: from localhost ([::1]:58980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNVQ-0001jR-DB for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Aug 2015 12:43:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNVB-0001i3-SE for help-gnu-emacs@gnu.org; Mon, 17 Aug 2015 12:43:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRNV7-0002Cs-Qz for help-gnu-emacs@gnu.org; Mon, 17 Aug 2015 12:43:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNV7-0002Cg-B1 for help-gnu-emacs@gnu.org; Mon, 17 Aug 2015 12:43:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZRNV4-0001SJ-Ju for help-gnu-emacs@gnu.org; Mon, 17 Aug 2015 18:43:06 +0200 Original-Received: from 76-234-68-79.lightspeed.frokca.sbcglobal.net ([76.234.68.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:43:06 +0200 Original-Received: from johnw by 76-234-68-79.lightspeed.frokca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:43:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-234-68-79.lightspeed.frokca.sbcglobal.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:VLvcDbuGNMRMWGKyT4jwuk1IAA4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106650 Archived-At: >>>>> Edward Knyshov writes: > First thing we need to figure out is does use-package provide flexible > enough api to implement req-package as new use-package keyword. > Currently it works by calling (use-package ...) forms when corresponding > are packages a ready to configure. > > We need a full control over packages loading flow, because we need to > rearrange some stuff to get all this dance work. So, use-package just expands a macro into code, and you can replace every single keyword handler if you wish. So given that the use-package macro could just turn into a req-package invocation, you should have complete freedom to do whatever it is that you need. John