* [BUG] Infloop in org-element-inlinetask-parser
@ 2014-06-29 5:27 Aaron Ecay
2014-06-29 13:27 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Ecay @ 2014-06-29 5:27 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
Hello,
In the latest checkout of master, I am seeing an infloop in
org-element-inlinetask-parser. This originates when that function
calls back into org-element-at-point to look for a property drawer,
which moves the point back before the beginning of the inlinetask and
then attempts to re-enter org-element-inlinetask-parser.
The attached files reproduce the bug. Eval the .el file in emacs -Q
(after changing the path to your checkout of the org sources) and then
attempt to open the .org file.
The latest commit in my checkout of org is:
commit 2824502e2ebe2744e5f53acabb5b3b04f9a391b9
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Sat Jun 28 00:28:45 2014 +0200
org-element: Fix cache corruption when altering a drawer
My emacs is a recent-ish trunk build; latest commit:
commit cacabe3a49dbb3da268e93d88ad0f21924f26bed
Author: Kelvin White <kelvin.white77@gmail.com>
Date: Thu Jun 19 13:22:31 2014 -0400
Update comments in erc-format-@nick to reflect changes in last merge.
Thanks,
Aaron
[-- Attachment #2: bug.el --]
[-- Type: text/x-emacs-lisp, Size: 186 bytes --]
(let ((org-path "~/development/org-mode/"))
(add-to-list 'load-path (concat org-path "lisp/")))
(require 'org)
(require 'org-inlinetask)
;; optional:
(setq org-element-use-cache nil)
[-- Attachment #3: bug.org --]
[-- Type: application/vnd.lotus-organizer, Size: 185 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] Infloop in org-element-inlinetask-parser
2014-06-29 5:27 [BUG] Infloop in org-element-inlinetask-parser Aaron Ecay
@ 2014-06-29 13:27 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-06-29 13:27 UTC (permalink / raw)
To: Aaron Ecay; +Cc: emacs-orgmode
Hello,
Aaron Ecay <aaronecay@gmail.com> writes:
> In the latest checkout of master, I am seeing an infloop in
> org-element-inlinetask-parser. This originates when that function
> calls back into org-element-at-point to look for a property drawer,
> which moves the point back before the beginning of the inlinetask and
> then attempts to re-enter org-element-inlinetask-parser.
Good catch. This should be fixed. Thank you for the report.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-29 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29 5:27 [BUG] Infloop in org-element-inlinetask-parser Aaron Ecay
2014-06-29 13:27 ` Nicolas Goaziou
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).