X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/2b01ad883c834062fb1ac1000fa4d494c79bf461..e8db6cc6f717f5ebd92e17abb1c7931324b29fd8:/README.md diff --git a/README.md b/README.md index bc764ba6b..e19fb5a54 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ +

License GPL 3 +MELPA +MELPA Stable

+ + # emacs-async `async.el` is a module for doing asynchronous processing in Emacs. # Install +## Install dired-async + Add to your `.emacs.el`: - (when (require 'dired-aux) - (require 'dired-async)) + (autoload 'dired-async-mode "dired-async.el" nil t) + (dired-async-mode 1) This will allow you to run asynchronously the dired commands for copying, renaming and symlinking. @@ -16,8 +23,28 @@ to copy, rename etc... asynchronously from [helm](https://github.com/emacs-helm/ Note that with [helm](https://github.com/emacs-helm/helm) you can disable this by running the copy, rename etc... commands with a prefix argument. -If you don't want to make dired/helm asynchronous, you can either -disable this with `dired-async-be-async` or just load `async.el`. +If you don't want to make dired/helm asynchronous disable it with `dired-async-mode`. + +### Debian and Ubuntu + +Users of Debian 9 or later or Ubuntu 16.04 or later may simply `apt-get install elpa-async`. + +## Enable asynchronous compilation of your (M)elpa packages + +By default emacs package.el compile packages in its running emacs session. +This is not a problem when installing a new package (which is not actually loaded in current emacs) +but it may create errors and bad compilation when upgrading a package (old version of package is already loaded +and running in current emacs). +You can remedy to this by allowing async to compile your packages asynchronously, +(helm and magit actually do this by default, +so if you are using these packages they will compile asynchronously) +to do this, add to your init file: + + (async-bytecomp-package-mode 1) + + +You can control which packages will compile async with `async-bytecomp-allowed-packages`. +Set it to `'(all)` to be sure you will compile all packages asynchronously. # Usage