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 91DCD4196F2 for ; Mon, 22 Mar 2010 05:40:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 YlErGO0nXsv2 for ; Mon, 22 Mar 2010 05:40:13 -0700 (PDT) Received: from homiemail-a19.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by olra.theworths.org (Postfix) with ESMTP id 677694196F0 for ; Mon, 22 Mar 2010 05:40:13 -0700 (PDT) Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch [129.132.133.204]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPA id 8E3C460405D for ; Mon, 22 Mar 2010 05:40:11 -0700 (PDT) Received: by sspaeth.de (sSMTP sendmail emulation); Mon, 22 Mar 2010 13:40:09 +0100 From: "Sebastian Spaeth" To: notmuch@notmuchmail.org In-Reply-To: <20100322101422.GF8858@blackspot> References: <87fx3uflkx.fsf@jhu.edu> <20100322101422.GF8858@blackspot> Date: Mon, 22 Mar 2010 13:40:08 +0100 Message-ID: <87wrx4y1g7.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Using notmuch as an address book for tab-completion 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, 22 Mar 2010 12:40:15 -0000 On Mon, 22 Mar 2010 11:14:22 +0100, Ruben Pollan wrote: > Nice feature. I think it should be implemented in the library. There is already > a function notmuch_database_get_all_tags, will be nice to have a function > notmuch_database_get_all_addresses. Actually, i don't think it's necessary to extend the library to get all addresses, it is really trivial to get them, using the current API. As to whether to extend the notmuch binary as to output all addresses, I think this will be taken care of the output filtering once implemented. e.g. get all addresses with: notmuch show --format=json --output:to,cc,bcc '' Sebastian