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 6283940DBD4 for ; Mon, 15 Nov 2010 00:31:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 Ktd9LJM3YkN6 for ; Mon, 15 Nov 2010 00:31:08 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id F151A40DDD9 for ; Mon, 15 Nov 2010 00:31:07 -0800 (PST) Received: by wwb31 with SMTP id 31so2314247wwb.2 for ; Mon, 15 Nov 2010 00:31:06 -0800 (PST) Received: by 10.227.133.15 with SMTP id d15mr5759643wbt.37.1289809865296; Mon, 15 Nov 2010 00:31:05 -0800 (PST) Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com [81.149.164.25]) by mx.google.com with ESMTPS id ga16sm4873613wbb.19.2010.11.15.00.31.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 00:31:04 -0800 (PST) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 80F1D594056; Mon, 15 Nov 2010 08:28:49 +0000 (GMT) To: Sebastian Spaeth , Jameson Rollins , Matthieu Lemerre , notmuch@notmuchmail.org Subject: Re: [PATCH] How to improve the mail handling workflow? In-Reply-To: <878w0v4nt4.fsf@SSpaeth.de> References: <87fwv65zw1.fsf@free.fr> <87iq02wo8i.fsf@servo.finestructure.net> <878w0v4nt4.fsf@SSpaeth.de> User-Agent: Notmuch/0.5-6-g1e370fc (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 15 Nov 2010 08:28:49 +0000 Message-ID: <877hgfyoqm.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain 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, 15 Nov 2010 08:31:19 -0000 On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > > (define-key notmuch-search-mode-map "d" > > (lambda () > > "delete thread and advance" > > (interactive) > > (notmuch-search-add-tag "deleted") > > (forward-line))) > ... > > This only works if you've already loaded notmuch, or you get error > messages about notmuch-search-mode-map not being known. How do you deal > with that or does it simply work for you? `eval-after-load' is your friend. dme. -- David Edmondson, http://dme.org