emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rustom Mody <rustompmody@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)]
Date: Mon, 10 Jun 2024 14:25:09 +0530	[thread overview]
Message-ID: <CAJ+Teoehk30LKVCTwMy0uREBHkNVBvrOLDZYboUQ4wBV6Fnwzw@mail.gmail.com> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

1. Make a python file as below
2. Start orgtbl
3. Try C-c C-c inside the table

Emacs hangs -- that is I get a turning wheel until I give a C-g
Note: The #+ORGTBL line
      NEEDS TO BE THE VERY FIRST LINE!

NickD on the emacs-SE guesses it is a hanging in the function
org-tbl-gather-send-defs in org-tbl.el
because of (forward-line -1) in the function which has no effect when on
line 1

See my question: https://emacs.stackexchange.com/q/81455/5223
His chat https://chat.stackexchange.com/transcript/message/65777321#65777321

Note I ran this with: make vanilla from the git-repo of org
So I am not enclosing the variables

---- python file ----
#+ORGTBL: SEND marks orgtbl-to-generic :lfmt " \"%s\": [%s,%s]" :llfmt
" \"%s\": [%s,%s]"
| abe  | 1 | 2 |
| beth | 9 | 1 |
"""

stud_db = {
# BEGIN RECEIVE ORGTBL marks
 "abe": [1,2]
 "beth": [9,1]
# END RECEIVE ORGTBL marks
}
-----end file -----



Emacs  : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8)
 of 2023-09-02, modified by Debian
Package: Org mode version 9.8-pre (release_9.7.2-13-gc426f4 @
/home/rusi/pdsw/org-mode/lisp/)


             reply	other threads:[~2024-06-10  8:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-10  8:55 Rustom Mody [this message]
2024-06-12 13:33 ` [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)] 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=CAJ+Teoehk30LKVCTwMy0uREBHkNVBvrOLDZYboUQ4wBV6Fnwzw@mail.gmail.com \
    --to=rustompmody@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).