Hey everyone,

After exporting an `org` buffer in the editor of a source block, I
find that `org-edit-special` stops working in some places. To
reproduce:

1. `emacs -Q`,
2. `M-x org-mode`,
3. Replace the scratch buffer with the following contents:

--8<---------------cut here---------------start------------->8---
#+begin_src org
  ,* Test [0/3]
  + [ ] A
  + [ ] B
  + [ ] C
#+end_src

#+begin_src shell
  printf "I’m a shell script!"
#+end_src

| A | B |
|---+---|
| 1 | 2 |
#+TBLFM: @>=$#-1+1

\[ \sqrt{1 + x^2} \]
--8<---------------cut here---------------end--------------->8---

   At this point, `org-edit-special` (`C-c '`) works as expected on
   the source blocks, table formula, and `LaTeX` equation.

4. Enter the editor for the `org` source block (`C-c '`), export it
   via the dispatch (`C-c C-e`), and exit the editor (`C-c '`). In my
   testing it didn’t matter which exporter.

5. At this point `org-edit-special` fails on the source blocks and
   `LaTeX` equation with message “Marker does not point anywhere”.
   Editing the table formula still works.

Emacs  : GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, 
cairo version 1.18.4)
Package: Org mode version 9.8-pre (release_9.7.30-375-gf7fb11 @
/home/jacob/.config/emacs/straight/build/org/)

Is this a bug?

Thanks,

-- 
Jacob S. Gordon
jacob.as.gor...@gmail.com

======================

Please avoid sending me HTML emails and MS Office documents.
https://useplaintext.email/#etiquette
https://www.gnu.org/philosophy/no-word-attachments.html

Reply via email to