Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id C0363431FBC for ; Sat, 28 Nov 2009 09:40:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7mEi8PnaHIRr for ; Sat, 28 Nov 2009 09:40:38 -0800 (PST) X-Greylist: delayed 9632 seconds by postgrey-1.32 at olra; Sat, 28 Nov 2009 09:40:38 PST Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by olra.theworths.org (Postfix) with ESMTP id 26B98431FAE for ; Sat, 28 Nov 2009 09:40:38 -0800 (PST) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NERHg-0002ox-Ka for notmuch@notmuchmail.org; Sat, 28 Nov 2009 18:40:36 +0100 Received: from 95.166.24.143 ([95.166.24.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Nov 2009 18:40:36 +0100 Received: from asjo by 95.166.24.143 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Nov 2009 18:40:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Date: Sat, 28 Nov 2009 18:38:34 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Lines: 44 Message-ID: <87pr72mtwl.fsf_-_@topper.koldfront.dk> References: <1258851430-28732-1-git-send-email-chris@chris-wilson.co.uk> <87einkqeyt.fsf@yoom.home.cworth.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.166.24.143 X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Subject: [notmuch] Archiving outgoing email in Gnus (was Re: notmuch-new: Eliminate tallocs whilst construct filenames.) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 17:40:38 -0000 On Fri, 27 Nov 2009 05:23:06 -0800, Carl wrote: > [*] I tried and tried to figure out how to get gnus to save an Fcc (a > file copy of all outgoing messages), and failed to configure the > various "fake newsgroup things" that gnus wanted for me to be able > to do this. I use this simple recipe for archiving all my outgoing emails and news-articles in nnml+archive:{news,mail}-{year} in Gnus: ; Define nnml+archive: for archiving emails and news in ~/Mail/archive: (setq gnus-message-archive-method '(nnml "archive" (nnml-directory "~/Mail/archive") (nnml-active-file "~/Mail/archive/active") (nnml-get-new-mail nil) (nnml-inhibit-expiry t))) ; Tell Gnus to archive outgoing articles/emails automatically: (setq gnus-message-archive-group '((if (message-news-p) (concat "news-" (format-time-string "%Y")) (concat "mail-" (format-time-string "%Y"))))) ; Mark gcc'ed (archive) as read: (setq gnus-gcc-mark-as-read t) > The other piece I want is for unsent mail drafts to automatically > be saved, and for notmuch to prompt me to continue with a draft if > I start composing a new message while a draft is > around. Currently, I can save a draft while composing in > message-mode with "C-x C-s" but the big bug here is that the > drafts never get deleted when I send the message, so I can't tell > unfinished drafts apart from completed-and-sent messages. (This works for me in Gnus: automatic saving, deletion when sending.) Best regards, Adam -- "I'll dye without my hair!" Adam Sjøgren asjo@koldfront.dk