[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Commit practices

From: David Kastrup
Subject: Re: Commit practices
Date: Sun, 30 Dec 2007 14:52:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

"Eric S. Raymond" <address@hidden> writes:

> David Kastrup <address@hidden>:
>> Maybe C-x v i can be made to do this?  Expand its meaning from "register
>> new file" to "register the current file/state for the next commit"?
> That would be a very confusing way to overload C-x v i.

Not overload, rather expand its meaning.  Basically, it would do what
"git add" does.

> But if what you actually want is a way to edit the marked set without
> doing a directory listing, that might be arranged.
> Possible UI sketch:
> C-x v +  = Add the visited buffer to the selection set.
> C-x v -  = Remove the visited buffer from the selection set.
> C-x v ?  = Display the current selection set.

That sounds useful.  Depending on the version control system in
question, there might be a difference between "add file" and "add
buffer" which needs to be dealt with by asking "save?" questions and by
warning if you try saving a buffer which has been modified after adding
it to the selection set.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]