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.bugs Subject: bug#40838: 28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation Date: Sat, 23 May 2020 14:39:03 +0000 Message-ID: References: <87zhb0q8wi.fsf@localhost> <87lfmidexg.fsf@localhost> <87mu6v4qss.fsf@localhost> <87wo592rne.fsf@localhost> <87o8qk39o5.fsf@localhost> <878shi3fkd.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40838@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 23 16:40:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jcVJq-000XmB-1f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 16:40:10 +0200 Original-Received: from localhost ([::1]:56682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcVJp-0000fv-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 10:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcVJi-0000fX-O2 for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 10:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcVJi-0001WN-F5 for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 10:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcVJi-0004P4-Ah for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 May 2020 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40838 X-GNU-PR-Package: emacs Original-Received: via spool by 40838-submit@debbugs.gnu.org id=B40838.159024474716839 (code B ref 40838); Sat, 23 May 2020 14:40:02 +0000 Original-Received: (at 40838) by debbugs.gnu.org; 23 May 2020 14:39:07 +0000 Original-Received: from localhost ([127.0.0.1]:35274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcVIo-0004NX-No for submit@debbugs.gnu.org; Sat, 23 May 2020 10:39:06 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:52608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcVIm-0004NP-SN for 40838@debbugs.gnu.org; Sat, 23 May 2020 10:39:05 -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 04NEd3Mb007152 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 23 May 2020 14:39:04 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 04NEd3FG008398; Sat, 23 May 2020 14:39:03 GMT In-Reply-To: <878shi3fkd.fsf@localhost> (Ihor Radchenko's message of "Sat, 23 May 2020 22:13:06 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180806 Archived-At: Ihor Radchenko writes: >> If this is what is happening with straight.el, then my recipe is not >> actually reproducing my initial bug report. I have other cases when >> functions redefined in my config are overridden by initial definition >> when .eln is loaded. I think that I still need to investigate for a real >> recipe then. > > I have recently tried to find a temporary workaround to this issue with > straight.el+org+native-comp. However, my workaround seems to fail > because of native-comp (at least, I believe so). Hi Ihor, I believe if you want to have to workaround effective in deferred compilation you'll need to put the definition of these two functions into `comp-async-env-modifier-form' as discussed. Perhaps the best thing if to ask them to do it given they have a branch to support native-comp. Andrea -- akrl@sdf.org