From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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: Tue, 28 Jul 2020 07:24:23 +0000 Message-ID: References: <87zhb0q8wi.fsf@localhost> <87lfmidexg.fsf@localhost> <87mu6v4qss.fsf@localhost> <87wo592rne.fsf@localhost> <87o8qk39o5.fsf@localhost> <878shi3fkd.fsf@localhost> <877dx2llo0.fsf@localhost> <87zh7ltgc7.fsf@localhost> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40838-done@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 28 09:25:13 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 1k0Jz6-00085F-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jul 2020 09:25:12 +0200 Original-Received: from localhost ([::1]:54020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0Jz5-0007C2-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jul 2020 03:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0Jyw-0007BQ-CK for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 03:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0Jyv-00017x-Mn for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 03:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0Jyv-0001iW-J4 for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 03:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jul 2020 07:25:01 +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-done@debbugs.gnu.org id=D40838.15959210666554 (code D ref 40838); Tue, 28 Jul 2020 07:25:01 +0000 Original-Received: (at 40838-done) by debbugs.gnu.org; 28 Jul 2020 07:24:26 +0000 Original-Received: from localhost ([127.0.0.1]:57094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0JyM-0001hc-I9 for submit@debbugs.gnu.org; Tue, 28 Jul 2020 03:24:26 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:59674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0JyK-0001hU-Du for 40838-done@debbugs.gnu.org; Tue, 28 Jul 2020 03:24:24 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 06S7ON8f000667; Tue, 28 Jul 2020 07:24:23 GMT In-Reply-To: <87zh7ltgc7.fsf@localhost> (Ihor Radchenko's message of "Mon, 27 Jul 2020 18:14:32 +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:183616 Archived-At: Ihor Radchenko writes: > Reopen. > > I think I found something related to this bug report in > exlplain-pause-mode package. See > https://github.com/lastquestion/explain-pause-mode/issues/65 for > details. > > best, > Ihor Hi Ihor, thanks for the finding. native-comp does not support advises to (most) primitive functions for performance reasons. The elisp manual strongly discourage this practice tho. The issue can be worked around adding those functions into the `comp-never-optimize-functions' customize. That said this is an area I plan to fix to have it 100% compatible with the vanilla implementaiton once I'm done with moving all the eln file. My understanding was that the issue reported in this bug was not advise related but it could be also a side effect of? Regards Andrea -- akrl@sdf.org