emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Endless loop in org--setup-collect-keywords (agenda, ...)
@ 2014-10-31 16:18 Karl Voit
  2014-10-31 20:36 ` Kyle Meyer
  2014-11-01 10:58 ` Endless loop in org--setup-collect-keywords (agenda, ...) Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Karl Voit @ 2014-10-31 16:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

Weird behaviour: yesterday I switched my init.el to OrgStruct and
re-organized it a bit. Silly me thought it would also be a clever
time to update my Org git repo.

At many occasions, my Emacs 24.3.50.1 hangs in an endless loop. When
I break it, I get following Backtrace:

| Debugger entered--Lisp error: (quit)
|   org--setup-collect-keywords("^[   ]*#\\+\\(\\(?:ARCHIVE\\|C\\(?:ATEGORY\\|O\\(?:\\(?:LUMN\\|NSTANT\\)S\\)\\)\\|FILETAGS\\|LINK\\|PR\\(?:IORITIES\\|OPERTY\\)\\|S\\(?:E\\(?:Q_TODO\\|TUPFILE\\)\\|TARTUP\\)\\|T\\(?:AGS\\|\\(?:YP_T\\)?ODO\\)\\)\\):[  ]*\\(.*\\)")
|   org-set-regexps-and-options()
|   org-mode()
|   set-auto-mode-0(org-mode nil)
|   #[0 "\302\242\237\211\205.
| [...]

(Sorry for the long line)

Do you have a clue if my update or my re-arrangement of my init.el
could have caused this?

Should I check something else?

Thank you very much for your help!

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

* Re: Endless loop in org--setup-collect-keywords (agenda, ...)
  2014-10-31 16:18 Endless loop in org--setup-collect-keywords (agenda, ...) Karl Voit
@ 2014-10-31 20:36 ` Kyle Meyer
  2014-11-01  9:41   ` Confirmed: Endless loop in org--setup-collect-keywords caused by commit 61a241f Karl Voit
  2014-11-01 10:58 ` Endless loop in org--setup-collect-keywords (agenda, ...) Nicolas Goaziou
  1 sibling, 1 reply; 5+ messages in thread
From: Kyle Meyer @ 2014-10-31 20:36 UTC (permalink / raw)
  To: Karl Voit; +Cc: Karl Voit, emacs-orgmode

Hello,

Karl Voit <devnull@Karl-Voit.at> wrote:
[...]
> Do you have a clue if my update or my re-arrangement of my init.el
> could have caused this?

I'd guess this is related to commit 61a241f (because that is the commit
that introduced org--setup-collect-keywords and because I'm seeing
hanging that may be related [1]). You could checkout the commit before
(0b74864) and see if you still get the issue.

[1] http://article.gmane.org/gmane.emacs.orgmode/92245

-- 
Kyle

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

* Re: Confirmed: Endless loop in org--setup-collect-keywords caused by commit 61a241f
  2014-10-31 20:36 ` Kyle Meyer
@ 2014-11-01  9:41   ` Karl Voit
  0 siblings, 0 replies; 5+ messages in thread
From: Karl Voit @ 2014-11-01  9:41 UTC (permalink / raw)
  To: emacs-orgmode

* Kyle Meyer <kyle@kyleam.com> wrote:
> Hello,

Hi!

> Karl Voit <devnull@Karl-Voit.at> wrote:
> [...]
>> Do you have a clue if my update or my re-arrangement of my init.el
>> could have caused this?
>
> I'd guess this is related to commit 61a241f (because that is the commit
> that introduced org--setup-collect-keywords and because I'm seeing
> hanging that may be related [1]). You could checkout the commit before
> (0b74864) and see if you still get the issue.
>
> [1] http://article.gmane.org/gmane.emacs.orgmode/92245

I can confirm this assumption.

And I also have file-local tags defined as in [1] and this file got
issues when being opened.

Thanks for the pointer!

Is Nicolas already following this thread? :-)


Greetings from Graz/Austria!

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

* Re: Endless loop in org--setup-collect-keywords (agenda, ...)
  2014-10-31 16:18 Endless loop in org--setup-collect-keywords (agenda, ...) Karl Voit
  2014-10-31 20:36 ` Kyle Meyer
