From: Jani Nikula Date: Fri, 7 Sep 2012 08:03:35 +0000 (+0200) Subject: Re: [PATCH v2 2/5] emacs: add no-display arg to notmuch-hello-refresh-hook X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bebf3db81860e4bef971a22ac9871ae776496fed;p=notmuch-archives.git Re: [PATCH v2 2/5] emacs: add no-display arg to notmuch-hello-refresh-hook --- diff --git a/22/9ec5dd75b49f9de1603ec473a5b13f8639e81e b/22/9ec5dd75b49f9de1603ec473a5b13f8639e81e new file mode 100644 index 000000000..4e6bb2e5a --- /dev/null +++ b/22/9ec5dd75b49f9de1603ec473a5b13f8639e81e @@ -0,0 +1,78 @@ +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 21D59431FAF + for ; Fri, 7 Sep 2012 01:03:47 -0700 (PDT) +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 yZuHGtTg2gOn for ; + Fri, 7 Sep 2012 01:03:45 -0700 (PDT) +Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com + [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A376E431FAE + for ; Fri, 7 Sep 2012 01:03:45 -0700 (PDT) +Received: by qaas11 with SMTP id s11so6774149qaa.5 + for ; Fri, 07 Sep 2012 01:03:44 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type:x-gm-message-state; + bh=YtRND0XEdyYxMX2hhkHVgQnyF9/n/JyGXoy4SVLWg3I=; + b=EJZaUI2wb1/vVcy//PpEQX4yEtpxocLHDtyo9qccUT/lgdn7jmhjuxcUauYx45Yn9d + q2c5evL2eXUrvKYFvrU5w6hBCLwuJaYuHH+KyuxijEVGq5Kuvk2B2C1C1q/kAWDY8FOL + pH+w9XO3I3+VRe+BHkFK0OBGqq/5X6VidNIIAEuXGcVe0QuxBDJUkKpgcMwqWtL++uHQ + JaMIIB4ry5SMxLdfTC7WB/xtryGr3L4YlxP5bAeEL4nZMsj8igT8mFTnsWUweMVS4LG0 + sR8X521X72W3t8CDE9MHgWpN65hTHsWiCP4r3fCSerm5GgdLPbsCcNhS/J6vz/S56vqy + R2Ig== +Received: by 10.224.181.70 with SMTP id bx6mr6420612qab.79.1347005023990; + Fri, 07 Sep 2012 01:03:43 -0700 (PDT) +Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3]) + by mx.google.com with ESMTPS id w4sm2081837qaa.9.2012.09.07.01.03.42 + (version=SSLv3 cipher=OTHER); Fri, 07 Sep 2012 01:03:43 -0700 (PDT) +From: Jani Nikula +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH v2 2/5] emacs: add no-display arg to + notmuch-hello-refresh-hook +In-Reply-To: +References: + <51214be764d0f54d0db3658e43f1377d67e34fdf.1346596156.git.jani@nikula.org> + +User-Agent: Notmuch/0.14+42~g397e223 (http://notmuchmail.org) Emacs/23.2.1 + (x86_64-pc-linux-gnu) +Date: Fri, 07 Sep 2012 10:03:35 +0200 +Message-ID: <87k3w68dk8.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Gm-Message-State: + ALoCoQlxLKCb5M/7MzhadAEOlzHbquJxb2NRyOYt5CC3/IVqgrpJCK+JmXGPeuorKQkrDlmiwD6+ +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, 07 Sep 2012 08:03:47 -0000 + +On Fri, 07 Sep 2012, Tomi Ollila wrote: +> So, Jani -- probably you can use the no-display from the dynamic scope of +> the caller in your hook in .emacs -- not nice but... + +Okay. I'll roll a v2 with the refresh status message displayed directly +from notmuch-hello as suggested by Michal Sojka. I think this is a +useful feature to have upstream, but let's see how that flies. + +Jani.