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 830E64196F2 for ; Wed, 21 Apr 2010 18:04:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.701 X-Spam-Level: X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001] autolearn=unavailable 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 aNFMXB3S8qDr for ; Wed, 21 Apr 2010 18:03:59 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id D41C7431FC1 for ; Wed, 21 Apr 2010 18:03:58 -0700 (PDT) Received: by wwb28 with SMTP id 28so1909220wwb.26 for ; Wed, 21 Apr 2010 18:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=/MwKGt6kC3enqaEnL7GDoBzrNtq2VeOxcP1+PouDoDw=; b=aNfhOZun9Ah8NYniqNqLpb6R4jm35gnwiBDiYQzJjxjyXlsMs6/bkOg19DTAG971y/ 2hkSK5j/IsSKwo7uHhpFw7OoBsBj5gDnMJVSZ06ZC5i+G+2DJzwzDAyAeDPYrTVDkAyv rYZMhL189w309TT9P48JMCjZzysKo1HjIziEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qyRNjln3oSa2JHIpxDhLeX1C5k8I+O9OZ0A+gTWG90fKSNJuwiX/iZ1PH1sCkH3AgA mUWDmpBaJ7H4vcdNW084r6z7A5UAzlxZZqh8DLptg4/JieWjFiGkERmioJGhzvD59sVi uMWKPwsbvOcQJ9RQAuMDhnzoKe3t4RBnZVoLo= MIME-Version: 1.0 Received: by 10.216.89.140 with HTTP; Wed, 21 Apr 2010 18:03:57 -0700 (PDT) In-Reply-To: <87633kwdmg.fsf@yoom.home.cworth.org> References: <87633kwdmg.fsf@yoom.home.cworth.org> Date: Wed, 21 Apr 2010 21:03:57 -0400 Received: by 10.216.89.202 with SMTP id c52mr365984wef.84.1271898237785; Wed, 21 Apr 2010 18:03:57 -0700 (PDT) Message-ID: Subject: Re: [PATCH] emacs: Try to name search buffers using info in notmuch-folders From: Servilio Afre Puentes To: Carl Worth Content-Type: text/plain; charset=ISO-8859-1 Cc: notmuch 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, 22 Apr 2010 01:04:00 -0000 On 21 April 2010 20:10, Carl Worth wrote: > On Sun, 18 Apr 2010 23:55:50 -0400, Servilio Afre Puentes wrote: >> As the user has already defined aliases for certain searches in >> notmuch-folders, search buffer names that use these aliases will >> be easier to identify. > > A lovely feature, thanks! My pleasure! Thanks to you for notmuch! > I've pushed this out now (along with a tiny follow-up to avoid a warning > From the emacs compiler). Great, I noticed that when building, but as everything worked fine afterwards, I decided to wait to get some feedback on the list. But you were faster! > It does occur to me that once we have saved searches supported at a > lower level within notmuch, then this functionality won't be needed in > the emacs interface at all, (since the nice name and the search strings > will then be equivalent). Yep. > And this patch even makes a proposal for what the saved-search syntax > could be. It uses "[ inbox ]" for a saved search named "inbox". I > believe that sup is already using "{inbox}" for a similar > feature. Perhaps a bracketed style like that is what we want. For me it was the easier thing to read, I suppose that this can be made to be customizable so the user can set it up to be whatever is easier to read. Servilio