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 3D132429E28 for ; Wed, 8 Jun 2011 12:18:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 jBKLdnOXgoc9 for ; Wed, 8 Jun 2011 12:18:48 -0700 (PDT) Received: from ipex4.johnshopkins.edu (ipex4.johnshopkins.edu [128.220.161.141]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 8C61E431FB6 for ; Wed, 8 Jun 2011 12:18:48 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAODJ700KoSAO/2dsb2JhbABTpyy9aoh1hiMEkRuPZw X-IronPort-AV: E=Sophos;i="4.65,339,1304308800"; d="scan'208";a="76243942" Received: from watt.hwcampus.jhu.edu ([10.161.32.14]) by ipex4.johnshopkins.edu with ESMTP/TLS/ADH-AES256-SHA; 08 Jun 2011 15:18:47 -0400 Received: by watt.hwcampus.jhu.edu (Postfix, from userid 502) id 58DDB85AD9F; Wed, 8 Jun 2011 15:18:47 -0400 (EDT) From: Jesse Rosenthal To: Jameson Graef Rollins , Carl Worth , Notmuch Mail Subject: Re: tag sharing [was: Re: release-candidate/0.6 redux] In-Reply-To: <87vcwg2p2m.fsf@servo.factory.finestructure.net> References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net> <87hb8eebdi.fsf@servo.factory.finestructure.net> <87pqmyn224.fsf@servo.factory.finestructure.net> <87zklyjshd.fsf@yoom.home.cworth.org> <87sjrng5k3.fsf@servo.factory.finestructure.net> <87oc2bjgrs.fsf@yoom.home.cworth.org> <8762oigc0y.fsf@servo.factory.finestructure.net> <87boya98sf.fsf@gogo.home> <87vcwg2p2m.fsf@servo.factory.finestructure.net> User-Agent: Notmuch/0.5-192-gecd6549 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-apple-darwin) Date: Wed, 08 Jun 2011 15:18:47 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 08 Jun 2011 19:18:49 -0000 On Wed, 08 Jun 2011 10:46:57 -0700, Jameson Graef Rollins wrote: > Did you guys try to address the issue of tag removal at all? I've been > trying to decide if this is something we need to worry about or not. > For instance, if cworth pushed a tag ".needs-review", you would probably > want to have that tag removed if cworth removed it. I guess > alternatively he could just push the tag ".reviewed" to nullify the > meaning of the previous one. I'm not sure that would work in all cases, > though. Yes, if he deletes the tag "public.needs-review" in his notmuch, and then pushes it, it will delete the tag "cworth.needs-review" from yours. A couple points about this: 1. If you added your own "needs-review" tag to things that have a "cworth.needs-review" tag, that wouldn't be deleted. In other words, cworth's actions will only affect that namespace. Now, if you delete it, and push it, and Carl pulls back from you (meaning he trusts you), then it would be deleted on his. When he pushes next, it will be deleted on everyone who pulls from him. I'm sure there are resolution paradoxes here. It only had a ten-minute trial run one day on IRC with me and someone else. 2. The history is available. If you run `nm-remote history msg-id`, it will show you its history of being added and deleted. I think it will show by whom it was added or deleted as well, but I don't quite remember (I hacked this up over a year ago).