aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorGnus developers2012-11-02 23:37:02 +0000
committerKatsumi Yamaoka2012-11-02 23:37:02 +0000
commita71e2379a331e430f774fc16645f460f1de2b4a0 (patch)
treeead84ee93d53a139674be60ee09b2aa4f41e9347 /doc/misc
parent00a3b041730e178fe68850b76ac4216af62ea606 (diff)
downloademacs-a71e2379a331e430f774fc16645f460f1de2b4a0.tar.gz
emacs-a71e2379a331e430f774fc16645f460f1de2b4a0.zip
Merge changes made in Gnus master
2012-10-05 Katsumi Yamaoka <yamaoka@jpl.org> * gnus.texi (Mail Source Specifiers): Document :leave keyword used for pop mail source. 2012-10-25 Tassilo Horn <tsdh@gnu.org> * gnus-dired.el (gnus-dired-attach): Attach to last used message buffer by default. Patch provided by Stephen Eglen. 2012-10-05 Katsumi Yamaoka <yamaoka@jpl.org> New UIDL implementation. * mail-source.el (mail-sources, mail-source-keyword-map): Add :leave as a pop3 keyword. (mail-source-fetch-pop): Bind pop3-leave-mail-on-server. * pop3.el (pop3-leave-mail-on-server): Allow number. (pop3-uidl-file, pop3-uidl-file-backup): New user options. (pop3-movemail): Add UIDL support. (pop3-send-streaming-command): Take a list of mail numbers instead of the number of mails. (pop3-write-to-file): Add X-UIDL header. (pop3-uidl-stat, pop3-uidl-dele, pop3-uidl-load, pop3-uidl-save) (pop3-uidl-add-xheader): New functions. * message.el (message-ignored-resent-headers): Add X-Content-Length and X-UIDL headers.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus.texi41
2 files changed, 38 insertions, 8 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d719a02e32e..768a846bd1a 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12012-11-02 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus.texi (Mail Source Specifiers):
4 Document :leave keyword used for pop mail source.
5
12012-11-01 Glenn Morris <rgm@gnu.org> 62012-11-01 Glenn Morris <rgm@gnu.org>
2 7
3 * cl.texi: General copyedits for style, line-breaks, etc. 8 * cl.texi: General copyedits for style, line-breaks, etc.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index a9cd0d3567c..47ff355d946 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -14759,20 +14759,37 @@ This can be either the symbol @code{password} or the symbol @code{apop}
14759and says what authentication scheme to use. The default is 14759and says what authentication scheme to use. The default is
14760@code{password}. 14760@code{password}.
14761 14761
14762@item :leave
14763Non-@code{nil} if the mail is to be left on the @acronym{POP} server
14764after fetching. Mails once fetched will never be fetched again by the
14765@acronym{UIDL} control. Only the built-in @code{pop3-movemail} program
14766(the default) supports this keyword.
14767
14768If this is neither @code{nil} nor a number, all mails will be left on
14769the server. If this is a number, leave mails on the server for this
14770many days since you first checked new mails. If this is @code{nil}
14771(the default), mails will be deleted on the server right after fetching.
14772
14773@vindex pop3-uidl-file
14774The @code{pop3-uidl-file} variable specifies the file to which the
14775@acronym{UIDL} data are locally stored. The default value is
14776@file{~/.pop3-uidl}.
14777
14778Note that @acronym{POP} servers maintain no state information between
14779sessions, so what the client believes is there and what is actually
14780there may not match up. If they do not, then you may get duplicate
14781mails or the whole thing can fall apart and leave you with a corrupt
14782mailbox.
14783
14762@end table 14784@end table
14763 14785
14764@vindex pop3-movemail 14786@findex pop3-movemail
14765@vindex pop3-leave-mail-on-server 14787@vindex pop3-leave-mail-on-server
14766If the @code{:program} and @code{:function} keywords aren't specified, 14788If the @code{:program} and @code{:function} keywords aren't specified,
14767@code{pop3-movemail} will be used. If @code{pop3-leave-mail-on-server} 14789@code{pop3-movemail} will be used.
14768is non-@code{nil} the mail is to be left on the @acronym{POP} server
14769after fetching when using @code{pop3-movemail}. Note that POP servers
14770maintain no state information between sessions, so what the client
14771believes is there and what is actually there may not match up. If they
14772do not, then you may get duplicate mails or the whole thing can fall
14773apart and leave you with a corrupt mailbox.
14774 14790
14775Here are some examples for getting mail from a @acronym{POP} server. 14791Here are some examples for getting mail from a @acronym{POP} server.
14792
14776Fetch from the default @acronym{POP} server, using the default user 14793Fetch from the default @acronym{POP} server, using the default user
14777name, and default fetcher: 14794name, and default fetcher:
14778 14795
@@ -14787,6 +14804,14 @@ Fetch from a named server with a named user and password:
14787 :user "user-name" :password "secret") 14804 :user "user-name" :password "secret")
14788@end lisp 14805@end lisp
14789 14806
14807Leave mails on the server for 14 days:
14808
14809@lisp
14810(pop :server "my.pop.server"
14811 :user "user-name" :password "secret"
14812 :leave 14)
14813@end lisp
14814
14790Use @samp{movemail} to move the mail: 14815Use @samp{movemail} to move the mail:
14791 14816
14792@lisp 14817@lisp