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 A4E5B431FAF for ; Thu, 18 Jul 2013 14:12:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 KZ1trQtzG0-U for ; Thu, 18 Jul 2013 14:12:27 -0700 (PDT) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A5913431FAE for ; Thu, 18 Jul 2013 14:12:27 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1UzvUt-0002pA-E7; Thu, 18 Jul 2013 18:12:23 -0300 Received: (nullmailer pid 1200 invoked by uid 1000); Thu, 18 Jul 2013 21:12:19 -0000 From: David Bremner To: Suvayu Ali , Notmuch list Subject: Re: Aliases in notmuch queries In-Reply-To: <20130716122843.GD10577@kuru.dyndns-at-home.com> References: <20130716122843.GD10577@kuru.dyndns-at-home.com> User-Agent: Notmuch/0.15.2+217~gb60fb33 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Thu, 18 Jul 2013 18:12:19 -0300 Message-ID: <871u6vvah8.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain 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: Thu, 18 Jul 2013 21:12:35 -0000 Suvayu Ali writes: > > Often when searching for messages from these collaborators, I realise I > cannot recall their real names (or cannot spell it correctly). It would > be great if notmuch had a facility to map nicknames to real names; > something like what git does with .mailmap. > > Does something like this exist? If not, is it feasible? I think it > would be a great addition. It might be possible to use xapian synonyms http://xapian.org/docs/synonyms.html to do this. The basic synonym enabling doesn't look that hard, I think the fiddly bits would be in loading up the synonyms at right time. We'd have to think about how to sensibly store/backup this information so that bindings users could have access to it. d