From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9684 Path: news.gmane.org!not-for-mail From: Jens Thiele Newsgroups: gmane.emacs.gnus.user Subject: Re: IMAP support Date: Tue, 18 Sep 2007 23:05:56 +0200 Organization: Arcor Message-ID: <86r5s4-f8o.ln1@karme.afraid.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190156681 31676 80.91.229.12 (18 Sep 2007 23:04:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 23:04:41 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Sep 19 01:04:40 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXm7Q-0004rC-TN for gegu-info-gnus-english@m.gmane.org; Wed, 19 Sep 2007 01:04:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXm7P-0004qa-C8 for gegu-info-gnus-english@m.gmane.org; Tue, 18 Sep 2007 19:04:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Original-Lines: 68 Original-NNTP-Posting-Date: 18 Sep 2007 23:08:31 CEST Original-NNTP-Posting-Host: d6a3bf38.newsspool3.arcor-online.net Original-X-Trace: DXC=X>NA4i0bkZh; iVb[J9ZZP`McF=Q^Z^V3h4Fo<]lROoRa^; 5]aA^R6>bXZ@hQEjPH9eY\8Tn_`2hcb?\ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9684 Archived-At: On 18 Sep 2007, rileyrgdev@googlemail.com wrote: > I recently signed up to a free account at fastmail just to try out > IMAP from Gnus. I have connected fine and can see email just fine. But > whats the story with local buffering? Is the whole idea of IMAP that > this doesn't happen? Yes and no ;-) > Can Gnus do it? What should I do if I want a > local copy in case the network is down? I assume you use the nnimap backend. You may have to adjust your agent settings. By default only the mail headers are cached by the agent. I just tried it myself. (Beware: I do not no the caveats yet ;-)) Bellow I try to describe one possible way to do it. I followed the instructions of the gnus agent documentation. Using Exal de Jesus Garcia Carrillo's referencing style ;-) : (Info-goto-node "(gnus)Gnus Unplugged") Step 1: Create a category for groups the agent should keep the complete articles/mails. In the Group buffer type: "J c" to enter the *Agent Category* "a" to create a new category (i called it "downloadall") "e" to edit the category Change the selection predicate to true Optionally disable agent cache expiration. Step 2: Add groups to this category In the Group buffer type: "J a" on the group to add to the category (in my case "downloadall") Step 3: Tell the agent to store articles when selected in "plugged mode", too. M-x customize-variable gnus-select-article-hook Simply set the cross on gnus-agent-fetch-selected-article I think that's it. Some other keys to keep in mind (use "C-h k" followed by the keystrokes to get help - f.e. "C-h k C-h k") and see (Info-goto-node "(gnus)Agent commands") Group buffer: "J j" toggle plugged/unplugged "J s" download (prepare for going unplugged - tell agent to download all new mails/news) Summary buffer: "J M-#" remove agent download mark It is probably a good idea to read the section about "Agent and IMAP". Especially this part: ,---- (Info-goto-node "(gnus)Agent and IMAP"): | Some things are currently not implemented in the Agent that you'd | might expect from a disconnected IMAP client, including: | | * Copying/moving articles into nnimap groups when unplugged. | | * Creating/deleting nnimap groups when unplugged. `---- Greetings Jens PS: have fun with gnus ;-)