From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: bug#12905: 24.2.50; org: edit source block causes data loss Date: Wed, 12 Dec 2012 16:51:40 -0500 Message-ID: <877gonszv7.fsf@norang.ca> References: <50A62865.8010904@gmail.com> <87sj7han8a.fsf__16482.9143243425$1354894646$gmane$org@gnu.org> <87wqwnyzud.fsf__32428.3239235685$1355331429$gmane$org@bzg.ath.cx> <87bodzt201.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiuDS-0003SG-2s for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:51:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiuDQ-0004UI-Nb for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:51:46 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:37368 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiuDQ-0004UC-Jh for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:51:44 -0500 In-Reply-To: (Jonathan Leech-Pepin's message of "Wed, 12 Dec 2012 16:34:18 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jonathan Leech-Pepin Cc: Bastien , Org Mode Mailing List For me it occurs both inside the block (begin_src or begin_example) and on the first line. Regards, Bernt Jonathan Leech-Pepin writes: > On 12 December 2012 16:05, Bernt Hansen wrote: > > Hi Bastien, >=20=20=20=20 > I'm not sure if this is related or not - I don't have time to track d= own > the offending commit right now. >=20=20=20=20 > org-edit-special (C-c ') is currently broken in master. > > I get the same thing when trying (C-c ') on the #+begin_src line.=C2=A0 W= hen trying > it within the body of the source block it works properly > > I get the following backtrace >=20=20=20=20 > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-= p nil) > =C2=A0 copy-marker(nil t) > =C2=A0 org-edit-src-code() > =C2=A0 org-edit-special() > =C2=A0 call-interactively(org-edit-special nil nil) > --8<---------------cut here---------------end--------------->8--- >=20=20=20=20 > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-= 11 > on raven, modified by Debian >=20=20=20=20 > Org-mode version 7.9.2 (release_7.9.2-664-gb1f369 @ > /home/bernt/git/org-mode/lisp/) >=20=20=20=20 > Thanks, > Bernt > > Regards, > Jon > > Bastien writes: >=20=20=20=20 > > Hi Chong, > > > > Chong Yidong writes: > > > >> Could you please take a look at Bug#12905? =C2=A0If it causes data= loss, I > >> think it should be fixed in the emacs-24 branch. =C2=A0Thanks. > > > > 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. =C2=A0I hope this won't create merge conflicts. > > > > * http://orgmode.org/cgit.cgi/org-mode.git/commit/?h=3Dmaint&id=3De= 5ea08