From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UHn5HrkIn2WppgAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 22:14:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UM39G7kIn2XGLgEAqHPOHw (envelope-from ) for ; Wed, 10 Jan 2024 22:14:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=zAYPeoBc; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704921273; a=rsa-sha256; cv=none; b=p6KJlsqoCVkZ3i3Tp0I7izd473MQ2lnr7Bj3ffSv+T014me2tvre/J0EB8c2paKPfYsVRs KK+4tYryVv7LgFfSB2MKRPH2Egap2RCblW58AXhp5x5nd8Mv9JIb4mz9KGVGR14E7l0vOC MYpoZ1dntSY/27MrKZAyrT5XreF5VEjX8r5VTQfYkROOXn62kobCM+tZBFRK9XxXuyoVXZ O7kbaZ0ULZDB0F9YP7Tk41/m6/7BgQylHVlma2UzhP0xMG14jaeHxYIDniCKU07HhImMfN wsSowyDm74WdAcwKmDERQqkxPC7i2A9RK22tQV+ztFTZytbZ2pd5zQ3fvQCw8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=zAYPeoBc; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704921273; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SfADQo2ogxmLnv0rdD97Y9LCxSQqQxq4Sgph7bKdtFI=; b=N/vNMEqajwcWLN89c0c+e7UwpHf43Cgbhjg1GStBzu+JRYya1WyGr4Q48BTi0Veo6G6pol g2ad/z6y/Cec/sDw39O1MYwTMMsd5tzJpFiizLrBDnndEaia47wBVdP9Em1fFkSuD5VmRG w7TF+pFuwIienDB+QD2ZpS1fczOiAILr9w1afXgiint2tLT7Tszc79YiQ5zk5QTdXo318t y4pMihulqEyQs5UbTT8NB489Cz29/IjL2Y8VHszhTnq2FaCW/6++IL9XP27DzWUOeYrOS4 eUaLScN/6gBtJpIZOKjumvdIkO62+0gVfqA3OHvmOo9OG0mNNhp8uVSsg0PdaA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40EDF418BC for ; Wed, 10 Jan 2024 22:14:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNftT-0007ti-7H; Wed, 10 Jan 2024 16:13:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNftM-0007s2-JQ for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 16:13:40 -0500 Received: from pv50p00im-ztdg10011301.me.com ([17.58.6.40]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNftK-0001m0-Ry for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 16:13:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1704921214; bh=SfADQo2ogxmLnv0rdD97Y9LCxSQqQxq4Sgph7bKdtFI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=zAYPeoBcpdhz7woe+sq67ADij97ROd4DkxJ0xUMgTMqsBNsjfy2wNactSOM1mVQWo w7XNY/GhE+9BiUeCwv5LbpaMVJJ40vXjGw1sJR8Xs/kEVwc6GBL7UxqJ2Y3M7UIbtb kXPMW/KyVHVAsCxIAgLa4TpqU5ijs3tiicvm36kS34D0e+0b+h3x/s9P7mZblRk2/p vvLxAiWTbb5pt4bV+BxukEqWSFYgfolxTwTJFGuvZXmpEYiB8XdW6h+l2hl2b/xDIH 7XU0DtHAGhSOG8YERDMMDiUFPmnmhy6YVcXiswPtVQ8T1VkAP2yGJ+6sTrvkiQofRP d2injYXQjWSAQ== Received: from Rudolfs-MacBook-Air.local (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 5184B180197; Wed, 10 Jan 2024 21:13:33 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [PATCH] org-babel-tangle: Do not allow tangling into self In-Reply-To: <87le8zyfss.fsf@localhost> References: <87le8zyfss.fsf@localhost> Date: Wed, 10 Jan 2024 22:13:30 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: BV5IDVFxroVNJx28PKm4esq0FeXzyP9y X-Proofpoint-GUID: BV5IDVFxroVNJx28PKm4esq0FeXzyP9y X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-10_11,2024-01-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 clxscore=1015 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 mlxlogscore=437 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2401100168 Received-SPF: pass client-ip=17.58.6.40; envelope-from=salutis@me.com; helo=pv50p00im-ztdg10011301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-Migadu-Queue-Id: 40EDF418BC X-Migadu-Scanner: mx13.migadu.com X-TUID: 6Hs4AkV2xt12 Ihor Radchenko writes: > The attached patch makes Org throw an error in such scenario. This is a great feature (and it deserves a test, given it protects from data loss). For what is worth, I remember making this error at least twice in the past year. (Git saved me in both cases, fortunately.) Rudy --=20 "I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it." --- Mark Twain, paraphrased Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia