From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Problem with org-babel-detangle Date: Sun, 31 Jan 2016 20:50:25 +0100 Message-ID: <87oac11qbi.fsf@nicolasgoaziou.fr> References: <87h9hvkiq6.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPxz3-0004cT-J3 for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 14:48:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPxz0-0003Qv-Dq for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 14:48:29 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPxz0-0003Qr-7A for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 14:48:26 -0500 In-Reply-To: <87h9hvkiq6.fsf@posteo.de> (Titus von der Malsburg's message of "Fri, 29 Jan 2016 16:34:57 -0800") 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: Titus von der Malsburg Cc: emacs-org list Hello, Titus von der Malsburg writes: > I tangeled the following org-mode file: > > #+BEGIN_SRC R :tangle /tmp/test.R :comments link > 1 + 2 > #+END_SRC >=20=20=20 > #+BEGIN_SRC R :tangle /tmp/test.R :comments link > 3 + 4 > #+END_SRC > > The result was: > > ## [[file:test.org][No\ heading:1]] > 1 + 2 > ## No\ heading:1 ends here >=20=20=20 > ## [[file:test.org][No\ heading:2]] > 3 + 4 > ## No\ heading:2 ends here > > Then I changes =E2=80=9C3 + 4=E2=80=9D to =E2=80=9C3 + 5=E2=80=9D, revisi= ted the org buffer, and > executed `org-babel-detangle'. > > Expected behavior: The second code block in org file is updated to contain > =E2=80=9C3 + 5=E2=80=9D. > > Actual behaviour: I find myself in a buffer containing test.R, the > cursor is inside the first code block at =E2=80=9C1=E2=80=9D, the second = code block=E2=80=99s > content in the org buffer is highlighted, and I have an edit buffer for > that code block. The content of the second code block is not updated. Fixed. Thank you. Regards, --=20 Nicolas Goaziou