Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Ihor Radchenko
> Testing of `encode-time' version by running it on each macro expansion can hardly be called optimal. It will mostly impact the compile time. If you wish, you may wrap the version check and the `encode-time' test into `eval-when-compile' On Tue, Aug 16, 2022 at 8:44 PM Max Nikulin wrote: > On

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Max Nikulin
On 16/08/2022 18:55, Ihor Radchenko wrote: Max Nikulin writes: This is Emacs bug. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56746 I just pushed a workaround that should hopefully fix the issue. Is there a chance that `eval-when-compile' around the original definition will help? Sorry, I

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Ihor Radchenko
Max Nikulin writes: >> This is Emacs bug. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56746 >> >> I just pushed a workaround that should hopefully fix the issue. > > Is there a chance that `eval-when-compile' around the original > definition will help? Sorry, I am still avoiding setting up of

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Max Nikulin
On 16/08/2022 16:20, Ihor Radchenko wrote: Duy Nguyen writes: Initially, when I generate an ~org-clock-report~ table it works just fine. However, at some random point it stops working and just gives me the following error: "Invalid function: org-encode-time". Not sure if I explained it well, so

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Duy Nguyen
> > I just pushed a workaround that should hopefully fix the issue. > Thanks Ihor, it seems to work for me now! Before when I evaluated ~(org-matcher-time "<2022-08-15 Mon 00:00>")~ manually it would give me the error, however I don't have it anymore with the latest main branch. Duy

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Ihor Radchenko
Duy Nguyen writes: > Initially, when I generate an ~org-clock-report~ table it works just fine. > However, at some random point it stops working and just gives me the > following error: "Invalid function: org-encode-time". Not sure if I > explained it well, so here is a short video

Potential bug: Invalid function: org-encode-time

2022-08-15 Thread Duy Nguyen
Hi everyone, I am having issues trying to use the latest version of Org with straight (the built-in version works fine. Currently testing with a minimal config, i.e. I only have the necessary code to enable straight and use-package in my init.el, and I have added the following as well: (use-packa