all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
@ 2025-01-04 11:16 Luis Henriques
  2025-01-09  7:57 ` Bastien
  2025-01-10 19:48 ` Ihor Radchenko
  0 siblings, 2 replies; 8+ messages in thread
From: Luis Henriques @ 2025-01-04 11:16 UTC (permalink / raw)
  To: 75348

Hi!

I'm not sure this has already been reported, but here's a bug I've been
hitting for a while and that it's easy to reproduce with emacs -Q:

If I have an org file with a category and a task that is repeated:

#+CATEGORY: work

* TODO Do something every week
DEADLINE: <2025-01-04 Sat +1w>

Doing C-c C-t (org-todo) will return an error:

org-element--get-category: Invalid function: org-element-with-disabled-cache

and the task will not be updated.  And repeating the command will not work
either, as it will change the state to DONE instead of keeping it in TODO
and update the DEADLINE.

I'm running version 30.0.93, with top commit being
0e43e35f96e5c3c10a200ebe8fe77c60e0db7c4a.  Please let me know if you need
further information.

Cheers,
-- 
Luís





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-04 11:16 bug#75348: 30.0.93; org-mode repeated tasks with file categories not working Luis Henriques
@ 2025-01-09  7:57 ` Bastien
  2025-01-09 21:39   ` Luis Henriques
  2025-01-10 19:48 ` Ihor Radchenko
  1 sibling, 1 reply; 8+ messages in thread
From: Bastien @ 2025-01-09  7:57 UTC (permalink / raw)
  To: Luis Henriques; +Cc: 75348

Luis Henriques <henrix@camandro.org> writes:

> I'm running version 30.0.93, with top commit being
> 0e43e35f96e5c3c10a200ebe8fe77c60e0db7c4a.  Please let me know if you need
> further information.

Is there any chance you can try to reproduce this bug with a newer
upstream version of Org Mode, e.g. installed via GNU ELPA?

See https://orgmode.org/manual/Installation.html for details.

-- 
 Bastien





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-09  7:57 ` Bastien
@ 2025-01-09 21:39   ` Luis Henriques
  2025-01-10 17:25     ` Bastien Guerry
  0 siblings, 1 reply; 8+ messages in thread
From: Luis Henriques @ 2025-01-09 21:39 UTC (permalink / raw)
  To: Bastien; +Cc: 75348

Hi Bastien,

On Thu, Jan 09 2025, Bastien wrote:

> Luis Henriques <henrix@camandro.org> writes:
>
>> I'm running version 30.0.93, with top commit being
>> 0e43e35f96e5c3c10a200ebe8fe77c60e0db7c4a.  Please let me know if you need
>> further information.
>
> Is there any chance you can try to reproduce this bug with a newer
> upstream version of Org Mode, e.g. installed via GNU ELPA?
>
> See https://orgmode.org/manual/Installation.html for details.

Thank you for your reply.  I was about to try it but then I found that I
couldn't reproduce the bug with a new (test) user: if I create a new user
with an empty home directory, I'm not able to reproduce it any more.  So,
I dug a bit more.

And I found out was that, if I move my '$HOME/.emacs.d/eln-cache'
directory out of the way, the issue is gone.  Which means that, even when
using 'emacs -Q', that directory is still used.  If I move my 'eln-cache'
directory back, the issue is reproducible again.

I have no idea how that directory is being used although I believe it
contains native compiled objects.  But I also have no idea how to debug
this further.  Is there a bug somewhere?  Maybe.  I'll keep my old
'eln-cache' around some time in case someone wants me to run some more
tests, but I'll just move on with a clean directory and keen an eye on
this issue.

Cheers,
-- 
Luís





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-09 21:39   ` Luis Henriques
@ 2025-01-10 17:25     ` Bastien Guerry
  2025-01-10 21:39       ` Luis Henriques
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien Guerry @ 2025-01-10 17:25 UTC (permalink / raw)
  To: Luis Henriques; +Cc: 75348

Hi Luis,

thanks for your answer.

Luis Henriques <henrix@camandro.org> writes:

> And I found out was that, if I move my '$HOME/.emacs.d/eln-cache'
> directory out of the way, the issue is gone.  Which means that, even when
> using 'emacs -Q', that directory is still used.  If I move my 'eln-cache'
> directory back, the issue is reproducible again.

Reading
https://list.orgmode.org/CAM=3T04Kqt87ro1aLTR_8xQD2tk+O3mfJDDfR8-6MCaCELdYMw@mail.gmail.com
and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56746 I wonder if you
have async compilation warnings that would be relevant.

It's probably a good idea to report this on the Org mailing list too.

2 cts,

-- 
 Bastien Guerry





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-04 11:16 bug#75348: 30.0.93; org-mode repeated tasks with file categories not working Luis Henriques
  2025-01-09  7:57 ` Bastien
