From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Elpa packages and macro dependencies. Date: Wed, 10 Dec 2014 16:38:41 -0200 Message-ID: References: <87h9yz5d9h.fsf@yahoo.fr> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1418236738 19141 80.91.229.3 (10 Dec 2014 18:38:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2014 18:38:58 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 10 19:38:49 2014 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 1Xym9w-0007yE-7n for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 19:38:48 +0100 Original-Received: from localhost ([::1]:47323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xym9v-0006d5-PR for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 13:38:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xym9r-0006a1-10 for emacs-devel@gnu.org; Wed, 10 Dec 2014 13:38:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xym9q-0006Ag-3w for emacs-devel@gnu.org; Wed, 10 Dec 2014 13:38:42 -0500 Original-Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:55421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xym9p-0006Ac-VQ for emacs-devel@gnu.org; Wed, 10 Dec 2014 13:38:42 -0500 Original-Received: by mail-ob0-f171.google.com with SMTP id uz6so2709817obc.2 for ; Wed, 10 Dec 2014 10:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=QoaJUnUPClGh7BTKnDfAqCX2hGjHDbbVZDa0PLeAto8=; b=XXQrN/aSInwNgb8dMjKcC2/6d1g5u471zwhYVaHOzeJ+4hEHi2y2Bh2gg8t1jVgFyz 2BhaO4ltgQr3D9heNdGZlkzUDWPUk1JlDL1W0QDHohmH7szBM55kiQCrhXggAlMJRwpQ RsXBmbUGwatk/GPVdFil1cO3CEOmmAg3a0K0zFAE0brMEoRmFqewRIhC9HQC3S5Z6Yp6 kzeFO/ZdwCGlwHz0x1ivRNT/EMiUV9iFN1qgs68fZGKqMzZI3ea28FQiiNTYqBakOlrz c67NtE3QnAK3kcd6q61gFdT7J2QyL1LK/cqBK1i2KJ7G9izCks+TLLZHhV3SGAD8U3OB Y/3w== X-Received: by 10.182.210.232 with SMTP id mx8mr3694296obc.46.1418236721523; Wed, 10 Dec 2014 10:38:41 -0800 (PST) Original-Received: by 10.76.154.106 with HTTP; Wed, 10 Dec 2014 10:38:41 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: qKbvijgJ52HsUVVLiHnex_DU68Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22b 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:179679 Archived-At: 2014-11-13 17:34 GMT+00:00 Stefan Monnier : > One other thing: we could probably get something more reliable by doing > the following: > 1- before loading the autoloads file (and before updating load-path), get > do the `directory-files' call > 2- use `locate-library' to see which of those files have previous > "conflicting" files. > 3- check in load-history which of those conflicting files have been > already loaded. > 4- then load autoloads and updates load-path. > 5- then load those files identified at step 3. > > Maybe we could use the same mechanism after byte-compilation, so as to > re-re-load the file after it's been byte-compiled. Tho this might just > be asking for trouble. Ok, I think the current version should adhere to all of this. Is it ok for me to push to a branch on the origin, or should I just keep posting patches on this thread?