GNU bug report logs - #4463
vc-do-command return value when using 'async

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Thu, 17 Sep 2009 15:50:07 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 4463 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: bug#4463: vc-do-command return value when using 'async
Date: Thu, 17 Sep 2009 14:05:45 -0400
> When passing 'async to vc-do-command there's no reliable way to
> determine the exit status for the command.

> When using (vc-do-command 'async BLAG) it is possible that by the time
> the next command is executed the process has finished and it's not
> possible to retrieve the process return value.

> The patch below change vc-do-command to return the process for the async
> case, that way the use has a handle to use in case the return value is
> needed.

If you've checked that returning a process object won't trip up any of
the callers, feel free to install the change.


        Stefan




This bug report was last modified 15 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.