From: Uwe Brauer <oub@mat.ucm.es>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
Subject: Re: is it possible to «lose» edits when aborting recursive-edits?
Date: Thu, 11 Jan 2024 08:02:10 +0100 [thread overview]
Message-ID: <87bk9sic99.fsf@mat.ucm.es> (raw)
In-Reply-To: 83bk9smkvp.fsf@gnu.org
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Wed, 10 Jan 2024 21:54:09 +0100
>> From: Uwe Brauer via "Emacs development discussions." <emacs-devel@gnu.org>
>>
>> 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.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2024-01-11 7:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 20:54 is it possible to «lose» edits when aborting recursive-edits? Uwe Brauer via Emacs development discussions.
2024-01-11 6:42 ` Eli Zaretskii
2024-01-11 7:02 ` Uwe Brauer [this message]
2024-01-11 9:02 ` Eli Zaretskii
2024-01-11 10:01 ` Uwe Brauer
2024-01-11 17:51 ` Uwe Brauer via Emacs development discussions.
2024-01-16 8:20 ` Jean Louis
2024-01-16 14:50 ` [External] : " Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bk9sic99.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.