all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: vc for git users.
Date: Tue, 29 Oct 2019 15:48:34 +0200	[thread overview]
Message-ID: <83k18npsr1.fsf@gnu.org> (raw)
In-Reply-To: <2E3DDD9F-5E02-4C7A-AAFE-83A4B0345830@aol.com> (message from Ergus on Tue, 29 Oct 2019 03:42:21 +0100)

> Date: Tue, 29 Oct 2019 03:42:21 +0100
> From: Ergus <spacibba@aol.com>
> 
> I was referring more to the terminology in the documentation, not the functionality. Only by reading the
> documentation a git user can't understand what means "next action".

Of course.  But the same is true for every non-trivial Emacs command,
isn't it?  For example, "C-x `", a.k.a. "next-error".  Why do you
expect VC commands to be more self-explanatory?

> Or can't find if it is possible to stage changes (or even if it is
> needed).

Staging is Git-specific.  VC doesn't support that, at least not
AFAIK.  VC does the staging when necessary behind the scenes.  The
user only sees the "commit" operation.

> There are also some git specific interactive functions I didn't find the
> documentation for them.

Which functions are those?

> It looks like the documentations and functions were actually written for older VCS with different
> terminologies/steps/workflows. Not common anymore in git or mercurial.

Are you sure?  I see the modern VCSes described in the VC chapter.  We
actually made an effort a few years back to describe the modern
systems before the older ones.  Of course, there could always be ways
to improve the documentation, but the general assertion that the
manual is written for old VCS systems is factually incorrect.

Bottom line, I don't understand the specifics of the complaint.
Perhaps you have in mind a user who wants to find an Emacs command for
every Git command they are familiar with: vc-push for pushing, vc-pull
for pulling, vc-merge for merging, vc-blame, vc-cherry-pick, etc.  But
VC doesn't work that way, it attempts to abstract common VCS
operations and provide a unified UI that depends on specific VCS
features as little as practically possible.  That has a disadvantage:
you need to learn the VC concepts and commands before you can use them
efficiently, but the significant advantage is that once you learned
them, you can use them with any supported VCS.



  reply	other threads:[~2019-10-29 13:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-28 14:21 vc for git users Ergus
2019-10-28 15:36 ` Pankaj Jangid
2019-10-28 16:16 ` Eli Zaretskii
2019-10-28 21:50   ` Skip Montanaro
2019-10-28 23:40     ` VanL
2019-10-29  8:30       ` Eric S Fraga
2019-10-29  2:42   ` Ergus via Users list for the GNU Emacs text editor
2019-10-29 13:48     ` Eli Zaretskii [this message]
     [not found]       ` <mailman.65.1572356923.4165.help-gnu-emacs@gnu.org>
2019-10-29 13:59         ` Lars Magne Ingebrigtsen
2019-10-29 14:18           ` Eli Zaretskii
2019-10-29 15:31             ` Dmitry Gutov
2019-10-29 16:31               ` Eli Zaretskii
2019-10-29 17:38               ` Stefan Monnier
2019-10-29 18:00               ` Steinar Bang
2019-10-29 20:09                 ` Štěpán Němec
2019-10-30  9:34                 ` Marcin Borkowski
2019-10-30 13:43                   ` Robert Pluim
     [not found]             ` <mailman.69.1572358708.4165.help-gnu-emacs@gnu.org>
2019-10-29 20:52               ` Lars Magne Ingebrigtsen

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=83k18npsr1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.