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/)]

2022-12-02 Thread Lin Sun
Hi Ihor, > Considering that you can only reproduce with Spacemacs, it might be > spacemacs screwing the match data. Not Org. > There is no reason to fix something not caused by Org on Org side. Agree with you, I had located the dead loop is cause by the advice function for set-window-buffer

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/)]

2022-12-02 Thread Ihor Radchenko
Lin Sun writes: >> 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

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/)]

2022-12-01 Thread Lin Sun
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

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/)]

2022-12-01 Thread Lin Sun
Hi Ihor, > I cannot reproduce. > Can you please provide detailed steps starting from emacs -Q? It's not happened with emacs -Q, but happened with Spacemace configuration.

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/)]

2022-11-30 Thread Ihor Radchenko
Lin Sun writes: > The emacs builtin org-mode will stuck after try to expand the table with Tab > on a table column. > After investigate, I found the function org-table-clean-line will run into > dead loop for a simply call: > > (org-table-clean-line "|a|b|") > > Please help to fix this

[BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)]

2022-11-30 Thread Lin Sun
Hi, The emacs builtin org-mode will stuck after try to expand the table with Tab on a table column. After investigate, I found the function org-table-clean-line will run into dead loop for a simply call: (org-table-clean-line "|a|b|") Please help to fix this function. Thanks. Best, Lin