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 3570C407494 for ; Fri, 6 Jan 2012 13:33:38 -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 gd4FOsEo+T32 for ; Fri, 6 Jan 2012 13:33:37 -0800 (PST) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 5C10F4074CD for ; Fri, 6 Jan 2012 13:33:37 -0800 (PST) Received: by eekd41 with SMTP id d41so1615964eek.26 for ; Fri, 06 Jan 2012 13:33:36 -0800 (PST) Received: by 10.14.2.71 with SMTP id 47mr2899421eee.16.1325885616049; Fri, 06 Jan 2012 13:33:36 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id u53sm205046306eeu.6.2012.01.06.13.33.33 (version=SSLv3 cipher=OTHER); Fri, 06 Jan 2012 13:33:34 -0800 (PST) From: Jani Nikula To: Antoine =?utf-8?Q?Beaupr=C3=A9?= , David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] add notmuch keybinding 'd' In-Reply-To: <87k454wq0e.fsf@marcos.anarcat.ath.cx> References: <1266408746-28549-1-git-send-email-Sebastian@SSpaeth.de> <1310841600-28281-1-git-send-email-anarcat@koumbit.org> <8762gsy2xp.fsf@nikula.org> <87k454wq0e.fsf@marcos.anarcat.ath.cx> User-Agent: Notmuch/0.10.2+182~g93862a2 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Fri, 06 Jan 2012 23:33:32 +0200 Message-ID: <87aa608qj7.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 06 Jan 2012 21:33:38 -0000 Hi Antoine - On Fri, 06 Jan 2012 15:10:57 -0500, Antoine Beaupr=C3=A9 wrote: > On Tue, 03 Jan 2012 21:57:22 +0200, Jani Nikula wrote: > > I wouldn't use it either, and I don't use "deleted" tag in the first > > place. And even if I used it, I'd still like to keep the distinction > > between "deleted after reading" and "deleted unread", which this patch > > loses by removing the "unread" tag. >=20 > I have been using this for months now. >=20 > But honestly, I don't care much anymore: the hard part is not the tag, > it's what you do with it after (hint: just remove the damn file). >=20 > Most patches I have submitted here haven't been accepted and I have to > painfully reroll my own packages every time there's a new release, which > has been a very frustrating experience. To see such a trivial patch > obsoleted tops it. This patch, while trivial, fixes a specific use case for you, according to your preferences. I was hoping for something more generic, and Jameson showed how this can be done in one's .emacs without adding new code (or carrying your own patches) at all. If this approach does not work for you, please let us know why! > For the curious, those (other) patches are: >=20 > * lib: add 'safe' setting for flags > * lib: Add back the synchronization of 'T' flag with deleted tag > * run notmuch-hello-mode-hook at the end of the hello mode setup >=20 > Most of those do not change the current behavior, and I have been > running them for more than 4 months. I haven't looked at the patches, but please understand that not changing the current behaviour is not a sufficient reason for inclusion. Once in, people will start using the features, which will need to be maintained and supported potentially for a very long time. Once in, it's not easy to take features out. Especially so for lib. So we need to be careful. Tests have also become an increasingly important part in getting any non-trivial changes in. It's not enough that they work perfectly now; we need to be able to make sure later changes won't break them. > I'd very much like to get help to get this in...=20 I'll try to find a moment to review your other patches. I've also had my moments of frustration, but things have really improved significantly since you've sent those patches. David is doing an excellent job. Be persistent! Kind regards, Jani.