emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Comment links for tangled source blocks at the file root are broke


From: Elias Kueny
Subject: [BUG] Comment links for tangled source blocks at the file root are broken [9.5.4 (9.5.4-gb3b17c @ /home/user/.emacs.d/straight/build/org/)]
Date: Fri, 22 Jul 2022 09:41:14 +0000

Hello,

There seems to be an issue with using ":comments link" when the source block is 
at the root of the org file instead of under a heading. This happens using emacs -Q.

A file containing something like this:
#+begin_src elisp :tangle yes :comments link
 (message "test")
#+end_src

tangles to:
;; [[file:test2.org::+begin_src elisp :tangle yes :comments link][No heading:1]]
(message "test")
;; No heading:1 ends here

I don't think the "+begin_src" part is meant to be here. Then org-babel-detangle looks 
for a "* +begin_src elisp :tangle yes :comments link" heading and fails to detangle.

Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, 
cairo version 1.17.4)
of 2022-04-09
Package: Org mode version 9.5.4 (9.5.4-gb3b17c)

Best regards,
Elias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]