1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id CB76A431FBD
\r
6 for <notmuch@notmuchmail.org>; Mon, 13 Feb 2012 03:10:28 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id KrZI157I-GpH for <notmuch@notmuchmail.org>;
\r
17 Mon, 13 Feb 2012 03:10:28 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 3D622431FBC
\r
22 for <notmuch@notmuchmail.org>; Mon, 13 Feb 2012 03:10:28 -0800 (PST)
\r
23 Received: by bkcit16 with SMTP id it16so286488bkc.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 13 Feb 2012 03:10:26 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:date:message-id:x-mailer;
\r
27 bh=FiVricpeRkgrgIYPE+gcd5/kcOaYLkH8iVpo9wFxGp4=;
\r
28 b=iIv1dKo/0sewjkEvxZdDICt0BuOdKnzA/av4fQnBgs3CI8JAwXBjx5JFOm71ztqnS5
\r
29 dYOLaQUoMrjw/cbf0nsgbT2XDXQh5/09iBEYkMCBUTpD5LOy1jXD4XZNbJov4vxDZk85
\r
30 r8GwOyO4QAyPLMjLyM8Gp+MIyc/LNIP71KnF8=
\r
31 Received: by 10.204.154.20 with SMTP id m20mr555895bkw.90.1329131426896;
\r
32 Mon, 13 Feb 2012 03:10:26 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id x20sm45116087bka.9.2012.02.13.03.10.26
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Mon, 13 Feb 2012 03:10:26 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH] emacs: allow to set RETAIN-STATE for
\r
40 `notmuch-show-refresh-view' interactively
\r
41 Date: Mon, 13 Feb 2012 15:09:07 +0400
\r
42 Message-Id: <1329131347-13803-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 X-Mailer: git-send-email 1.7.9
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 13 Feb 2012 11:10:28 -0000
\r
58 The notmuch-show view refresh function (`notmuch-show-refresh-view',
\r
59 bound to "=") accepts an optional RETAIN-STATE argument. The patch
\r
60 allows to set this argument interactively by using "C-u =".
\r
62 emacs/notmuch-show.el | 2 +-
\r
63 1 files changed, 1 insertions(+), 1 deletions(-)
\r
65 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
66 index 43408d9..aa9ccee 100644
\r
67 --- a/emacs/notmuch-show.el
\r
68 +++ b/emacs/notmuch-show.el
\r
69 @@ -1124,7 +1124,7 @@ This includes:
\r
70 Refreshes the current view, observing changes in display
\r
71 preferences. If RETAIN-STATE is non-nil then the state of the
\r
72 buffer is stored and re-applied after the refresh."
\r
75 (let ((inhibit-read-only t)
\r