From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: refine org-babel-tangle-jump-to-org? Date: Fri, 07 Jun 2013 14:29:07 +0200 Message-ID: <8738suhzos.fsf@krugs.de> References: <87r4goy0uo.fsf@krugs.de> <87ehcoktsl.fsf@gmail.com> <87fvx3bnzl.fsf@krugs.de> <87wqqfjnmi.fsf@gmail.com> <878v2rsfol.fsf@krugs.de> <8761xr8ei4.fsf@gmail.com> <87a9n2wclj.fsf@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkvnM-0008Du-Ly for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 08:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkvnE-0006Vl-2V for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 08:29:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:42296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkvnD-0006VR-S6 for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 08:29:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UkvnC-0004LQ-Iv for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 14:29:18 +0200 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jun 2013 14:29:18 +0200 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jun 2013 14:29:18 +0200 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 Rainer M Krug writes: > Eric Schulte writes: > [snip (46 lines)] >> For now I think both padlines and link comments are required for the >> jumping functionality to work. I've updated the documentation to >> reflect this. >> > > Thanks - I will change it accordingly. I just discovered, that I have a problem with the setting of org-src-preserve-indentation, as I am using org to write a package, and I have put DESCRIPTION into the org file (as fundamental). If I have org-src-preserve-indentation set to t, the lines start with two spaces (" ") which causes an error in reading the files. I can disable padlines for these source blocks, which is no problem, but I think I can't change the setting for org-src-preserve-indentation for a single block. Would it be possible to have this option as a header argument, so that I can change it for certain blocks? The same problem is for the local file arguments: they must not be in the DESCRIPTION and NAMESPACE file. I could use sed or similar to adjust these files, but I would rather prefer to a) be able to have org-src-preserve-indentation for tangling as a header argument b) a variable in which I can specify in which tangled files should have the local variables included. By the way, the post-tangle-hook approach works, but it has the disadvantage, that each file needs to be written twice - in the mini buffer, each tangled file is shown twice. As one org file contains several (>10) tangles output files, this adds to the time needed for tangling. Cheers, Rainer > > Rainer > > [snip (16 lines)] > > <#secure method=pgpmime mode=sign> > -- Rainer M. Krug email: RMKruggmailcom