all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Editing with tramp and version control?
Date: Fri, 17 Aug 2007 10:44:44 +0200	[thread overview]
Message-ID: <861we235z7.fsf@lola.quinscape.zz> (raw)


Hi,

I frequently use tramp for editing remote files.  Version control
(git) does not work.  I think that there should at least be an option
for that: basically, all that would be required is going through the
code and substituting start-process... with start-file-process... and
so on, right?

Another thing worth noting is vc-register, C-x v i, serves no useful
function when a file is already registered.

There are version control systems (at least git) where this function
is mapped to "git-add" which adds material to the next commit.  Since
multi-file commits are more the rule than the exception with modern
version control systems (which often make a point of having atomic
multiple-file commits), I think it reasonable to have C-x v i register
a file for the next commit.  This registration may for some version
control systems just be something done internally in Emacs (most
probably not surviving the session).  It would be made part of the
next C-x v v commit by default.  It is a bit more complicated to
figure out how to change "the default".

Since there is a lot of difference between version control systems of
what may or may not be possible, maybe C-u C-x v v could just offer a
prepared commit command in the minibuffer and give the user a
possibility of editing it before submission?

-- 
David Kastrup

                 reply	other threads:[~2007-08-17  8:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=861we235z7.fsf@lola.quinscape.zz \
    --to=dak@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.