unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12905: 24.2.50; org: edit source block causes data loss
@ 2012-11-16 11:49 Andy Moreton
  2012-12-07 15:36 ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Moreton @ 2012-11-16 11:49 UTC (permalink / raw)
  To: 12905


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.





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

end of thread, other threads:[~2012-12-12 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 11:49 bug#12905: 24.2.50; org: edit source block causes data loss Andy Moreton
2012-12-07 15:36 ` Chong Yidong
2012-12-12 16:55   ` Bastien
2012-12-12 17:39     ` Andy Moreton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).