From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 01b97f9 1/2: Move VC diff ASYNC argument to the fifth position
Date: Sun, 14 Dec 2014 17:04:55 +0200 [thread overview]
Message-ID: <548DA717.1070608@yandex.ru> (raw)
In-Reply-To: <jwvtx0ymi5z.fsf-monnier+emacsdiffs@gnu.org>
On 12/14/2014 04:18 PM, Stefan Monnier wrote:
>> Move VC diff ASYNC argument to the fifth position
>
> BTW, we should devise a "standard" way to turn an async operation into
> a synchronous one, so that APIs such as the one used for VC backends can
> simply always work asynchronously, and if the client needs the answer
> right away he can just use this standard way.
Right, it can be a better replacement for `vc-exec-after'.
It would again break compatibility, but still checking if the returned
arg is a promise, and if so forcing it, would be easier than calling
`vc-call-backend' with different arguments depending on the Emacs version.
prev parent reply other threads:[~2014-12-14 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20141214105203.6572.30685@vcs.savannah.gnu.org>
[not found] ` <E1Y06mS-0001iy-Fl@vcs.savannah.gnu.org>
2014-12-14 14:18 ` [Emacs-diffs] master 01b97f9 1/2: Move VC diff ASYNC argument to the fifth position Stefan Monnier
2014-12-14 15:04 ` Dmitry Gutov [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=548DA717.1070608@yandex.ru \
--to=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.