all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Infinite recursion ?
@ 2020-09-21 22:19 David Masterson
  2020-09-22  4:31 ` David Masterson
  2020-09-22 14:02 ` Nick Dokos
  0 siblings, 2 replies; 6+ messages in thread
From: David Masterson @ 2020-09-21 22:19 UTC (permalink / raw)
  To: emacs-orgmode

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


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

* Re: Infinite recursion ?
  2020-09-21 22:19 Infinite recursion ? David Masterson
@ 2020-09-22  4:31 ` David Masterson
  2020-09-22  8:50   ` Eric S Fraga
  2020-09-22 14:02 ` Nick Dokos
  1 sibling, 1 reply; 6+ messages in thread
From: David Masterson @ 2020-09-22  4:31 UTC (permalink / raw)
  To: emacs-orgmode

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


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

* Re: Infinite recursion ?
  2020-09-22  4:31 ` David Masterson
@ 2020-09-22  8:50   ` Eric S Fraga
  0 siblings, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2020-09-22  8:50 UTC (permalink / raw)
  To: David Masterson; +Cc: emacs-orgmode

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


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

* Re: Infinite recursion ?
  2020-09-21 22:19 Infinite recursion ? David Masterson
  2020-09-22  4:31 ` David Masterson
@ 2020-09-22 14:02 ` Nick Dokos
  2020-09-22 16:09   ` Nick Dokos
  2020-09-23  1:08   ` David Masterson
  1 sibling, 2 replies; 6+ messages in thread
From: Nick Dokos @ 2020-09-22 14:02 UTC (permalink / raw)
  To: emacs-orgmode

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



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

* Re: Infinite recursion ?
  2020-09-22 14:02 ` Nick Dokos
@ 2020-09-22 16:09   ` Nick Dokos
  2020-09-23  1:08   ` David Masterson
  1 sibling, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2020-09-22 16:09 UTC (permalink / raw)
  To: emacs-orgmode

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



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

* Re: Infinite recursion ?
  2020-09-22 14:02 ` Nick Dokos
  2020-09-22 16:09   ` Nick Dokos
@ 2020-09-23  1:08   ` David Masterson
  1 sibling, 0 replies; 6+ messages in thread
From: David Masterson @ 2020-09-23  1:08 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

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


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

end of thread, other threads:[~2020-09-23  1:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21 22:19 Infinite recursion ? David Masterson
2020-09-22  4:31 ` David Masterson
2020-09-22  8:50   ` Eric S Fraga
2020-09-22 14:02 ` Nick Dokos
2020-09-22 16:09   ` Nick Dokos
2020-09-23  1:08   ` David Masterson

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.