From f12d87a9bda42a59aed9f58d8b3252a191bc10f3 Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Tue, 28 Feb 2012 20:34:13 +0100 Subject: [PATCH] Re: [PATCH v5 00/12] emacs: more flexible and consistent tagging operations --- e6/e7bff3c0488e6acf9c4662a7a01b260e75f7d0 | 118 ++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 e6/e7bff3c0488e6acf9c4662a7a01b260e75f7d0 diff --git a/e6/e7bff3c0488e6acf9c4662a7a01b260e75f7d0 b/e6/e7bff3c0488e6acf9c4662a7a01b260e75f7d0 new file mode 100644 index 000000000..4005b98e5 --- /dev/null +++ b/e6/e7bff3c0488e6acf9c4662a7a01b260e75f7d0 @@ -0,0 +1,118 @@ +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 4322E431FAE + for ; Tue, 28 Feb 2012 11:36:39 -0800 (PST) +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 JF3AeYvb-sc5 for ; + Tue, 28 Feb 2012 11:36:38 -0800 (PST) +Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com + [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 6F403431FAF + for ; Tue, 28 Feb 2012 11:36:38 -0800 (PST) +Received: by wibhi8 with SMTP id hi8so4341414wib.26 + for ; Tue, 28 Feb 2012 11:36:37 -0800 (PST) +Received-SPF: pass (google.com: domain of pieter@praet.org designates + 10.180.99.7 as permitted sender) client-ip=10.180.99.7; +Authentication-Results: mr.google.com; + spf=pass (google.com: domain of pieter@praet.org + designates 10.180.99.7 as permitted sender) + smtp.mail=pieter@praet.org +Received: from mr.google.com ([10.180.99.7]) + by 10.180.99.7 with SMTP id em7mr42090910wib.7.1330457797242 (num_hops + = 1); Tue, 28 Feb 2012 11:36:37 -0800 (PST) +Received: by 10.180.99.7 with SMTP id em7mr33397748wib.7.1330457797126; + Tue, 28 Feb 2012 11:36:37 -0800 (PST) +Received: from localhost ([109.131.112.224]) + by mx.google.com with ESMTPS id gm1sm25107153wib.7.2012.02.28.11.36.35 + (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 28 Feb 2012 11:36:36 -0800 (PST) +From: Pieter Praet +To: Tomi Ollila , David Bremner , + Dmitry Kurochkin , notmuch@notmuchmail.org +Subject: Re: [PATCH v5 00/12] emacs: more flexible and consistent tagging + operations +In-Reply-To: +References: <1327725684-5887-1-git-send-email-dmitry.kurochkin@gmail.com> + <1328426033-21480-1-git-send-email-dmitry.kurochkin@gmail.com> + <87wr7xqpuf.fsf@rocinante.cs.unb.ca> <878vjtqhcg.fsf@praet.org> + <87haye6g1c.fsf@zancas.localnet> + +User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +Date: Tue, 28 Feb 2012 20:34:13 +0100 +Message-ID: <87k436ycp6.fsf@praet.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Gm-Message-State: + ALoCoQmlspjopMmv0U3umoRSO+buOfqaUiNxr5eAaBolL50ANnJDrdqE5x4AKqJOdO+abRvov6e6 +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: Tue, 28 Feb 2012 19:36:39 -0000 + +On Mon, 27 Feb 2012 16:50:53 +0200, Tomi Ollila wrote: +> On Sat, 25 Feb 2012 12:20:31 -0400, David Bremner wrote: +> > On Fri, 24 Feb 2012 00:07:27 +0100, Pieter Praet wrote: +> > > On Wed, 08 Feb 2012 11:58:32 -0400, David Bremner wrote: +> > > > On Sun, 5 Feb 2012 11:13:41 +0400, Dmitry Kurochkin wrote: +> > > +> > > How about if '*' applies to all messages (as it currently does), +> > > but 'C-u *' only to open messages? That would make more sense IMHO. +> > > +> > > But, conforming to your original request, I've implemented the inverse. +> > > +> > +> > Thanks for implementing that. I could live with either way. Do other +> > people have opinions on this? My reasoning is if you descend into a +> > thread from some search page, it seems likely that you want to operate +> > on the messages matching the search. +> +> I've pretty soon lost the original open/close status as I often navigate +> through messages by opening/closing messages, so for me not operating +> on all messages in thread is magic behaviour. In case I'd use C-u * +> I first have to check through the full thread what are the actual +> messages currently open (lots of screen scrolling :( ) +> + +I share your sentiment. Also, the function is called `notmuch-show-tag-all', +so having it operate only on open messages would be counterintuitive IMO. + +In other words, I think of the prefix arg as being a modifier for the +meaning of 'all'. + +But either way, it's fairly trivial to invert its behavior [1]. + +> So, I prefer '*' operating on all messages in a thread and C-u '*' +> for all open messages in a thread. +> +> > +> > d +> +> Tomi + + +Peace + +-- +Pieter + +[1] id:"87sjhz22vw.fsf@praet.org" -- 2.26.2