--- /dev/null
+Return-Path: <dmitry.kurochkin@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id B0BC7429E43\r
+ for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 19:48:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id PnTLfQ0T7UBT for <notmuch@notmuchmail.org>;\r
+ Fri, 23 Dec 2011 19:48:05 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 87765429E3D for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 19:48:03 -0800\r
+ (PST)\r
+Received: by wgbds13 with SMTP id ds13so14931710wgb.2\r
+ for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 19:48:02 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+ h=from:to:subject:date:message-id:x-mailer:in-reply-to:references;\r
+ bh=zeRY411+RfvF/iQyQ1YKbWQWXtx6KuXM6QqUJ3L1bgk=;\r
+ b=dxFEfJGApmhokYXsIKv0pseYakCBrBhRxvbfsUtJZ8GFDGwUbb4ilFwEUPSlrcUZWR\r
+ Pmr2UQKK31jyck9eq8G2MIIOnmcbL+sMmKYzm+BsBEfwvZgJUmeUtVdGlaXJS1cgf4xb\r
+ PVKT4hAKn2bc4gmxSzpCoRRaf3TaqWYR1N36I=\r
+Received: by 10.227.198.19 with SMTP id em19mr20697737wbb.14.1324698482349;\r
+ Fri, 23 Dec 2011 19:48:02 -0800 (PST)\r
+Received: from localhost ([91.144.186.21])\r
+ by mx.google.com with ESMTPS id fy5sm36936302wib.7.2011.12.23.19.48.01\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Fri, 23 Dec 2011 19:48:01 -0800 (PST)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/3] emacs: reindent `notmuch-hello' function\r
+Date: Sat, 24 Dec 2011 07:47:15 +0400\r
+Message-Id: <1324698436-8532-2-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-Mailer: git-send-email 1.7.7.3\r
+In-Reply-To: <1324698436-8532-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+References: <1324698436-8532-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 24 Dec 2011 03:48:07 -0000\r
+\r
+Reindent `notmuch-hello' function after the search history changes.\r
+---\r
+ emacs/notmuch-hello.el | 56 ++++++++++++++++++++++++------------------------\r
+ 1 files changed, 28 insertions(+), 28 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index ba34ac5..0922821 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -520,34 +520,34 @@ Complete list of currently available key bindings:\r
+ (let ((start (point)))\r
+ (loop for i from 1 to notmuch-hello-recent-searches-max\r
+ for search in notmuch-query-history do\r
+- (let ((widget-symbol (intern (format "notmuch-hello-search-%d" i))))\r
+- (set widget-symbol\r
+- (widget-create 'editable-field\r
+- ;; Don't let the search boxes be\r
+- ;; less than 8 characters wide.\r
+- :size (max 8\r
+- (- (window-width)\r
+- ;; Leave some space\r
+- ;; at the start and\r
+- ;; end of the\r
+- ;; boxes.\r
+- (* 2 notmuch-hello-indent)\r
+- ;; 1 for the space\r
+- ;; before the\r
+- ;; `[save]' button. 6\r
+- ;; for the `[save]'\r
+- ;; button.\r
+- 1 6))\r
+- :action (lambda (widget &rest ignore)\r
+- (notmuch-hello-search (widget-value widget)))\r
+- search))\r
+- (widget-insert " ")\r
+- (widget-create 'push-button\r
+- :notify (lambda (widget &rest ignore)\r
+- (notmuch-hello-add-saved-search widget))\r
+- :notmuch-saved-search-widget widget-symbol\r
+- "save"))\r
+- (widget-insert "\n"))\r
++ (let ((widget-symbol (intern (format "notmuch-hello-search-%d" i))))\r
++ (set widget-symbol\r
++ (widget-create 'editable-field\r
++ ;; Don't let the search boxes be\r
++ ;; less than 8 characters wide.\r
++ :size (max 8\r
++ (- (window-width)\r
++ ;; Leave some space\r
++ ;; at the start and\r
++ ;; end of the\r
++ ;; boxes.\r
++ (* 2 notmuch-hello-indent)\r
++ ;; 1 for the space\r
++ ;; before the\r
++ ;; `[save]' button. 6\r
++ ;; for the `[save]'\r
++ ;; button.\r
++ 1 6))\r
++ :action (lambda (widget &rest ignore)\r
++ (notmuch-hello-search (widget-value widget)))\r
++ search))\r
++ (widget-insert " ")\r
++ (widget-create 'push-button\r
++ :notify (lambda (widget &rest ignore)\r
++ (notmuch-hello-add-saved-search widget))\r
++ :notmuch-saved-search-widget widget-symbol\r
++ "save"))\r
++ (widget-insert "\n"))\r
+ (indent-rigidly start (point) notmuch-hello-indent)))\r
+ \r
+ (when alltags-alist\r
+-- \r
+1.7.7.3\r
+\r