all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Andrea Corallo <akrl@sdf.org>
Cc: 40838@debbugs.gnu.org
Subject: bug#40838: 28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation
Date: Mon, 18 May 2020 23:23:49 +0800	[thread overview]
Message-ID: <87wo592rne.fsf@localhost> (raw)
In-Reply-To: <xjfmu6v7iuc.fsf@sdf.org>

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

> thanks this is appreciated because I haven't managed to reproduce it
> myself.

Finally, I found some reproducible example.
straight.el redefines some org functions before loading org.
It is done in straight--fix-org-function (org-git-version and
org-release are redefined). 
The redefined version works with org.elc, but somehow get overridden
when org.eln is loaded (in my case, the loading is triggered by elfeed-org).

Steps to reproduce:

1. Use the attached file to load emacs. No errors should appear.
2. Wait until org is native-compiled.
3. Restart emacs. The following errors appears
(straight--fix-org-function supposed to be a workaround for this error):

Error (use-package): elfeed-org/:catch: Invalid version syntax: ‘N/A’
(must start with a number)

4. Delete org.eln
5. Restart emacs. The error disappears.

Best,
Ihor


[-- Attachment #2: native-fail-recepy.el --]
[-- Type: application/emacs-lisp, Size: 1605 bytes --]

[-- Attachment #3: Type: text/plain, Size: 829 bytes --]




Andrea Corallo <akrl@sdf.org> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>
>>> It would certanly help if you could provide a reproducer.
>>
>> I was trying to make a simple recipe to reproduce this, but failed.
>> The bug only appears with my config (though I do not see any problem
>> when not using native-comp branch).
>> Will try to narrow down the exact cause, but it may take a while.
>>
>> Best,
>> Ihor
>
> Hi Ihor,
>
> thanks this is appreciated because I haven't managed to reproduce it
> myself.
>
> Thanks
>
>   Andrea
>
> -- 
> akrl@sdf.org

-- 
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg

  reply	other threads:[~2020-05-18 15:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-25  8:14 bug#40838: 28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation Ihor Radchenko
2020-04-25  9:16 ` Andrea Corallo
2020-04-25 14:26   ` Andrea Corallo
2020-04-26  4:55     ` Ihor Radchenko
2020-04-26  8:59       ` Andrea Corallo
2020-04-28 14:40         ` Ihor Radchenko
2020-04-28 15:03           ` Andrea Corallo
2020-05-18 15:23             ` Ihor Radchenko [this message]
2020-05-18 20:15               ` Andrea Corallo
2020-05-18 21:01                 ` Andrea Corallo
2020-05-19  3:06                 ` Ihor Radchenko
2020-05-23 14:13                   ` Ihor Radchenko
2020-05-23 14:39                     ` Andrea Corallo
2020-05-23 15:23                       ` Ihor Radchenko
2020-06-02  7:27                         ` Andrea Corallo
     [not found]                           ` <87zh7ltgc7.fsf@localhost>
2020-07-28  7:24                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-07-28  9:06                               ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo592rne.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=40838@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.