Hello Rudy, with my patch there will no backslash, because my patch takes care of removing the backslash (if there is any) on macOS.
As I wrote I recognized the backslash when using the current org-mode (without my patch applied, so just the official version) ... and this shows this different behavior on macOS (macOS has the backslash, running it on Arch Linux there is no backslash): > I did some tests (without the patch) on macOS and on Arch (same Emacs version > 31.0.50, same org-mode version). I do not know yet where exactly this might come from, but I can try to find it out. Best Tim On 22 Sep 2025, at 21:13, Rudolf Adamkovič wrote: > Tim Hansinger [email protected] writes: > >> macOS >> >> @startuml >> :test; >> @enduml > > Tim, > > Interesting! With your patch applied, I added (message "body: %s" body)' to > org-babel-plantuml-make-body' and I got in the Messages > buffer, on macOS, the following: > > @startuml > :test; > @enduml > > No backslash. If I understand you correctly, I should see one. Do I > have that right? If so, we must track down where the backslash comes > from. Or, do we know that already? > > [You can investigate, for example, by adding (message ...)' to some function, > followed by C-M-x' to evaluate the new function definition. > After that, `C-c C-c' on the Org block will show the messages in the > Messages buffer.] > > Rudy > > "'Contrariwise,' continued Tweedledee, 'if it was so, it might be; and > if it were so, it would be; but as it isn't, it ain't. That's logic.'" > --- Lewis Carroll, Through the Looking Glass, 1871/1872 > > Rudolf Adamkovič [email protected] [he/him] > http://adamkovic.org
