From 408dac94b82a03f8853ecaf28b50b0156f493898 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Mon, 13 Feb 2012 19:59:14 +0400 Subject: [PATCH] Re: [PATCH] emacs: allow to set RETAIN-STATE for `notmuch-show-refresh-view' interactively --- 13/0161c74d6e5be692035ffcbdc24dd834197baa | 80 +++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 13/0161c74d6e5be692035ffcbdc24dd834197baa diff --git a/13/0161c74d6e5be692035ffcbdc24dd834197baa b/13/0161c74d6e5be692035ffcbdc24dd834197baa new file mode 100644 index 000000000..f53679cc2 --- /dev/null +++ b/13/0161c74d6e5be692035ffcbdc24dd834197baa @@ -0,0 +1,80 @@ +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 0C36B431FBD + for ; Mon, 13 Feb 2012 08:00:36 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, 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 iz+fG06rbZWf for ; + Mon, 13 Feb 2012 08:00:35 -0800 (PST) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3609A431FBC + for ; Mon, 13 Feb 2012 08:00:35 -0800 (PST) +Received: by bkcit16 with SMTP id it16so542253bkc.26 + for ; Mon, 13 Feb 2012 08:00:33 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; + h=from:to:cc:subject:in-reply-to:references:user-agent:date + :message-id:mime-version:content-type; + bh=4qbGZq/WNF/aLHfcJRvMkgJSfSwOiOTJGWfNrBZuoIo=; + b=xDV9OtlOL/5h952UuXULTjnKQh7Gnq+BmgGXxIHNL8Qsg8JUe6zqX+niUbPJEA6biu + WehJURfaeIilekU8NjP73tCZlLm2i9NgHNyJ7DK+dPwVunXAnpY1KHW3wl3I7+u+vmDZ + +X1xV8X4lyUxi9/dllKt1/Fx8On51ifU+ZwvA= +Received: by 10.204.152.145 with SMTP id g17mr7100532bkw.97.1329148833557; + Mon, 13 Feb 2012 08:00:33 -0800 (PST) +Received: from localhost ([91.144.186.21]) + by mx.google.com with ESMTPS id ez5sm47466463bkc.15.2012.02.13.08.00.32 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 13 Feb 2012 08:00:32 -0800 (PST) +From: Dmitry Kurochkin +To: Austin Clements +Subject: Re: [PATCH] emacs: allow to set RETAIN-STATE for + `notmuch-show-refresh-view' interactively +In-Reply-To: <20120213152858.GO27039@mit.edu> +References: <1329131347-13803-1-git-send-email-dmitry.kurochkin@gmail.com> + <20120213152858.GO27039@mit.edu> +User-Agent: Notmuch/0.11.1+188~ga5674c2 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 13 Feb 2012 19:59:14 +0400 +Message-ID: <87zkcmg1wt.fsf@gmail.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Cc: notmuch@notmuchmail.org +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: Mon, 13 Feb 2012 16:00:36 -0000 + +On Mon, 13 Feb 2012 10:29:26 -0500, Austin Clements wrote: +> Quoth Dmitry Kurochkin on Feb 13 at 3:09 pm: +> > The notmuch-show view refresh function (`notmuch-show-refresh-view', +> > bound to "=") accepts an optional RETAIN-STATE argument. The patch +> > allows to set this argument interactively by using "C-u =". +> +> Why do we not *always* want this? + +Good point! I would like to switch the default behavior to retain +state. Though I do not want to mix a trivial improvement (ability to +use "C-u =") with potentially dangerous discussion of changing the +default behavior :) + +Regards, + Dmitry -- 2.26.2