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 2A985429E25 for ; Sun, 30 Oct 2011 08:56:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.69 X-Spam-Level: X-Spam-Status: No, score=-0.69 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] 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 EBb-kwz3e7NK for ; Sun, 30 Oct 2011 08:56:57 -0700 (PDT) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 7038F431FB6 for ; Sun, 30 Oct 2011 08:56:57 -0700 (PDT) Received: by qyk27 with SMTP id 27so6239139qyk.5 for ; Sun, 30 Oct 2011 08:56:56 -0700 (PDT) Received: by 10.229.80.203 with SMTP id u11mr2362682qck.290.1319990216812; Sun, 30 Oct 2011 08:56:56 -0700 (PDT) Received: from localhost (209-6-79-248.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com. [209.6.79.248]) by mx.google.com with ESMTPS id du5sm25890877qab.14.2011.10.30.08.56.55 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Oct 2011 08:56:56 -0700 (PDT) From: Ivy Foster To: Thomas Jost , notmuch@notmuchmail.org Subject: Re: [PATCH 3/3] Add notmuch-hello-mode-hook In-Reply-To: <871utuhjyp.fsf@schnouki.net> References: <87hb2rlps7.fsf@nausicaa.localdomain> <871utuhjyp.fsf@schnouki.net> User-Agent: Notmuch/0.9-17-ge6d85fb (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Sun, 30 Oct 2011 11:54:07 -0400 Message-ID: <878vo2a31c.fsf@nausicaa.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Sun, 30 Oct 2011 15:56:58 -0000 --=-=-= 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. > > 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6tcx8ACgkQFCESW0OqVDe0SwCfemyxFtLEhbtxrmeb3MLHK7w3 XX8AnjoasVFwLskder1pK+IEH0Vf65TF =ipDc -----END PGP SIGNATURE----- --=-=-=--