From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Problem with org-babel-detangle Date: Fri, 29 Jan 2016 16:34:57 -0800 Message-ID: <87h9hvkiq6.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPJVO-0005U6-5m for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 19:35:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPJVK-00025O-UT for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 19:35:10 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPJVK-00025K-Ng for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 19:35:06 -0500 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 027112099D for ; Sat, 30 Jan 2016 01:35:03 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3psc4l0rzBz5vML for ; Sat, 30 Jan 2016 01:35:02 +0100 (CET) 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: emacs-org list --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I tangeled the following org-mode file: #+BEGIN_SRC R :tangle /tmp/test.R :comments link 1 + 2 #+END_SRC =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 ## [[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, revisite= d 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 co= de 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. No error message. Tested with a current development Emacs and the development version of org-mode. I think the culprit is `org-babel-tangle-jump-to-org'. When I call it in test.R, it does not jump to the org file as it should according to the documentation. When I call it with point on the first code block, it opens an edit buffer for the second code block in the background. When I call it with point on the second code block, it opens test.org in the background but doesn=E2=80=99t do anything else. Titus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWrAUyAAoJEK40WfPGE2idCoMIALJB+8HNHE1VUDVbOKS8CuJ2 vcb/RkB0y7DY1x7ycyXmizDF/gP8qekrtkX3QVOHF6ZEaaANZ3OpI5Nt/7GnyHnT /ETxvGvlH87uLtAOrOs7Il+IC3X/1Q4ct2NnpJobI5TFYWJsiCylBf7uBzUuuczi V6I641H2cMReL1fX8+390tMqTzRJAH7S3qR4mMaHbjg1NAiM5kMwFqD3+8V4WjEi xk0TyjDNCnLDedrOluAldnateym+I9VMb/nqWgF+wCueURqushygpTsuBpVHYBDP YuZ9/kMgEsMPA6OdyUSyznAcek7PAtt539gi08CRbtcjohFrE/QA/DXNPp149mw= =ZYoD -----END PGP SIGNATURE----- --=-=-=--