From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: bug#12905: 24.2.50; org: edit source block causes data loss Date: Wed, 12 Dec 2012 16:34:18 -0500 Message-ID: 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: multipart/alternative; boundary=20cf300faea394539404d0ae8f27 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Titwb-0007Xs-GY for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:34:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TitwZ-00087W-O8 for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:34:21 -0500 Received: from mail-qa0-f48.google.com ([209.85.216.48]:37621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TitwZ-00085o-IT for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:34:19 -0500 Received: by mail-qa0-f48.google.com with SMTP id l8so1860011qaq.0 for ; Wed, 12 Dec 2012 13:34:18 -0800 (PST) In-Reply-To: <87bodzt201.fsf@norang.ca> 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: Bernt Hansen Cc: Bastien , Org Mode Mailing List --20cf300faea394539404d0ae8f27 Content-Type: text/plain; charset=UTF-8 On 12 December 2012 16:05, Bernt Hansen wrote: > Hi Bastien, > > I'm not sure if this is related or not - I don't have time to track down > the offending commit right now. > > org-edit-special (C-c ') is currently broken in master. > > I get the same thing when trying (C-c ') on the #+begin_src line. When trying it within the body of the source block it works properly > I get the following backtrace > > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) > copy-marker(nil t) > org-edit-src-code() > org-edit-special() > call-interactively(org-edit-special nil nil) > --8<---------------cut here---------------end--------------->8--- > > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 > on raven, modified by Debian > > Org-mode version 7.9.2 (release_7.9.2-664-gb1f369 @ > /home/bernt/git/org-mode/lisp/) > > Thanks, > Bernt > > Regards, Jon > > Bastien writes: > > > Hi Chong, > > > > Chong Yidong 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 > > --20cf300faea394539404d0ae8f27 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 12 Dec= ember 2012 16:05, Bernt Hansen <bernt@norang.ca> wrote:
Hi Bastien,

I'm not sure if this is related or not - I don't have time to track= down
the offending commit right now.

org-edit-special (C-c ') is currently broken in master.


I get the same thing when trying (C-c ') on t= he #+begin_src line.=C2=A0 When trying
it within the body of the source = block it works properly
I get the following backtrace

--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---

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

Org-mode version 7.9.2 (release_7.9.2-664-gb1f369 @
/home/bernt/git/org-mode/lisp/)

Thanks,
Bernt


Regards,
Jon

Bastien <bzg@altern.org> writes= :

> Hi Chong,
>
> Chong Yidong <cyd@gnu.org> wr= ites:
>
>> 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 ba= ckported 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.g= it/commit/?h=3Dmaint&id=3De5ea08


--20cf300faea394539404d0ae8f27--