all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: esr@thyrsus.com
Cc: emacs-devel@gnu.org, Richard Stallman <rms@gnu.org>,
	Miles Bader <miles@gnu.org>
Subject: Re: Commit practices
Date: Sun, 30 Dec 2007 14:52:09 +0100	[thread overview]
Message-ID: <85abnsxpbq.fsf@lola.goethe.zz> (raw)
In-Reply-To: <20071230133958.GB6184@thyrsus.com> (Eric S. Raymond's message of "Sun, 30 Dec 2007 08:39:58 -0500")

"Eric S. Raymond" <esr@thyrsus.com> writes:

> David Kastrup <dak@gnu.org>:
>> 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	other threads:[~2007-12-30 13:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071229141014.3364A2C83DC@grelber.thyrsus.com>
2007-12-29 18:32 ` Commit practices Eric S. Raymond
2007-12-29 18:45   ` Eli Zaretskii
2007-12-29 20:52     ` Eric S. Raymond
2007-12-30  1:36   ` Richard Stallman
2007-12-30  3:56     ` Stephen J. Turnbull
2007-12-30  6:45       ` Eric S. Raymond
2007-12-30  6:44     ` Eric S. Raymond
2007-12-30 10:08       ` David Kastrup
2007-12-30 10:47         ` Eric S. Raymond
2007-12-30 11:01           ` Miles Bader
2007-12-30 12:36             ` Eric S. Raymond
2007-12-30 12:43               ` Miles Bader
2007-12-30 13:33                 ` Eric S. Raymond
2007-12-30 13:51                   ` Miles Bader
2007-12-30 14:00                     ` David Kastrup
2007-12-30 12:44               ` David Kastrup
2007-12-30 13:39                 ` Eric S. Raymond
2007-12-30 13:52                   ` David Kastrup [this message]
2007-12-30 14:02       ` Richard Stallman
2007-12-30 17:25         ` Eric S. Raymond
2007-12-30 22:58           ` Richard Stallman
2007-12-31  3:25             ` Eric S. Raymond
2007-12-31 22:29               ` Richard Stallman
2007-12-30  7:58     ` Karl Fogel
2007-12-31  0:59     ` Dan Nicolaescu
2007-12-31 22:29       ` Richard Stallman
2008-01-01  0:48         ` Dan Nicolaescu
2008-01-01 22:47           ` Johan Bockgård

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=85abnsxpbq.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=esr@thyrsus.com \
    --cc=miles@gnu.org \
    --cc=rms@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.