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 19F12431FD0 for ; Thu, 10 Nov 2011 17:55:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 rhDgI69jTsqo for ; Thu, 10 Nov 2011 17:55:25 -0800 (PST) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2BC01431FB6 for ; Thu, 10 Nov 2011 17:55:25 -0800 (PST) Received: by wyg8 with SMTP id 8so3773073wyg.26 for ; Thu, 10 Nov 2011 17:55:24 -0800 (PST) Received: by 10.180.90.6 with SMTP id bs6mr11692854wib.63.1320976523702; Thu, 10 Nov 2011 17:55:23 -0800 (PST) Received: from localhost (26.48-242-81.adsl-dyn.isp.belgacom.be. [81.242.48.26]) by mx.google.com with ESMTPS id co5sm6003926wib.8.2011.11.10.17.55.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Nov 2011 17:55:23 -0800 (PST) From: Pieter Praet To: Ivy Foster , Thomas Jost , notmuch@notmuchmail.org Subject: Re: [PATCH 3/3] Add notmuch-hello-mode-hook In-Reply-To: <878vo2a31c.fsf@nausicaa.localdomain> References: <87hb2rlps7.fsf@nausicaa.localdomain> <871utuhjyp.fsf@schnouki.net> <878vo2a31c.fsf@nausicaa.localdomain> User-Agent: Notmuch/0.9+76~g2fd88e6 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Fri, 11 Nov 2011 02:54:30 +0100 Message-ID: <87ipmrtodl.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, 11 Nov 2011 01:55:26 -0000 On Sun, 30 Oct 2011 11:54:07 -0400, Ivy Foster wrote: > On Sun, 30 Oct 2011 11:06:38 +0100, Thomas Jost wrote: > > On Sat, 29 Oct 2011 12:35:04 -0400, Ivy Foster wrote: > > > The following patch adds a mode-hook to > > > notmuch-hello-mode. Not much else to say, really. > > > I agree it's useful, but > > id:"1317643438-31272-5-git-send-email-schnouki@schnouki.net" > > ;) (the hooks are not run from the same place though) > > Hmm, good point. Whoops again. I guess the question comes > down to run-hooks or run-mode-hooks, then. I'll be sure to > be more careful about browsing through the archive first, in > the future. > Digging through the archive is *always* a good idea. It's filled to the brim with treasure, waiting to be re-discovered ;) Here's some more notmuch-hello-mode-hook patches from the past: - id:"1278000507-22290-6-git-send-email-dmitry.kurochkin@gmail.com" - id:"1312799218-10243-1-git-send-email-anarcat@koumbit.org" > > > Would people find hooks for before and/or after adding > > > the tags useful? > > > There are such hooks already: > > notmuch-{after,before}-tag-hook. Or do you mean something > > different? > > Oh, I meant populating the hello buffer with the list of > tags, not around adding or removing a message's tags. > > iff > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch Peace -- Pieter