From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Binary Search Tree and Treap Functions bst-assq and treap-put Date: Mon, 12 Dec 2016 12:29:13 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481566685 16418 195.159.176.226 (12 Dec 2016 18:18:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 18:18:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Andy Sonnenburg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 19:17:59 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGVAj-0003PN-Qu for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 19:17:57 +0100 Original-Received: from localhost ([::1]:60811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGVAn-0000mV-Gw for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 13:18:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGUPf-0003WE-Ac for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:29:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGUPb-0008SA-HX for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:29:19 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41533) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGUPb-0008Rt-AO for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:29:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AOKQAu3EVY/2J8oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZZehhwEAgKCEUMRAQIBAQEBAQEBYiiEaQEEAVYjBQsLNBIUGA0kLohMCK0Ui0QBAQgCASSLGYopBY98imqbGoY6kE6BQTUheBMOhXMgiS0BAQE X-IPAS-Result: A0AOKQAu3EVY/2J8oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZZehhwEAgKCEUMRAQIBAQEBAQEBYiiEaQEEAVYjBQsLNBIUGA0kLohMCK0Ui0QBAQgCASSLGYopBY98imqbGoY6kE6BQTUheBMOhXMgiS0BAQE X-IronPort-AV: E=Sophos;i="5.33,749,1477972800"; d="scan'208";a="282400033" Original-Received: from 108-161-124-98.dsl.teksavvy.com (HELO pastel.home) ([108.161.124.98]) by smtp.teksavvy.com with ESMTP; 12 Dec 2016 12:29:13 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 29F3964F83; Mon, 12 Dec 2016 12:29:13 -0500 (EST) In-Reply-To: (John Wiegley's message of "Mon, 12 Dec 2016 09:06:21 -0800") 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.21 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" Xref: news.gmane.org gmane.emacs.devel:210363 Archived-At: SM> You can put a SM> (eval-when-compile ) SM> in the .el file, so that the C code gets compiled when the Elisp file SM> is byte-compiled. > Except that may vary greatly, Oh yes, but that's part of the problem we have to solve in general for C modules in ELPA, regardless of the above sample code. One solution is to instantiate "" with something akin to "./configure; make". My point was simply that this can be done "right now with no changes to package.el or to ELPA infrastructure". Once we get that working, we'll probably want to revisit this choice and introduce specific support in package.el and ELPA infrastructure. Stefan