From: matteo <matteo.leccardi@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [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/)]
Date: Sun, 08 May 2022 08:48:44 +0200 [thread overview]
Message-ID: <874k20v7sj.fsf@gmail.com> (raw)
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
next reply other threads:[~2022-05-09 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-08 6:48 matteo [this message]
2022-05-09 13:42 ` [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/)] Ihor Radchenko
2022-05-09 13:42 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874k20v7sj.fsf@gmail.com \
--to=matteo.leccardi@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).