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 9D7EC4196F0 for ; Sun, 25 Apr 2010 19:52:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 Mfjbk3BJ5rNx for ; Sun, 25 Apr 2010 19:52:55 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 79458431FC1 for ; Sun, 25 Apr 2010 19:52:55 -0700 (PDT) Received: from localhost ([::1] helo=x200.gr8dns.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O6ERK-0002Xa-Lh; Mon, 26 Apr 2010 02:52:54 +0000 Received: by x200.gr8dns.org (Postfix, from userid 500) id 0F20FCC6C8; Sun, 25 Apr 2010 19:52:54 -0700 (PDT) From: Dirk Hohndel To: Jesse Rosenthal , notmuch@notmuchmail.org Subject: Re: RFC: Adding an attachment composition interface to notmuch In-Reply-To: <87tyqzja4m.fsf@jhu.edu> References: <87sk8vz3hm.fsf@jhu.edu> <87tyqzja4m.fsf@jhu.edu> User-Agent: Notmuch/0.2-201-g0605b37 (http://notmuchmail.org) Emacs/23.1.1 (i386-redhat-linux-gnu) Date: Sun, 25 Apr 2010 19:52:54 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Mon, 26 Apr 2010 02:52:56 -0000 On Sun, 25 Apr 2010 21:06:01 -0400, Jesse Rosenthal wrote: > On Sat, 20 Feb 2010 22:12:21 -0500, Jesse Rosenthal wrote: > > Tach is a minor mode that adds mutt-like attachment handling to > > message mode. It's not notmuch specific, but I wrote it to use with > > notmuch, and I thought it might be of use to some on the list. > > I wanted to see if there would be any interest in adding this to notmuch > in 0.4 or after. It makes composing messages with attachments much more > pleasant that using raw mml-mode, and would likely be much more > accomodating to new users. With the new notmuch-mua hooks, it would be > easy to turn on and off as well. I've been using it for a number of > months, and have not had any problems with it. I have not played with the version you posted earlier - sofar I use the attachment functionality that Emacs offers by default and I agree that this is lacking. >From your description I can't quite tell if tach is overkill, though. When I just attach a file I'd like to be able to do this just using the minibuffer to pick a file - not having to open another buffer, press +, find the file, etc... > One issue to note: if you start composing a message with tach-mode > enabled, and then disable it, the attachments you added with tach won't > get added properly (there will just be a plaintext list of them at the > the bottom of the message after a separator). In other words, tach > converts the attachment list on sending, just as message-mode adds > headers, removes "text follows this line", etc. This doesn't seem like > an issue to me (a message started by message-mode can't be sent by > another MUA either) but I did want to bring it to people's attention. I think that's reasonable > If there is interest, I would take the necessary steps to integrate it > and prepare a patch. I'd be interested to see a notmuch integration... /D -- Dirk Hohndel Intel Open Source Technology Center