From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 4463@emacsbugs.donarmstrong.com, bug-gnu-emacs <bug-gnu-emacs@gnu.org>
Subject: bug#4463: vc-do-command return value when using 'async
Date: Thu, 17 Sep 2009 14:05:45 -0400 [thread overview]
Message-ID: <jwv3a6ltpku.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <200909171543.n8HFhaR1024941@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 17 Sep 2009 08:43:36 -0700 (PDT)")
> 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
prev parent reply other threads:[~2009-09-17 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 15:43 bug#4463: vc-do-command return value when using 'async Dan Nicolaescu
2009-09-17 18:05 ` Stefan Monnier [this message]
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=jwv3a6ltpku.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=4463@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=dann@ics.uci.edu \
/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.