Re: [BUG] Tangle with symbolic links don't work

2023-12-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] org-babel-tangle: Do note erase the existing tangle target > before overwriting Applied. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fbcd71e85 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Or

Re: [BUG] Tangle with symbolic links don't work

2023-12-04 Thread Ihor Radchenko
Cletip Cletip writes: > Sorry to bring up the subject again, but I didn't quite understand what the > solution was: should I modify the function ? Is it modified in a new > version of org-mode ? The tentative solution is attached. May you test it? The previous discussion was mostly about how to

Re: [BUG] Tangle with symbolic links don't work

2023-11-20 Thread Cletip Cletip
Hello ! Sorry to bring up the subject again, but I didn't quite understand what the solution was: should I modify the function ? Is it modified in a new version of org-mode ? Thank you in advance for your response. Le mar. 7 nov. 2023 à 12:28, Ihor Radchenko a écrit : > Max Nikulin writes: >

Re: [BUG] Tangle with symbolic links don't work

2023-11-07 Thread Ihor Radchenko
Max Nikulin writes: >> Max, do you see any pitfalls using `file-truename'? > > Sorry, I am not familiar with related code path. That is why I can not > reason what way to deal with file name is safer. > > If there is a world-writable directory in the file path (usually > $TMPDIR) then `file-tru

Re: [BUG] Tangle with symbolic links don't work

2023-11-07 Thread Max Nikulin
On 06/11/2023 23:17, Ihor Radchenko wrote: Cletip Cletip writes: I have an Org file, test.org, from which I tangle code blocks into test.py. The complication arises because test.py is a symbolic link. I suggest to change your workflow to not depend on particular means to write tangled files.

Re: [BUG] Tangle with symbolic links don't work

2023-11-06 Thread Ihor Radchenko
Cletip Cletip writes: > The Issue: > I have an Org file, test.org, from which I tangle code blocks into test.py. > The complication arises because test.py is a symbolic link. Each time I > perform the tangling operation, the symbolic link is unfortunately > overwritten. > ... > Proposed Solution:

[BUG] Tangle with symbolic links don't work

2023-11-06 Thread Cletip Cletip
Hello everyone, I'm reaching out to discuss a challenge I've encountered while working with Org-mode, specifically during the tangling process of code blocks. The Issue: I have an Org file, test.org, from which I tangle code blocks into test.py. The complication arises because test.py is a symbol