sensorflo / adoc-mode

A major-mode for editing AsciiDoc files in Emacs
https://github.com/sensorflo/adoc-mode/wiki
76 stars 41 forks source link

Infinite loop in adoc-kwf-attriblist #8

Closed hyaline9 closed 9 years ago

hyaline9 commented 10 years ago

Function adoc-kwf-attriblist can enter an infinite loop leading to a hung emacs process.

Original report and test case: https://stackoverflow.com/questions/21787592/debugging-emacs-freezing-in-adoc-mode

fidergo-stephane-gourichon commented 10 years ago

I'm regularly hit by a an issue that looks very similar. My case is editing some table options, or specific options for external filters. It actually happens whenever editing a line starting with some text in brackets like this: [example]. It is enough to position the cursor right before the closing bracket and type a character. Thanks yaline9 for reporting. I've read the stackoverflow question and added my two cents there.

Hey, Florian, what can we do to help you fix it ?

sensorflo commented 9 years ago

Sorry for the late reply. I enjoyed a long holiday since spring '14. I now just pushed version 0.6.3 which contains the fix for this bug, based on the work of phillord.