From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: buffer-wide tangle filename Date: Thu, 29 Mar 2012 09:56:33 +0200 Message-ID: <4F7415B1.7040106@gmail.com> References: <10986.85.197.227.93.1332984324.squirrel@www.hafro.is> <4F741390.9020209@christianmoe.com> Reply-To: R.M.Krug@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDADy-0007Td-SJ for emacs-orgmode@gnu.org; Thu, 29 Mar 2012 03:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDADo-0005rs-3n for emacs-orgmode@gnu.org; Thu, 29 Mar 2012 03:56:50 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:46901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDADn-0005rY-Qp for emacs-orgmode@gnu.org; Thu, 29 Mar 2012 03:56:40 -0400 Received: by eaal1 with SMTP id l1so859237eaa.0 for ; Thu, 29 Mar 2012 00:56:36 -0700 (PDT) In-Reply-To: <4F741390.9020209@christianmoe.com> 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: mail@christianmoe.com Cc: Julian Burgos , emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/03/12 09:47, Christian Moe wrote: > Hi, Julian, > > See if it helps to fix a small syntax error: drop the colon before "tangle", and place it > after #+PROPERTY instead. > > #+PROPERTY: tangle output.el > > The colon in ":tangle" is needed when you're providing a header argument to a src block, but > not when you're setting buffer-wide properties. And do not forget to C-c C-c on the changed buffer wide property! Rainer > > Yours, Christian > > On 3/29/12 3:25 AM, Julian Burgos wrote: >> Hello everyone, This may be a very simple question. I want to tangle multiple source code >> blocks into a single file. Instead of using the same output filename as a block header (e.g. >> :tangle output.el) in each code block, can I I define a buffer-wide tangle filename? >> Something like this (which does not work)? >> >> #+PROPERTY :tangle output.el >> >> >> Any ideas? >> >> Julian >> >> >> >> > > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk90FbEACgkQoYgNqgF2egqHrwCggnp4/k+swEno/hW/iRPUfop/ P1cAnRfxvFlI03qEQg8ys/RuiBnGikeW =qodT -----END PGP SIGNATURE-----