unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Tim Van Holder" <tim.vanholder@gmail.com>
To: "Dan Nicolaescu" <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: 23.0.60; new vc-status interface: no more multi-file commits?
Date: Fri, 11 Apr 2008 20:56:26 +0200	[thread overview]
Message-ID: <d69e7f6a0804111156h3fcb0a7fv20222217ab8cbb6e@mail.gmail.com> (raw)
In-Reply-To: <200804111613.m3BGDFfs005044@sallyv1.ics.uci.edu>

On Fri, Apr 11, 2008 at 6:13 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
> "Tim Van Holder" <tim.vanholder@gmail.com> writes:
>
>   > With todays CVS build, it looks like there is a new interface for C-x
>   > v d; in itself that is quite nice (especially since it also lists
>   > removed files, which the previous system never did, at least not for a
>   > CVS backend).
>   > However, it looks like one main functionality is omitted from this,
>   > namely the ability to commit files directly (i.e. the old v-v action
>   > in VC-under-dired; not that big a deal for a CVS backend, but with
>   > changeset-based systems like svn/git that would seem to be a serious
>   > lack, not to mention that it directly contradicts the information in
>   > NEWS).
>
>  C-x v v should work just fine.  If you mark multiple files it commits
>  all of them, if none are marked it commits the file on the current
>  line.  vc-dired did the same thing.
>  It does not have a shorter binding yet, or a menu entry.

Leave it to me not to try the full command. I'm too used to the v-v
shorthand from vc-dired.
Since neither v or v-v did it, and there was no menu entry, I
(incorrectly) assumed the feature simply was not there.

>   > As an aside, is there a way to cleanly abort a long-running background
>   > status update? I briefly checked the behaviour of vc-status on a tree
>   > with svn backend; it also seemed to lack the ability to commit changed
>   > files.
>
>  Can you please explain exactly what the problem was?

This was just to mention that the (apparent) lack of a Commit action
was not limited to the CVS backend.

>   > On top of that, the retrieving of the status info uses a
>   > background process; in the case of the tree I was using (a gcc
>   > checkout), that process is quite slow, and there did not seem to be an
>   > obvious way to cancel it. C-g did nothing (since it's a background
>   > process), and when it finished after I had killed the vc-status buffer
>   > I received a 'selecting deleted buffer' error.
>
>  C-c C-c kills the update process (second to last menu entry).

I didn't notice that.
Would be nice if the background task could check that its buffer was
still alive when updating it, so that it would silently abort if the
(overly impatient) user killed it (or, alternatively, kill the process
if the buffer is killed).




  reply	other threads:[~2008-04-11 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 15:42 23.0.60; new vc-status interface: no more multi-file commits? Tim Van Holder
2008-04-11 16:13 ` Dan Nicolaescu
2008-04-11 18:56   ` Tim Van Holder [this message]
2008-04-14  9:13     ` Dan Nicolaescu

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d69e7f6a0804111156h3fcb0a7fv20222217ab8cbb6e@mail.gmail.com \
    --to=tim.vanholder@gmail.com \
    --cc=dann@ics.uci.edu \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).