From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: BUG org-babel-goto-named-src-block with indented block Date: Wed, 26 Feb 2014 10:32:24 +0100 Message-ID: <87sir62p93.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIar7-0002bV-5Y for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 04:32:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIaqz-0000LE-R9 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 04:32:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:39102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIaqz-0000Ks-KZ for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 04:32:37 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIaqx-0000bc-Ny for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 10:32:35 +0100 Received: from p57bdcd89.dip0.t-ipconnect.de ([87.189.205.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 10:32:35 +0100 Received: from andreas.leha by p57bdcd89.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 10:32:35 +0100 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-orgmode@gnu.org Hi all, there seems to be a bug, where org-babel-goto-named-src-block does not find an indented source block. Here is an example: --8<---------------cut here---------------start------------->8--- * Test org-babel-goto-named-src-block Try org-babel-goto-named-src-block (C-c C-v g) with point on the following line. (This works for me.) #+call: block1(20) Try org-babel-goto-named-src-block (C-c C-v g) with point on the following line. (This does not work for me.) #+call: block2(20) ** The first block *without* indentation #+name: block1 #+header: :var end=10 #+begin_src R 1:end #+end_src ** The second block *with* indentation #+name: block2 #+header: :var end=11 #+begin_src R 2:end #+end_src --8<---------------cut here---------------end--------------->8--- Regards, Andreas