diff options
| author | Ted Zlatanov | 2015-02-05 11:50:17 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2015-02-05 11:50:17 +0000 |
| commit | ca25231a264d0c8dead443ab75c2edb02161cff9 (patch) | |
| tree | 48e5a41abe46727f602728852b34fffa8f591160 /doc | |
| parent | df1e4ea210c081c969e092628aa999b1a4d59dfd (diff) | |
| download | emacs-ca25231a264d0c8dead443ab75c2edb02161cff9.tar.gz emacs-ca25231a264d0c8dead443ab75c2edb02161cff9.zip | |
doc/misc/auth.texi (Multiple GMail accounts with Gnus): Add FAQ
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/auth.texi | 22 |
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 @@ | |||
| 1 | 2015-02-05 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * auth.texi (Multiple GMail accounts with Gnus): Add FAQ. | ||
| 4 | |||
| 1 | 2015-02-05 Lars Ingebrigtsen <larsi@gnus.org> | 5 | 2015-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 | |||
| 229 | earlier. Since Tramp has about 88 connection methods, this may be | 230 | earlier. Since Tramp has about 88 connection methods, this may be |
| 230 | necessary if you have an unusual (see earlier comment on those) setup. | 231 | necessary 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 | |||
| 236 | For multiple GMail accounts with Gnus, you have to make two nnimap | ||
| 237 | entries in your @code{gnus-secondary-select-methods} with distinct | ||
| 238 | names: | ||
| 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 | |||
| 247 | Your netrc entries will then be: | ||
| 248 | |||
| 249 | @example | ||
| 250 | machine gmail login account@gmail.com password "accountpassword" port imap | ||
| 251 | machine 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 | ||