branch: master commit ed056315897c605ca3cb447b3ed10ce2d0c56f1f Author: John Wiegley <jo...@newartisans.com> Commit: John Wiegley <jo...@newartisans.com>
Assign copyrights to the FSF, add autoloads file --- async-autoloads.el | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++++ async-bytecomp.el | 3 +- async-pkg.el | 14 +----- async-test.el | 2 +- async.el | 3 +- dired-async.el | 3 +- smtpmail-async.el | 2 +- 7 files changed, 137 insertions(+), 19 deletions(-) diff --git a/async-autoloads.el b/async-autoloads.el new file mode 100644 index 0000000..cb7d77a --- /dev/null +++ b/async-autoloads.el @@ -0,0 +1,129 @@ +;;; async-autoloads.el --- automatically extracted autoloads +;; +;;; Code: +(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) + +;;;### (autoloads nil "async" "async.el" (22157 39462 0 0)) +;;; Generated autoloads from async.el + +(autoload 'async-start-process "async" "\ +Start the executable PROGRAM asynchronously. See `async-start'. +PROGRAM is passed PROGRAM-ARGS, calling FINISH-FUNC with the +process object when done. If FINISH-FUNC is nil, the future +object will return the process object when the program is +finished. Set DEFAULT-DIRECTORY to change PROGRAM's current +working directory. + +\(fn NAME PROGRAM FINISH-FUNC &rest PROGRAM-ARGS)" nil nil) + +(autoload 'async-start "async" "\ +Execute START-FUNC (often a lambda) in a subordinate Emacs process. +When done, the return value is passed to FINISH-FUNC. Example: + + (async-start + ;; What to do in the child process + (lambda () + (message \"This is a test\") + (sleep-for 3) + 222) + + ;; What to do when it finishes + (lambda (result) + (message \"Async process done, result should be 222: %s\" + result))) + +If FINISH-FUNC is nil or missing, a future is returned that can +be inspected using `async-get', blocking until the value is +ready. Example: + + (let ((proc (async-start + ;; What to do in the child process + (lambda () + (message \"This is a test\") + (sleep-for 3) + 222)))) + + (message \"I'm going to do some work here\") ;; .... + + (message \"Waiting on async process, result should be 222: %s\" + (async-get proc))) + +If you don't want to use a callback, and you don't care about any +return value form the child process, pass the `ignore' symbol as +the second argument (if you don't, and never call `async-get', it +will leave *emacs* process buffers hanging around): + + (async-start + (lambda () + (delete-file \"a remote file on a slow link\" nil)) + 'ignore) + +Note: Even when FINISH-FUNC is present, a future is still +returned except that it yields no value (since the value is +passed to FINISH-FUNC). Call `async-get' on such a future always +returns nil. It can still be useful, however, as an argument to +`async-ready' or `async-wait'. + +\(fn START-FUNC &optional FINISH-FUNC)" nil nil) + +;;;*** + +;;;### (autoloads nil "async-bytecomp" "async-bytecomp.el" (22156 +;;;;;; 7687 0 0)) +;;; Generated autoloads from async-bytecomp.el + +(autoload 'async-byte-recompile-directory "async-bytecomp" "\ +Compile all *.el files in DIRECTORY asynchronously. +All *.elc files are systematically deleted before proceeding. + +\(fn DIRECTORY &optional QUIET)" nil nil) + +(defvar async-bytecomp-package-mode nil "\ +Non-nil if Async-Bytecomp-Package mode is enabled. +See the command `async-bytecomp-package-mode' for a description of this minor mode. +Setting this variable directly does not take effect; +either customize it (see the info node `Easy Customization') +or call the function `async-bytecomp-package-mode'.") + +(custom-autoload 'async-bytecomp-package-mode "async-bytecomp" nil) + +(autoload 'async-bytecomp-package-mode "async-bytecomp" "\ +Byte compile asynchronously packages installed with package.el. +Async compilation of packages can be controlled by +`async-bytecomp-allowed-packages'. + +\(fn &optional ARG)" t nil) + +;;;*** + +;;;### (autoloads nil "dired-async" "dired-async.el" (22156 7686 +;;;;;; 0 0)) +;;; Generated autoloads from dired-async.el + +(defvar dired-async-mode nil "\ +Non-nil if Dired-Async mode is enabled. +See the command `dired-async-mode' for a description of this minor mode. +Setting this variable directly does not take effect; +either customize it (see the info node `Easy Customization') +or call the function `dired-async-mode'.") + +(custom-autoload 'dired-async-mode "dired-async" nil) + +(autoload 'dired-async-mode "dired-async" "\ +Do dired actions asynchronously. + +\(fn &optional ARG)" t nil) + +;;;*** + +;;;### (autoloads nil nil ("async-pkg.el" "async-test.el" "smtpmail-async.el") +;;;;;; (22157 39488 0 0)) + +;;;*** + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; End: +;;; async-autoloads.el ends here diff --git a/async-bytecomp.el b/async-bytecomp.el index d7e9935..54313c0 100644 --- a/async-bytecomp.el +++ b/async-bytecomp.el @@ -1,7 +1,6 @@ ;;; async-bytecomp.el --- Async functions to compile elisp files async -;; Copyright (C) 2014 John Wiegley -;; Copyright (C) 2014 Thierry Volpiatto +;; Copyright (C) 2014-2016 Free Software Foundation, Inc. ;; Authors: John Wiegley <jwieg...@gmail.com> ;; Thierry Volpiatto <thierry.volpia...@gmail.com> diff --git a/async-pkg.el b/async-pkg.el index 0268724..984fbf4 100644 --- a/async-pkg.el +++ b/async-pkg.el @@ -1,12 +1,2 @@ -;;; async-pkg.el - -(define-package "async" "1.6" - "Asynchronous processing in Emacs" - '((emacs "24") - (cl-lib "0.5")) - :url "https://github.com/jwiegley/emacs-async") - -;; Local Variables: -;; no-byte-compile: t -;; End: - +;; Generated package description from async.el +(define-package "async" "1.6" "Asynchronous processing in Emacs" 'nil :url "http://elpa.gnu.org/packages/async.html" :keywords '("async")) diff --git a/async-test.el b/async-test.el index e37e33d..76d6a3a 100644 --- a/async-test.el +++ b/async-test.el @@ -1,6 +1,6 @@ ;;; async-test.el --- async.el-related tests -;; Copyright (C) 2012~2014 John Wiegley +;; Copyright (C) 2012-2016 Free Software Foundation, Inc. ;; Author: John Wiegley <jwieg...@gmail.com> ;; Created: 10 Jul 2012 diff --git a/async.el b/async.el index 2f57932..20a2f17 100644 --- a/async.el +++ b/async.el @@ -1,9 +1,10 @@ ;;; async.el --- Asynchronous processing in Emacs -;; Copyright (C) 2012~2014 John Wiegley +;; Copyright (C) 2012-2016 Free Software Foundation, Inc. ;; Author: John Wiegley <jwieg...@gmail.com> ;; Created: 18 Jun 2012 +;; Version: 1.6 ;; Keywords: async ;; X-URL: https://github.com/jwiegley/emacs-async diff --git a/dired-async.el b/dired-async.el index 3f5349d..ecab9cb 100644 --- a/dired-async.el +++ b/dired-async.el @@ -1,7 +1,6 @@ ;;; dired-async.el --- Copy/move/delete asynchronously in dired. -;; Copyright (C) 2012~2014 John Wiegley -;; Copyright (C) 2012~2014 Thierry Volpiatto +;; Copyright (C) 2012-2016 Free Software Foundation, Inc. ;; Authors: John Wiegley <jwieg...@gmail.com> ;; Thierry Volpiatto <thierry.volpia...@gmail.com> diff --git a/smtpmail-async.el b/smtpmail-async.el index 99c4017..5ac426d 100644 --- a/smtpmail-async.el +++ b/smtpmail-async.el @@ -1,6 +1,6 @@ ;;; smtpmail-async.el --- Send e-mail with smtpmail.el asynchronously -;; Copyright (C) 2012~2014 John Wiegley +;; Copyright (C) 2012-2016 Free Software Foundation, Inc. ;; Author: John Wiegley <jwieg...@gmail.com> ;; Created: 18 Jun 2012