@ 2014-11-01 10:58 ` Nicolas Goaziou
  2014-11-01 11:50   ` fixed: " Karl Voit
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2014-11-01 10:58 UTC (permalink / raw)
  To: Karl Voit; +Cc: Karl Voit, emacs-orgmode

Hello,

Karl Voit <devnull@Karl-Voit.at> writes:

> Weird behaviour: yesterday I switched my init.el to OrgStruct and
> re-organized it a bit. Silly me thought it would also be a clever
> time to update my Org git repo.
>
> At many occasions, my Emacs 24.3.50.1 hangs in an endless loop. When
> I break it, I get following Backtrace:
>
> | Debugger entered--Lisp error: (quit)
> |   org--setup-collect-keywords("^[ ]*#\\+\\(\\(?:ARCHIVE\\|C\\(?:ATEGORY\\|O\\(?:\\(?:LUMN\\|NSTANT\\)S\\)\\)\\|FILETAGS\\|LINK\\|PR\\(?:IORITIES\\|OPERTY\\)\\|S\\(?:E\\(?:Q_TODO\\|TUPFILE\\)\\|TARTUP\\)\\|T\\(?:AGS\\|\\(?:YP_T\\)?ODO\\)\\)\\):[ ]*\\(.*\\)")
> |   org-set-regexps-and-options()
> |   org-mode()
> |   set-auto-mode-0(org-mode nil)
> |   #[0 "\302\242\237\211\205.
> | [...]
>
> (Sorry for the long line)
>
> Do you have a clue if my update or my re-arrangement of my init.el
> could have caused this?

I think latest commit fixed it. Could you confirm it? Otherwise, I'll
need an ECM to reproduce it.


Regards,

-- 
Nicolas Goaziou

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

* Re: fixed: Endless loop in org--setup-collect-keywords (agenda, ...)
  2014-11-01 10:58 ` Endless loop in org--setup-collect-keywords (agenda, ...) Nicolas Goaziou
@ 2014-11-01 11:50   ` Karl Voit
  0 siblings, 0 replies; 5+ messages in thread
From: Karl Voit @ 2014-11-01 11:50 UTC (permalink / raw)
  To: emacs-orgmode

* Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,

Hello Nicolas!

> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> At many occasions, my Emacs 24.3.50.1 hangs in an endless loop.
>>
>> | Debugger entered--Lisp error: (quit)
>> |   org--setup-collect-keywords("^[ ]*#\\+\\(\\(?:ARCHIVE\\|C\\(?:ATEGORY\\|O\\(?:\\(?:LUMN\\|NSTANT\\)S\\)\\)\\|FILETAGS\\|LINK\\|PR\\(?:IORITIES\\|OPERTY\\)\\|S\\(?:E\\(?:Q_TODO\\|TUPFILE\\)\\|TARTUP\\)\\|T\\(?:AGS\\|\\(?:YP_T\\)?ODO\\)\\)\\):[ ]*\\(.*\\)")
>
> I think latest commit fixed it. Could you confirm it? Otherwise, I'll
> need an ECM to reproduce it.

The latest master commit fixed this issue - thanks for the quick
response!

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

end of thread, other threads:[~2014-11-01 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 16:18 Endless loop in org--setup-collect-keywords (agenda, ...) Karl Voit
2014-10-31 20:36 ` Kyle Meyer
2014-11-01  9:41   ` Confirmed: Endless loop in org--setup-collect-keywords caused by commit 61a241f Karl Voit
2014-11-01 10:58 ` Endless loop in org--setup-collect-keywords (agenda, ...) Nicolas Goaziou
2014-11-01 11:50   ` fixed: " Karl Voit

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).