From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Thu, 12 Mar 2020 18:03:27 +0000 Message-ID: References: <83sgl0lchm.fsf@gnu.org> <83imlwl9vm.fsf@gnu.org> <83o8uegykm.fsf@gnu.org> <74dd94a9-28cb-a5fd-dbc7-ab21009834ad@cs.ucla.edu> <87mu8vjcmm.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Adam Porter , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 12 19:04:34 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCSC9-000S2k-6F for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Mar 2020 19:04:33 +0100 Original-Received: from localhost ([::1]:47320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCSC8-0000aO-7N for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Mar 2020 14:04:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52581) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCSBO-0006iN-PQ for emacs-devel@gnu.org; Thu, 12 Mar 2020 14:03:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCSBN-0007YB-Ks for emacs-devel@gnu.org; Thu, 12 Mar 2020 14:03:46 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:50876) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCSBN-0007V9-CD for emacs-devel@gnu.org; Thu, 12 Mar 2020 14:03:45 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 02CI3Rhs026632 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 12 Mar 2020 18:03:27 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 02CI3RZr013799; Thu, 12 Mar 2020 18:03:27 GMT In-Reply-To: (Stefan Monnier's message of "Thu, 12 Mar 2020 13:34:30 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245493 Archived-At: Stefan Monnier writes: >> The reason why your code is byte-compiled correctly during the package >> installation is that apparently package.el is loading the non compiled >> version *before* running the byte-compiler through >> `package--load-files-for-activation'. > > Package.el doesn't do that directly. It may be the indirect result of > something package.el does, but the only thing that package.el does which > seems relevant is to load the `-autoloads.el` file before starting > the compilation. > Hi Stefan, This is something I've seen yesterday debugging and the practical experience that Adam's package gets byte-compiled confirms that. If you think is important to look into it I can have a look. Andrea -- akrl@sdf.org