From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Problem in tangle-mode -- WAS: Automatically adding local variables to tangled file Date: Mon, 10 Jun 2013 09:58:13 -0600 Message-ID: <87k3m2hsa2.fsf@gmail.com> References: <878v2omz5g.fsf@krugs.de> <51af4bfd.0c95ec0a.2372.097e@mx.google.com> <87ehcf6xey.fsf@gmail.com> <87ehcewdye.fsf@krugs.de> <8738ssmoyl.fsf@gmail.com> <87k3m21jhc.fsf@krugs.de> <8761xmgtpy.fsf_-_@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4Uq-0006BE-1d for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um4Uo-0006PD-PN for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:59:03 -0400 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:38865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4Uo-0006P7-JB for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 11:59:02 -0400 Received: by mail-pb0-f41.google.com with SMTP id rp16so3891376pbb.0 for ; Mon, 10 Jun 2013 08:59:01 -0700 (PDT) In-Reply-To: <8761xmgtpy.fsf_-_@krugs.de> (Rainer M. Krug's message of "Mon, 10 Jun 2013 12:12:25 +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: Rainer M Krug Cc: emacs-orgmode >>> >>> I've added a :tangle-mode header argument which may be used to control >>> the permissions of tangled files. See the manual for instructions on >>> it's usage. >> >> >> Thanks a lot. I will try it out today or tomorrow. > > I did, and there is a problem with tangling multiple blocks into a > single file: > Oh, stupid of me. Thanks for sending this alert, I've just pushed up a change which should fix this problem. We now wait to set the file modes until after all blocks are tangled and after the post-tangle-hook has been run. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte