[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12905: 24.2.50; org: edit source block causes data loss
From: |
Andy Moreton |
Subject: |
bug#12905: 24.2.50; org: edit source block causes data loss |
Date: |
Fri, 16 Nov 2012 11:49:57 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 |
This is a serious bug causing loss of data.
Recent messages on the org-mode mailing list suggest that this
issue may have been fixed upstream. If so, such changes have not
yet been merged back into emacs-24.
Starting from emacs -Q:
1) open an org-mode buffer "foo.org" and add:
#+begin_src c
#+end_src
2) With point on at the start of the '#+begin_src' line, type C-'
(org-edit-special) to edit the content of the source block.
this will open a window for another buffer "*Org Src foo.org[ c ]*".
3) Add some text to the "*Org Src foo.org[ c ]*" buffer and type C-'
(org-edit-src-exit) to commit the changes back to the org file.
The entire contents of the data block are lost.
4) Edit an existing non-empty source block in the same way, and all of
the pre-existing content is lost.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#12905: 24.2.50; org: edit source block causes data loss,
Andy Moreton <=