emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-


From: Lin Sun
Subject: Re: [BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)]
Date: Fri, 2 Dec 2022 07:37:59 +0000

Hi Ihor,

> I cannot reproduce.
> Can you please provide detailed steps starting from emacs -Q?

The bug caused by the function org-table-clean-line​ calls the org-string-width​ inside a string-match​ clause without protection, for the org-string-width​ maybe change the match data then cause the string-match run into wrong result.

The attachment is a quick patch for the issue, please help to review and apply it, thanks


Attachment: 0001-org-table.el-fix-match-data-changed-in-org-table-cle.patch
Description: 0001-org-table.el-fix-match-data-changed-in-org-table-cle.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]