emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master ca25231 1/2: doc/misc/auth.texi (Multiple GMail acc


From: Katsumi Yamaoka
Subject: [Emacs-diffs] master ca25231 1/2: doc/misc/auth.texi (Multiple GMail accounts with Gnus): Add FAQ
Date: Thu, 05 Feb 2015 11:51:17 +0000

branch: master
commit ca25231a264d0c8dead443ab75c2edb02161cff9
Author: Ted Zlatanov <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>

    doc/misc/auth.texi (Multiple GMail accounts with Gnus): Add FAQ
---
 doc/misc/ChangeLog |    4 ++++
 doc/misc/auth.texi |   22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 82a74cb..1264400 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-05  Teodor Zlatanov  <address@hidden>
+
+       * auth.texi (Multiple GMail accounts with Gnus): Add FAQ.
+
 2015-02-05  Lars Ingebrigtsen  <address@hidden>
 
        * gnus.texi (Using IMAP): Fix menu node name.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 44fcad8..d9145bc 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -59,6 +59,7 @@ It is a way for multiple applications to share a single 
configuration
 @menu
 * Overview::                    Overview of the auth-source library.
 * Help for users::
+* Multiple GMail accounts with Gnus::
 * Secret Service API::
 * Help for developers::
 * GnuPG and EasyPG Assistant Configuration::
@@ -229,6 +230,27 @@ don't use a port entry, you match any Tramp method, as 
explained
 earlier.  Since Tramp has about 88 connection methods, this may be
 necessary if you have an unusual (see earlier comment on those) setup.
 
address@hidden Multiple GMail accounts with Gnus
address@hidden Multiple GMail accounts with Gnus
+
+For multiple GMail accounts with Gnus, you have to make two nnimap
+entries in your @code{gnus-secondary-select-methods} with distinct
+names:
+
address@hidden
+(setq gnus-secondary-select-methods '((nnimap "gmail"
+                                         (nnimap-address "imap.gmail.com"))
+                                      (nnimap "gmail2"
+                                         (nnimap-address "imap.gmail.com"))))
address@hidden example
+
+Your netrc entries will then be:
+
address@hidden
+machine gmail login address@hidden password "accountpassword" port imap
+machine gmail2 login address@hidden password "account2password" port imap
address@hidden example
+
 @node Secret Service API
 @chapter Secret Service API
 



reply via email to

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