aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Zlatanov2015-02-05 11:50:17 +0000
committerKatsumi Yamaoka2015-02-05 11:50:17 +0000
commitca25231a264d0c8dead443ab75c2edb02161cff9 (patch)
tree48e5a41abe46727f602728852b34fffa8f591160
parentdf1e4ea210c081c969e092628aa999b1a4d59dfd (diff)
downloademacs-ca25231a264d0c8dead443ab75c2edb02161cff9.tar.gz
emacs-ca25231a264d0c8dead443ab75c2edb02161cff9.zip
doc/misc/auth.texi (Multiple GMail accounts with Gnus): Add FAQ
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/auth.texi22
2 files changed, 26 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 82a74cb2847..1264400041c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12015-02-05 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * auth.texi (Multiple GMail accounts with Gnus): Add FAQ.
4
12015-02-05 Lars Ingebrigtsen <larsi@gnus.org> 52015-02-05 Lars Ingebrigtsen <larsi@gnus.org>
2 6
3 * gnus.texi (Using IMAP): Fix menu node name. 7 * gnus.texi (Using IMAP): Fix menu node name.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 44fcad8d493..d9145bcc2c4 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
59@menu 59@menu
60* Overview:: Overview of the auth-source library. 60* Overview:: Overview of the auth-source library.
61* Help for users:: 61* Help for users::
62* Multiple GMail accounts with Gnus::
62* Secret Service API:: 63* Secret Service API::
63* Help for developers:: 64* Help for developers::
64* GnuPG and EasyPG Assistant Configuration:: 65* GnuPG and EasyPG Assistant Configuration::
@@ -229,6 +230,27 @@ don't use a port entry, you match any Tramp method, as explained
229earlier. Since Tramp has about 88 connection methods, this may be 230earlier. Since Tramp has about 88 connection methods, this may be
230necessary if you have an unusual (see earlier comment on those) setup. 231necessary if you have an unusual (see earlier comment on those) setup.
231 232
233@node Multiple GMail accounts with Gnus
234@chapter Multiple GMail accounts with Gnus
235
236For multiple GMail accounts with Gnus, you have to make two nnimap
237entries in your @code{gnus-secondary-select-methods} with distinct
238names:
239
240@example
241(setq gnus-secondary-select-methods '((nnimap "gmail"
242 (nnimap-address "imap.gmail.com"))
243 (nnimap "gmail2"
244 (nnimap-address "imap.gmail.com"))))
245@end example
246
247Your netrc entries will then be:
248
249@example
250machine gmail login account@gmail.com password "accountpassword" port imap
251machine gmail2 login account2@gmail.com password "account2password" port imap
252@end example
253
232@node Secret Service API 254@node Secret Service API
233@chapter Secret Service API 255@chapter Secret Service API
234 256