* org: problem loading compiled files that use org-element
@ 2024-07-04 3:34 T.V Raman
2024-07-04 6:06 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: T.V Raman @ 2024-07-04 3:34 UTC (permalink / raw
To: emacs-devel
I have code that does
(require 'org-element)
and then uses functions like org-element-property
All this worked until recently (suspect until a week ago) but having
rebuilt emacs from @head, things are broken like so:
1. Code compiles with no warnings.
2. When my compiled module is loading, calls to org-element-property
throw a voide-function org-element--property error.
3. grep on my compiled .elc file for org-element--property shows a match.
4. grep on the *.elc for the above in the emacs build tree also shows a match.
5. At this point, this has gone beyond my understanding of .elc files.
6. Loading the .el source of my module works without errors; the .elc
loads but throws an error when run.
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org: problem loading compiled files that use org-element
2024-07-04 3:34 org: problem loading compiled files that use org-element T.V Raman
@ 2024-07-04 6:06 ` Eli Zaretskii
2024-07-04 14:46 ` T.V Raman
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2024-07-04 6:06 UTC (permalink / raw
To: T.V Raman; +Cc: emacs-devel
> From: "T.V Raman" <raman@google.com>
> Date: Wed, 03 Jul 2024 20:34:27 -0700
>
> I have code that does
> (require 'org-element)
> and then uses functions like org-element-property
>
> All this worked until recently (suspect until a week ago) but having
> rebuilt emacs from @head, things are broken like so:
"@head" meaning the master branch or the emacs-30 release branch?
> 1. Code compiles with no warnings.
> 2. When my compiled module is loading, calls to org-element-property
> throw a voide-function org-element--property error.
> 3. grep on my compiled .elc file for org-element--property shows a match.
> 4. grep on the *.elc for the above in the emacs build tree also shows a match.
> 5. At this point, this has gone beyond my understanding of .elc files.
> 6. Loading the .el source of my module works without errors; the .elc
> loads but throws an error when run.
Did you try "make bootstrap"?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org: problem loading compiled files that use org-element
2024-07-04 6:06 ` Eli Zaretskii
@ 2024-07-04 14:46 ` T.V Raman
2024-07-04 15:44 ` T.V Raman
2024-07-04 15:53 ` Eli Zaretskii
0 siblings, 2 replies; 6+ messages in thread
From: T.V Raman @ 2024-07-04 14:46 UTC (permalink / raw
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
Head = master branch.I did distclean is that the same as bootstrap?>> From: "T.V Raman" <raman@google.com>
>> Date: Wed, 03 Jul 2024 20:34:27 -0700
>>
>> I have code that does
>> (require 'org-element)
>> and then uses functions like org-element-property
>>
>> All this worked until recently (suspect until a week ago) but having
>> rebuilt emacs from @head, things are broken like so:
>
> "@head" meaning the master branch or the emacs-30 release branch?
>
>> 1. Code compiles with no warnings.
>> 2. When my compiled module is loading, calls to org-element-property
>> throw a voide-function org-element--property error.
>> 3. grep on my compiled .elc file for org-element--property shows a match.
>> 4. grep on the *.elc for the above in the emacs build tree also shows a match.
>> 5. At this point, this has gone beyond my understanding of .elc files.
>> 6. Loading the .el source of my module works without errors; the .elc
>> loads but throws an error when run.
>
> Did you try "make bootstrap"?
--
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-04 16:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 3:34 org: problem loading compiled files that use org-element T.V Raman
2024-07-04 6:06 ` Eli Zaretskii
2024-07-04 14:46 ` T.V Raman
2024-07-04 15:44 ` T.V Raman
2024-07-04 15:53 ` Eli Zaretskii
2024-07-04 16:17 ` T.V Raman
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.