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 B620B431FDA for ; Fri, 29 Jan 2010 05:22:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001] autolearn=ham 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 Bh0PSxZhIXgC for ; Fri, 29 Jan 2010 05:22:05 -0800 (PST) Received: from homiemail-a22.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by olra.theworths.org (Postfix) with ESMTP id C6EB6431FD5 for ; Fri, 29 Jan 2010 05:22:05 -0800 (PST) Received: from sspaeth.de (unknown [195.190.178.84]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPA id 6AFC81A807E; Fri, 29 Jan 2010 05:21:59 -0800 (PST) Received: by sspaeth.de (sSMTP sendmail emulation); Fri, 29 Jan 2010 14:21:56 +0100 From: "Sebastian Spaeth" To: Jameson Rollins , notmuch@notmuchmail.org In-Reply-To: <878wbj4nfq.fsf@servo.finestructure.net> References: <873a1zs3t5.fsf@jhu.edu> <878wbj4nfq.fsf@servo.finestructure.net> Date: Fri, 29 Jan 2010 14:21:56 +0100 Message-ID: <87ockdoxl7.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Fri, 29 Jan 2010 13:22:06 -0000 First, I think this FCC method is phantastic and it works like a charm. I agree that we should include the snippets at least in some "contrib" directory (or doc/examples) to make it easier to find. Jameson Rollins wrote: > (defun my-message-header-setup () > (message-add-header "Fcc: ~/.mail/sent")) > (add-hook 'message-send-hook 'my-message-header-setup) I tried to replace that snippet with: (setq message-default-mail-headers "Fcc: ~/.mail/sent\n") because I like to see the Fcc header when composing, but this only works for new messages (via ctrl-x m) and not when invoked with "r"(eply) on an existing message in notmuch. Is message-default-mail-headers only invoked for completely new mails? The message mode manual doesn't state anything about that. And I agree with JRollins patch to not add the BCC to myself from notmuch.el by default. Either make it a notmuch option, or specify how to set up a default BCC in emacs in the docs. Sebastian