emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 01b97f9 1/2: Move VC diff ASYNC argument to the


From: Dmitry Gutov
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]