>>> "EZ" == Eli Zaretskii writes: >> Date: Wed, 10 Jan 2024 21:54:09 +0100 >> From: Uwe Brauer via "Emacs development discussions." >> >> I just edited for around 40 min a file, and wanted to commit the >> changes. I noticed that I had 2 or three recursive-edits level, most >> likely the result of some errors that occurred when I executed some >> reftex and latex commands (I do not recall the reasons). >> >> Be it as it may: I hit C-] as I always do, >> committed but then realized that some of my changes were not committed, >> indeed they seem to have vanished. > What do you mean by "not committed"? The did not appear in the commit. Here is an example Paragraph 1: New: blabla Paragraph: 2 New: more blabla blabla C-] Commit via vc-next-action All new parts paragraph 1 are not part of the commit. I suspect they «disappeared» when I hit C-] Possible explanation Paragraph 2 New more blabla Was written on the top-level but Paragraph 1 on some second or higher recursive-level and disappeared after having hit C-] I just run an experiment. I cannot reproduce my hypothesis > In general, please describe in more detail what you did before and > after C-], as these details matter for trying to figure out what > happened in your case. Yes of course, I wish I could, my hope was that somebody had seen something similar in the past I now set, locally %%% vc-make-backup-files: t > (Your evident assumption that there's some > obvious aspect of C-] that will immediately yield an answer is > incorrect, since C-] aborts the current command, but cannot possibly > undo the effect of previous commands on buffer text.) -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.