unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: 35290@debbugs.gnu.org
Subject: bug#35290: 27.0.50; Outdated vc-revert documentation
Date: Mon, 15 Apr 2019 19:14:24 +0300	[thread overview]
Message-ID: <83bm17i6u7.fsf@gnu.org> (raw)
In-Reply-To: <CABczVweE3GWoGq=EjbN2S+hBpZuYCQC2UW37XxUtGKOg=-wrXg@mail.gmail.com> (message from Mauro Aranda on Mon, 15 Apr 2019 12:54:45 -0300)

> From: Mauro Aranda <maurooaranda@gmail.com>
> Date: Mon, 15 Apr 2019 12:54:45 -0300
> 
> 1) C-h r
> 2) m VC Undo
> 
> Read this sentence:
> Note that ‘C-x v u’ cannot be reversed with the usual undo commands
> (see Undo), so use it with care.
> 
> To check it is outdated:
> 1) emacs -Q
> 2) C-x C-f FILE-UNDER-VERSION-CONTROL
> 3) Make some changes and then C-x C-s
> 4) Revert: C-x v u
> 5) Confirm: yes RET
> 6) After reverting is done, type C-/
> 7) Observe that you got your changes back.

I believe this is a misunderstanding due to the inherent ambiguity of
"undo" in this context.  The text wants to say that you cannot undo
the effect in the repository, not in the buffer that visits the file.

Thanks.





  parent reply	other threads:[~2019-04-15 16:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15 15:54 bug#35290: 27.0.50; Outdated vc-revert documentation Mauro Aranda
2019-04-15 16:08 ` Mauro Aranda
2019-04-15 16:14 ` Eli Zaretskii [this message]
2019-04-15 17:16   ` Dmitry Gutov
2019-04-15 18:19     ` Eli Zaretskii
2019-04-15 20:25       ` Dmitry Gutov
2019-04-15 22:25         ` Mauro Aranda
2019-04-16 15:28           ` Eli Zaretskii
2019-04-15 17:44   ` Mauro Aranda
2019-04-15 18:23     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bm17i6u7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35290@debbugs.gnu.org \
    --cc=maurooaranda@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).