@ 2025-01-10 19:48 ` Ihor Radchenko
  2025-01-10 21:30   ` Luis Henriques
  1 sibling, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2025-01-10 19:48 UTC (permalink / raw)
  To: Luis Henriques; +Cc: 75348

Luis Henriques <henrix@camandro.org> writes:

> org-element--get-category: Invalid function: org-element-with-disabled-cache
> ...
> I'm running version 30.0.93, with top commit being
> 0e43e35f96e5c3c10a200ebe8fe77c60e0db7c4a.  Please let me know if you need
> further information.

If you are compiling from git repo, I suggest trying

   make bootstrap

It may often help with compilation issues like what you are seeing.
(If it does help, the issues are a known "wontfix" problem of Emacs)

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-10 19:48 ` Ihor Radchenko
@ 2025-01-10 21:30   ` Luis Henriques
  0 siblings, 0 replies; 8+ messages in thread
From: Luis Henriques @ 2025-01-10 21:30 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: 75348

On Fri, Jan 10 2025, Ihor Radchenko wrote:

> Luis Henriques <henrix@camandro.org> writes:
>
>> org-element--get-category: Invalid function: org-element-with-disabled-cache
>> ...
>> I'm running version 30.0.93, with top commit being
>> 0e43e35f96e5c3c10a200ebe8fe77c60e0db7c4a.  Please let me know if you need
>> further information.
>
> If you are compiling from git repo, I suggest trying
>
>    make bootstrap
>
> It may often help with compilation issues like what you are seeing.
> (If it does help, the issues are a known "wontfix" problem of Emacs)

Thank you, Ihor, for your feedback.  Yes, I'm building from git and it's
possible that this would have solved my problem.  I will keep an eye on
this, it's something that annoyed me for a bit because the error messages
I saw didn't help at all.  But you're right: I'm compiling code from the
git and these ("wontfix") things happen I guess.

Cheers,
-- 
Luís





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-10 17:25     ` Bastien Guerry
@ 2025-01-10 21:39       ` Luis Henriques
  2025-01-11 12:03         ` Bastien Guerry
  0 siblings, 1 reply; 8+ messages in thread
From: Luis Henriques @ 2025-01-10 21:39 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: 75348

Hi Bastien,

On Fri, Jan 10 2025, Bastien Guerry wrote:

> Hi Luis,
>
> thanks for your answer.
>
> Luis Henriques <henrix@camandro.org> writes:
>
>> And I found out was that, if I move my '$HOME/.emacs.d/eln-cache'
>> directory out of the way, the issue is gone.  Which means that, even when
>> using 'emacs -Q', that directory is still used.  If I move my 'eln-cache'
>> directory back, the issue is reproducible again.
>
> Reading
> https://list.orgmode.org/CAM=3T04Kqt87ro1aLTR_8xQD2tk+O3mfJDDfR8-6MCaCELdYMw@mail.gmail.com
> and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56746 I wonder if you
> have async compilation warnings that would be relevant.
>
> It's probably a good idea to report this on the Org mailing list too.

Thanks for the suggestion.  I was about to do just that, but since Ihor
already replied to my bug report, I don't think it's worth it any more.
I believe this bug can now be closed.

Cheers,
-- 
Luís





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#75348: 30.0.93; org-mode repeated tasks with file categories not working
  2025-01-10 21:39       ` Luis Henriques
@ 2025-01-11 12:03         ` Bastien Guerry
  0 siblings, 0 replies; 8+ messages in thread
From: Bastien Guerry @ 2025-01-11 12:03 UTC (permalink / raw)
  To: Luis Henriques; +Cc: 75348-done

Luis Henriques <henrix@camandro.org> writes:

> Thanks for the suggestion.  I was about to do just that, but since Ihor
> already replied to my bug report, I don't think it's worth it any more.
> I believe this bug can now be closed.

Closing now, thanks!

-- 
 Bastien Guerry





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-01-11 12:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 11:16 bug#75348: 30.0.93; org-mode repeated tasks with file categories not working Luis Henriques
2025-01-09  7:57 ` Bastien
2025-01-09 21:39   ` Luis Henriques
2025-01-10 17:25     ` Bastien Guerry
2025-01-10 21:39       ` Luis Henriques
2025-01-11 12:03         ` Bastien Guerry
2025-01-10 19:48 ` Ihor Radchenko
2025-01-10 21:30   ` Luis Henriques

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.