* [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)]
@ 2022-05-08 6:48 matteo
2022-05-09 13:42 ` Ihor Radchenko
2022-05-09 13:42 ` Ihor Radchenko
0 siblings, 2 replies; 3+ messages in thread
From: matteo @ 2022-05-08 6:48 UTC (permalink / raw)
To: emacs-orgmode
Hi to all.
If in an org buffer there is a table, commented or not, starting from
the first line of the buffer, the command orgtbl-toggle-comment hangs
and must be terminated with C-g.
Step to reproduce:
1) create an org buffer with the following content starting from line 1:
| table |
| |
2) move the point in the table
3) execute M-x orgtbl-toggle-comment
Expected outcome:
the table gets commented like this
# | table |
# | |
Actual outcome:
Emacs hangs, C-g make it responde again, but the table does not change.
Emacs : GNU Emacs 28.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
of 2022-04-09
Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)
Thanks
Matteo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)]
2022-05-08 6:48 [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)] matteo
@ 2022-05-09 13:42 ` Ihor Radchenko
2022-05-09 13:42 ` Ihor Radchenko
1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2022-05-09 13:42 UTC (permalink / raw)
To: matteo; +Cc: emacs-orgmode
matteo <matteo.leccardi@gmail.com> writes:
> If in an org buffer there is a table, commented or not, starting from
> the first line of the buffer, the command orgtbl-toggle-comment hangs
> and must be terminated with C-g.
Thanks for reporting!
Fixed on main via 0b07b30de.
Best,
Ihor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)]
2022-05-08 6:48 [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)] matteo
2022-05-09 13:42 ` Ihor Radchenko
@ 2022-05-09 13:42 ` Ihor Radchenko
1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2022-05-09 13:42 UTC (permalink / raw)
To: matteo; +Cc: emacs-orgmode
matteo <matteo.leccardi@gmail.com> writes:
> If in an org buffer there is a table, commented or not, starting from
> the first line of the buffer, the command orgtbl-toggle-comment hangs
> and must be terminated with C-g.
Thanks for reporting!
Fixed on main via 0b07b30de.
Best,
Ihor
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-09 13:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-08 6:48 [BUG] orgtbl-toggle-comment hangs if table is in first line [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)] matteo
2022-05-09 13:42 ` Ihor Radchenko
2022-05-09 13:42 ` Ihor Radchenko
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).