From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AE032431FD0 for ; Tue, 5 Jul 2011 07:55:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.71 X-Spam-Level: * X-Spam-Status: No, score=1.71 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] 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 HolI99oUpRUK for ; Tue, 5 Jul 2011 07:55:30 -0700 (PDT) Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E766A431FB6 for ; Tue, 5 Jul 2011 07:55:29 -0700 (PDT) Received: by fxh19 with SMTP id 19so6154474fxh.19 for ; Tue, 05 Jul 2011 07:55:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=ZkHeOCWnTZJ8NlK2hMAUbw/x0dtfd6KFGeYWRjfvUh0=; b=MxEf6XO+hZlH2CGIxmfhNAwl4MqyHumowuWrH8f+mhboETnX1U2Bb9NGug4zXsWQIF VbJVqUUiUTCx38/0fd69UGWsBOlPhBF52fybBzcfPpLvc/F5lzBt+bocAwULeyRpXWr7 ul8eBRucpbHLfoTiefW3P6gIYmvyxf4307Yho= Received: by 10.223.43.1 with SMTP id u1mr11770999fae.38.1309877728480; Tue, 05 Jul 2011 07:55:28 -0700 (PDT) Received: from localhost (dslb-178-004-223-219.pools.arcor-ip.net [178.4.223.219]) by mx.google.com with ESMTPS id f15sm4175378fai.22.2011.07.05.07.55.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 07:55:27 -0700 (PDT) From: Daniel Schoepe To: Michal Sojka , notmuch@notmuchmail.org Subject: Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello In-Reply-To: <87wrfwyg39.fsf@steelpick.2x.cz> References: <1309379221-5617-1-git-send-email-daniel.schoepe@googlemail.com> <87wrfxk34u.fsf@steelpick.2x.cz> <87pqlpjfsa.fsf@tredergarh.home.box> <87wrfwyg39.fsf@steelpick.2x.cz> User-Agent: Notmuch/0.5-321-g0ef06a2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 05 Jul 2011 16:55:18 +0200 Message-ID: <87mxgsu695.fsf@gilead.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 05 Jul 2011 14:55:30 -0000 --=-=-= On Tue, 05 Jul 2011 16:09:14 +0200, Michal Sojka wrote: > I'm talking about notmuch-hello-section. It seems it is not possible > easily specify there your own function. You can either select a > predefined section or "Customized section", which is in fact "Customized > all-tags section". So I propose to renaming this entry like this and > adding another one called "Custom function", where you could enter the > name of your function. Ah, I see why it confused me: You are referring to the first version of the patch. This particular bit is already clarified in the second iteration of the patch, starting at id:"1309613471-23465-1-git-send-email-daniel.schoepe@googlemail.com" In that case I also fully understand why you found the customize-interface confusing. :) > It seems that I still do not understand what the "Customized section" > was intended to provide. I have to say I'm not able to fully decode the > definition of notmuch-hello-customized-section, but it seems to me that > it is a way how to customize a call to notmuch-hello-insert-all-tags. Yes, that was the intention, in v2 I used a cleaner way to do that. > I wanted to say that it might be useful to have the similar options for > saved searches. For example, what I do in my notmuch-hello-insert-inbox > is to take the saved searches and filter them by tag:inbox. I guess that > if there is a possibility to do that without coding in elisp, some > people may find it useful. What do you think? Ah okay, then I understood you correctly. I agree that this would make sense. Cheers, Daniel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJOEyXWAAoJEIaTAtce+Z+JFccP/11LwHm5w6Cqx6FSe+lNXX2O Z805xCLCO2hqglm/2lNlvFhNAfPcjLBabzmbk6gqZ9bWcdetiyM5cE+pSsWi2UPW Cj+h7CM0QVEOCwW+T5FCp86VkqcILPZ0cjdPG1ZljCGtBmRd+lvKSq+5UPe9DSIx GLB6tju45xNiH0QIRmzmwesYJxZBwBJyC7xqMpAUp+iwH6XYI/WmGLFf5SsLrfKw FXEnuC45YpZFOT0jr70yfqK0Sopxa9CJMerV7WcFbQGpC97fQHTbVrCj2VWLC2/6 4BdgmvKy3RrRNhEd+E0BZL6CWVHNNEpKYAcUWjvY1rRKSWDsUVs4dc4SuKvlwdGU GIJZ0PDR7rBJN1IJvnLsN8FlfRaeTf+cl0/G9tVlJO2pjM8aSA2hF99ZsMO3xBNy iAyGjjnwMpbYFtz+80PEiVJBHiDonrxtRtLinio/+3SL607Wr6X1s3juKgku3Sh9 UwBxhDSZW0NMV0Ofs7YgImIjIXsGhQSq23H187wOnV8Uyx84dH5XAzRYI9A6HLP1 NqQiUcukDtiVVmROQrqeym6eWZ/4BaW2oT0j9kPe8cuZphoeFsQyFPfEOY2zGguX gXWPkKhMcemSTwaJck7E8f0p+bnXYzMRnCuHHjDf9xJ7Vxi6to2VSQRGUnUTeTTn l6MMj9jOtx5DHcPvcDvi =RUW6 -----END PGP SIGNATURE----- --=-=-=--