all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Editing with tramp and version control?
@ 2007-08-17  8:44 David Kastrup
  0 siblings, 0 replies; only message in thread
From: David Kastrup @ 2007-08-17  8:44 UTC (permalink / raw)
  To: emacs-devel


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-17  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17  8:44 Editing with tramp and version control? David Kastrup

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.