* 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
* bug#12905: 24.2.50; org: edit source block causes data loss 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 0 siblings, 1 reply; 4+ messages in thread From: Chong Yidong @ 2012-12-07 15:36 UTC (permalink / raw) To: Bastien Guerry; +Cc: 12905 Hi Bastien, Could you please take a look at Bug#12905? If it causes data loss, I think it should be fixed in the emacs-24 branch. Thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12905: 24.2.50; org: edit source block causes data loss 2012-12-07 15:36 ` Chong Yidong @ 2012-12-12 16:55 ` Bastien 2012-12-12 17:39 ` Andy Moreton 0 siblings, 1 reply; 4+ messages in thread From: Bastien @ 2012-12-12 16:55 UTC (permalink / raw) To: Chong Yidong; +Cc: 12905-done Hi Chong, Chong Yidong <cyd@gnu.org> writes: > Could you please take a look at Bug#12905? If it causes data loss, I > think it should be fixed in the emacs-24 branch. Thanks. This is fixed, thanks for the heads up. I just merged the Org bugfix branch into emacs-24. I made one mistake: I backported Paul's fixes about whitespaces in our bugfix branch*, so those fixes are now in emacs-24 too, not in the trunk only. I hope this won't create merge conflicts. * http://orgmode.org/cgit.cgi/org-mode.git/commit/?h=maint&id=e5ea08 -- Bastien ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12905: 24.2.50; org: edit source block causes data loss 2012-12-12 16:55 ` Bastien @ 2012-12-12 17:39 ` Andy Moreton 0 siblings, 0 replies; 4+ messages in thread From: Andy Moreton @ 2012-12-12 17:39 UTC (permalink / raw) To: 12905 On Wed 12 Dec 2012, Bastien wrote: > This is fixed, thanks for the heads up. > > I just merged the Org bugfix branch into emacs-24. I can confirm the bug is fixed for emacs-24 after this merge. Thanks Bastien, AndyM ^ 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).