From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Elpa packages and macro dependencies. Date: Thu, 16 Oct 2014 15:57:29 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413489484 23359 80.91.229.3 (16 Oct 2014 19:58:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2014 19:58:04 +0000 (UTC) Cc: emacs-devel To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 16 21:57:57 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 1XerBN-0004dl-8i for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2014 21:57:57 +0200 Original-Received: from localhost ([::1]:52362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XerBM-0004B1-Vc for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2014 15:57:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XerB5-0004An-7k for emacs-devel@gnu.org; Thu, 16 Oct 2014 15:57:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XerAx-000107-03 for emacs-devel@gnu.org; Thu, 16 Oct 2014 15:57:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XerAw-0000z0-T2; Thu, 16 Oct 2014 15:57:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDYgoCNIZF456BxaEIgSpGYFqg0wh X-IPAS-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDYgoCNIZF456BxaEIgSpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94380726" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Oct 2014 15:57:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6DD7285A2; Thu, 16 Oct 2014 15:57:29 -0400 (EDT) In-Reply-To: (bruce connor am's message of "Thu, 16 Oct 2014 18:57:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:175485 Archived-At: > Yes, that's what I'm resorting to now. I'm writing the package so that > it reloads itself before doing anything if `locate-library' returns > a newer version. > It's a little annoying that it has to visit a file and check every > time it's used, but it only happens at byte-compile time, so it's not > a huge deal. The idea would be to make this automatic in the byte-compiler, so the packages don't need to worry about it. Would you like to work on a patch for that? Stefan