From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chunyang Xu Subject: Re: Asks user what to do with each tangle-file before overriding? Date: Sun, 18 Jun 2017 19:21:23 +0800 Message-ID: References: <87mv95daj2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMYH2-0004kb-HW for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:21:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMYGx-0004q6-KT for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:21:44 -0400 Received: from smtpbg202.qq.com ([184.105.206.29]:48007) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dMYGx-0004i8-C7 for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:21:39 -0400 In-Reply-To: <87mv95daj2.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: [...] > I don't think it is a good idea to have file that can be both edited > manually, and auto-generated (i.e., tangled). Or, to put it differently, > the idea behind tangling is that you only handle the code block, not the > file itself. I still think overriding exist files is dangerous, user can lost data because of it, so it should be safer if org-babel-tangle can let user decide how to deal with it. Besides, if a code block is not changed and I have already tangled it before, I don't want org-babel-tangle to update the last modified timestamp of the tangle-file every time I tangle, as along as there is no actual changes. It is simply unnecessary to me and makes the last modified timestamp more or less useless. So I would like org-babel-tangle let me choose what I want. [...]