From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12655 Path: main.gmane.org!not-for-mail From: Wes hardaker Newsgroups: gmane.emacs.gnus.general Subject: a true pop3 backend? Date: 21 Oct 1997 13:58:45 -0700 Organization: U.C. Davis, Information Technology Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: multipart/mixed; boundary="Multipart_Tue_Oct_21_13:58:45_1997-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035152152 4950 80.91.224.250 (20 Oct 2002 22:15:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:15:52 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id PAA09436 for ; Tue, 21 Oct 1997 15:12:11 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA13584 for ; Tue, 21 Oct 1997 17:14:02 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id XAA14638 for ; Tue, 21 Oct 1997 23:01:17 +0200 (MET DST) Original-Received: (qmail 2020 invoked by uid 504); 21 Oct 1997 21:01:16 -0000 Original-Received: (qmail 2017 invoked from network); 21 Oct 1997 21:01:13 -0000 Original-Received: from n4-103-246.thegrid.net (hardaker@209.60.103.246) by claymore.vcinet.com with SMTP; 21 Oct 1997 21:01:12 -0000 Original-Received: (from hardaker@localhost) by n4-103-246.thegrid.net (8.8.6/8.8.6) id NAA13242; Tue, 21 Oct 1997 13:58:45 -0700 Original-To: ding@gnus.org X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7gvRgA SrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/ IM",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 X-url: http://www-sphys.unil.ch/~whardake Original-Lines: 76 X-Mailer: Quassia Gnus v0.12/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:12655 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12655 --Multipart_Tue_Oct_21_13:58:45_1997-1 Content-Type: text/plain; charset=US-ASCII It would be cool to have a true pop3 backend (nnpop). What's the difference? It would actually leave the messages on the pop3 server and would work similar to the nntp backend... Get the headers, generate the summary and download the article when you actually requested it. Marking something as expirable would delete it from the server on exit. Of course, this isn't for the idiot, as they shouldn't leave an obscene amount of mail on a pop server that couldn't take it. It's for those of us that want to read mail in gnus away from our main ~/Mail directory. I work at home 3-4 days a week, which is where I keep my real mail. When I actually go into the office I want to use gnus and check my mail, possibly respond, but not actually download it from the server. Should be easy to implement I think. Currently I'm using the appended patch against 0.12's pop3.el, which is ok, but it downloads the entire set of mail multiple times. Ick. (I'm submitting this patch for the archives as well, obviously). Wes -- "Ninjas aren't dangerous. They're more afraid of you than you are of them." --Multipart_Tue_Oct_21_13:58:45_1997-1 Content-Type: text/plain; charset=US-ASCII Index: pop3.el =================================================================== RCS file: /home/hardaker/src/cvsroot/qgnus/pop3.el,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 pop3.el *** pop3.el 1997/10/10 15:51:46 1.1.1.1 --- pop3.el 1997/10/17 20:05:45 *************** *** 66,71 **** --- 66,74 ---- (defvar pop3-read-point nil) (defvar pop3-debug nil) + (defvar pop3-delete-incoming t + "Delete incoming mail from the pop server after downloading?") + (defun pop3-movemail (&optional crashbox) "Transfer contents of a maildrop to the specified CRASHBOX." (or crashbox (setq crashbox (expand-file-name "~/.crashbox"))) *************** *** 347,354 **** (defun pop3-dele (process msg) "Mark message-id MSG as deleted." ! (pop3-send-command process (format "DELE %s" msg)) ! (pop3-read-response process)) (defun pop3-noop (process msg) "No-operation." --- 350,358 ---- (defun pop3-dele (process msg) "Mark message-id MSG as deleted." ! (when pop3-delete-incoming ! (pop3-send-command process (format "DELE %s" msg)) ! (pop3-read-response process))) (defun pop3-noop (process msg) "No-operation." --Multipart_Tue_Oct_21_13:58:45_1997-1--