jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
832 stars 68 forks source link

not to work with org-caldav-sync #67

Closed grauschnabel closed 7 years ago

grauschnabel commented 7 years ago

Hi there,

I tried:

  (async-start
   ;; Sync caldav
   (org-caldav-sync)

   (lambda (result)
     (message "Caldav sync finished with %s" result)))

but it seems not to be async, emacs stops user input (25.1)

thanks for help

thierryvolpiatto commented 7 years ago

Martin notifications@github.com writes:

Hi there,

I tried:

(async-start ;; Sync caldav (org-caldav-sync)

(lambda (result) (message "Caldav sync finished with %s" result)))

but it seems not to be async, emacs stops user input (25.1)

I know nothing about org-caldav-sync but what I know is that if this function is requiring a user interaction during its execution, it will fail in async-start (of course).

Thierry

grauschnabel commented 7 years ago

Oh, yes of course... thanks.