On Sun, 22 Oct 2017 19:30:55 +0200, Nicolas Goaziou wrote: > Hello, > > Louis Strous <lo...@quae.nl> writes: > > > When I edit a c++ code block using C-c ' and then finish the edit using > > C-c ' again, then org-mode sometimes adds a comma to the code. [...] > > Note the appearance of a comma in front of the "*". > > > > 7. Press "C-c '" to edit the code block again. The code displayed in > > the "*Org Src *scratch*[ c++ ]*" buffer does not contain the comma: > > > > if (foo) > > *foo = 3; > > > > 8. Press "C-c '" to finish the editing. The code in the *scratch* > > buffer still contains the comma. > > > > End of reproduction scenario. > > See (info "(org) Literal examples"), fourth footnote
Interesting, even if not very likely to hit anyone, that lines intentionally starting with ,,* are not escaped and thus lose one comma on the next edit. -- MichaĆ Politowski Talking has been known to lead to communication if practiced carelessly.