Leo doesn't write dirty @clean nodes

64 views
Skip to first unread message

p.os...@datec.at

unread,
Mar 17, 2026, 2:54:27 AMMar 17
to leo-editor
I'd like to use Leo to maintain 2 projects, that share some code. My idea was to have C-files with a node for code concerning the one file (e.g. file_1.c XOR file_2.c) and a clone node for common  code. Now, when I change code in file_2.c in an IDE being the common part, Leo reads file_2.c and writes them to disk on "Save" as expected. I'd expected, too, that file_1.c is written as well, but isn't. 

How do you overcome that? Or should I follow a different strategy?

BTW: I use @clean-nodes because they work w/o sentinels.

Cheers
Paul

Félix

unread,
Mar 18, 2026, 11:32:01 AMMar 18
to leo-editor
Thanks for your report. I'll look into this. 

Edward K. Ream

unread,
Mar 22, 2026, 5:29:38 PMMar 22
to leo-e...@googlegroups.com
On Wed, Mar 18, 2026 at 10:32 AM Félix <felix...@gmail.com> wrote:

Many thanks for this report. I do see the (subtle) behavior you report. 

I have just created #4565 for this.

Edward
Reply all
Reply to author
Forward
0 new messages