emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)]
@ 2024-06-10  8:55 Rustom Mody
  2024-06-12 13:33 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Rustom Mody @ 2024-06-10  8:55 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)]
  2024-06-10  8:55 [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)] Rustom Mody
@ 2024-06-12 13:33 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-06-12 13:33 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

Rustom Mody <rustompmody@gmail.com> writes:

> 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

Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=84945f9de

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-12 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10  8:55 [BUG] orgtbl hangs emacs [9.8-pre (release_9.7.2-13-gc426f4 @ ..../org-mode/lisp/)] Rustom Mody
2024-06-12 13:33 ` 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).