Haven't figured this out yet, but I seem to be hitting an "infinite recursion" bug that eventually dies when it runs out of memory. The scenario (so far) is trying to change an Org tag in the agenda (':'). The command gives me the tags that I then edit and save whereupon it sits in an infinite recursion until it hits a limit in Emacs. If I quit, the files seem to have been updated, but the Agenda isn't. I'm still trying to figure out how to debug this. Setting debug-on-quit was not consistent and didn't seem to have a large list of function calls (ie. the recursion). Any ideas? This is Emacs 26.3 with Orgmode 9.4. I'm also using Org-Super-Agenda from Melpa (20200310.1337). Side question that might be related: org-agenda started positioning itself at the end of the agenda rather than the beginning after building the agenda. I don't think I changed something for this. What could cause this? -- David Masterson
David Masterson <dsmasterson92630@outlook.com> writes: > Haven't figured this out yet, but I seem to be hitting an "infinite > recursion" bug that eventually dies when it runs out of memory. > > The scenario (so far) is trying to change an Org tag in the agenda > (':'). The command gives me the tags that I then edit and save whereupon > it sits in an infinite recursion until it hits a limit in Emacs. If I > quit, the files seem to have been updated, but the Agenda isn't. I'm > still trying to figure out how to debug this. Setting debug-on-quit was > not consistent and didn't seem to have a large list of function calls > (ie. the recursion). Any ideas? > > This is Emacs 26.3 with Orgmode 9.4. I'm also using Org-Super-Agenda > from Melpa (20200310.1337). I think that this problem has something to do with org-agenda-property-list. When I turned that on for a property, I began to have problems using the agenda edit commands (for instance ":") where it would have trouble redrawing the agenda. When I turned this off, things started working better, Should I file a bug? > Side question that might be related: org-agenda started positioning > itself at the end of the agenda rather than the beginning after building > the agenda. I don't think I changed something for this. What could > cause this? This is still happening. -- David Masterson
Set debug-on-quit so you can see, by hitting C-g, where the system is stuck. That may help identify the problem and would, in any case, be useful in a bug report. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-18-gaea110
David Masterson <dsmasterson92630@outlook.com> writes:
> Haven't figured this out yet, but I seem to be hitting an "infinite
> recursion" bug that eventually dies when it runs out of memory.
>
> The scenario (so far) is trying to change an Org tag in the agenda
> (':'). The command gives me the tags that I then edit and save whereupon
> it sits in an infinite recursion until it hits a limit in Emacs. If I
> quit, the files seem to have been updated, but the Agenda isn't. I'm
> still trying to figure out how to debug this. Setting debug-on-quit was
> not consistent and didn't seem to have a large list of function calls
> (ie. the recursion). Any ideas?
>
> This is Emacs 26.3 with Orgmode 9.4. I'm also using Org-Super-Agenda
> from Melpa (20200310.1337).
>
> Side question that might be related: org-agenda started positioning
> itself at the end of the agenda rather than the beginning after building
> the agenda. I don't think I changed something for this. What could
> cause this?
What's the error message? Did you try setting `debug-on-eror'? Does that give
a more useful backtrace?
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
Nick Dokos <ndokos@gmail.com> writes:
> What's the error message? Did you try setting `debug-on-eror'? Does that give
> a more useful backtrace?
Backtrace: no variable named `debug-on-eror' - maybe you made an eror :-)
Sigh - should be `debug-on-error'.
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
Nick Dokos <ndokos@gmail.com> writes:
> David Masterson <dsmasterson92630@outlook.com> writes:
>
>> Haven't figured this out yet, but I seem to be hitting an "infinite
>> recursion" bug that eventually dies when it runs out of memory.
>>
>> The scenario (so far) is trying to change an Org tag in the agenda
>> (':'). The command gives me the tags that I then edit and save whereupon
>> it sits in an infinite recursion until it hits a limit in Emacs. If I
>> quit, the files seem to have been updated, but the Agenda isn't. I'm
>> still trying to figure out how to debug this. Setting debug-on-quit was
>> not consistent and didn't seem to have a large list of function calls
>> (ie. the recursion). Any ideas?
>>
>> This is Emacs 26.3 with Orgmode 9.4. I'm also using Org-Super-Agenda
>> from Melpa (20200310.1337).
>>
>> Side question that might be related: org-agenda started positioning
>> itself at the end of the agenda rather than the beginning after building
>> the agenda. I don't think I changed something for this. What could
>> cause this?
>
> What's the error message? Did you try setting `debug-on-eror'? Does that give
> a more useful backtrace?
The error has to do with org-agenda-property-list. I'm going to file
this as a bug.
--
David Masterson