[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-assert-version considered harmful
From: |
Stefan Monnier |
Subject: |
Re: org-assert-version considered harmful |
Date: |
Wed, 16 Aug 2023 09:41:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> My attempt to use shadowcheck idea you proposed failed with some very
> strange errors and I gave up.
> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62762#311
For this one I can see the problem. You define:
(defmacro org-require-with-shadowcheck (feature)
[...]
`(eval-and-compile ...))
so it will behave like a function, except that it's also
executed during macroexpansion, so the (require 'org-element) within
`org-set-modules` will be eagerly executed while loading `org.el` :-(
You should define `org-require-with-shadowcheck` as a function (just
like `require`).
> Although, part of the problem was
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65286 which does not seem
> to be reproducible by others.
Haven't tried to look into this one yet.
Stefan
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/16
- Re: org-assert-version considered harmful, Stefan Monnier, 2023/08/16
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/16
- Re: org-assert-version considered harmful,
Stefan Monnier <=
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/18
- Re: org-assert-version considered harmful, Stefan Monnier, 2023/08/18
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/18
- Re: org-assert-version considered harmful, Stefan Monnier, 2023/08/18
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/18
- Re: org-assert-version considered harmful, Ihor Radchenko, 2023/08/18
Re: org-assert-version considered harmful, Max Nikulin, 2023/08/17