Re: [PATCH] org-babel-tangle: Do not allow tangling into self

2024-01-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > 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

Re: [PATCH] org-babel-tangle: Do not allow tangling into self

2024-01-10 Thread Rudolf Adamkovič
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.)

[PATCH] org-babel-tangle: Do not allow tangling into self

2024-01-08 Thread Ihor Radchenko
>From e2b0913930119737bac69d17738d0ebb44f999f7 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Mon, 8 Jan 2024 16:58:24 +0100 Subject: [PATCH] org-babel-tangle: Do not allow tangling into self * lisp/ob-tangle.el (org-babel-tangle): Throw an error when trying to tangle into the org file we tan