[Top][All Lists]

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

[elpa] externals/async 0a56cae 50/60: Update README

From: Stefan Monnier
Subject: [elpa] externals/async 0a56cae 50/60: Update README
Date: Tue, 8 Oct 2019 10:11:35 -0400 (EDT)

branch: externals/async
commit 0a56caea0478a9668f9bedec0555c4e8fda16fa8
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>

    Update README
 README.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/README.md b/README.md
index a94b6c5..602015a 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,33 @@ If you don't want to make dired/helm asynchronous disable it 
with `dired-async-m
 Users of Debian 9 or later or Ubuntu 16.04 or later may simply `apt-get 
install elpa-async`.
+## Authentification and user interaction
+All authentifications require user interaction like answering to a
+prompt, entering a password etc...  Your async implementation should
+avoid any user interaction to avoid beeing stuck with a prompt you
+will not be able to answer to in child emacs.  For all what is remote
+(mails, tramp etc...) you have to let emacs manage your identification
[auth-source](https://www.gnu.org/software/emacs/manual/html_mono/auth.html) so 
that you do not have to enter a password.
+Basically all you need is something like this in your init file:
+    (use-package auth-source
+      :no-require t
+      :config (setq auth-sources '("~/.authinfo.gpg" "~/.netrc")))
+And a "~/.authinfo.gpg" file containing entries such as
+    default port sudo login root password xxxxxxxx
+    machine xxxxx port xxx login xxx password xxxxxxx
+for more specific hosts (smtp, mails etc...)
+See [auth-source 
manual](https://www.gnu.org/software/emacs/manual/html_mono/auth.html) for more 
 ## Enable asynchronous compilation of your (M)elpa packages
 By default emacs package.el compile packages in its running emacs session.

reply via email to

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