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 80AD1431FAF for ; Sun, 12 Aug 2012 05:40:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 SJ3VqH1nkwMB for ; Sun, 12 Aug 2012 05:40:28 -0700 (PDT) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 68E4D431FAE for ; Sun, 12 Aug 2012 05:40:28 -0700 (PDT) Received: by wibhm6 with SMTP id hm6so2191210wib.2 for ; Sun, 12 Aug 2012 05:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject:in-reply-to:references:mime-version :content-type:content-disposition:content-transfer-encoding; bh=qP4Ciw7IYMVVAEbgJS8v0o3nEJWtzTT+O+Vi1IHE3CI=; b=Ks/JeMuJb9YXhYrPaccZdDKILrtJcsHRpZKJpItUOPtgYKbSiDK8kwCPLqwtY+9oSo D1LsP8wan8pk+pGZS+BsdTnhIVKEksHu/3Br2hxpEdEP11hkGpf6yj4Sz1UYOyj7yEVy JlzTI0WeM43ZSBk4uFFzkJoKxhDwLH3kIsWg9GRVN84yqAts+02Uy05TPnxQLFwpqeGn Mv+pjKY5IFqr4fkMkC8Y7zi6wLec3ezohCPi6ncG28SS1N7uYqXVI0YgdqBlKA9HI1W4 MBFGVTiNIPTocdhpOn650YiNwaZYA2d/JoKMUoOpjNW+B7ukAq5fGPtDYZIgXOdz7UNU PxaA== Received: by 10.180.84.104 with SMTP id x8mr10372604wiy.20.1344775227208; Sun, 12 Aug 2012 05:40:27 -0700 (PDT) Received: from localhost (253.53.100.84.rev.sfr.net. [84.100.53.253]) by mx.google.com with ESMTPS id w7sm10165690wiz.0.2012.08.12.05.40.24 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 05:40:25 -0700 (PDT) Date: Sun, 12 Aug 2012 14:40:23 +0200 Message-ID: <20120812144023.GC29680@david-desktop.localdomain> From: David Froger To: notmuch@notmuchmail.org Subject: Re: [announce] Bower 0.4 In-Reply-To: <20120812152258.GA32178@hili.localdomain> References: <20120812152258.GA32178@hili.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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: Sun, 12 Aug 2012 12:40:29 -0000 On Sun, 12 Aug 2012 15:22:58 +1000, Peter Wang wrote: > Hi, > > Bower is yet another curses frontend for the Notmuch email system. > I wrote it for me, but you might like it, too. > > https://github.com/wangp/bower > > Bower 0.4 (2012-08-12) > ====================== > This release requires notmuch 0.13 for addressbook completion. > > * Asynchronous tagging and polling in index view. > * Highlight diff lines in quoted text. > * Context-aware completion for tag names. > * Completion for addressbook aliases. > * post_sendmail configuration option. > * Support Up/Down/PgUp/PgDn/Home/End keys in more views. > * Better resize handling. > * Improved URL detection. > * Don't expand HTML alternative parts unnecessarily. Hi, Thanks Peter, nice to see this new release and these new functionnalies! I'm using bower every day, both at home and at work, and it's really usefull for me. By the way, I have some questions: 1. To receive emails, I use a bash script that basically do: while true do offlineimap notmuch new notmuch tag ... sleep 60 done Would it be possible to have a hook 'pollmails' that is triggered from the Index view by pressing a key (p or P), which can be configure in ~/.config/bower/bower.conf like this: pollmails=a_command.sh So I can rewrite my bash script something like this: while true do offlineimap notmuch new notmuch tag ... before_enter_loop = `current date` while true do sleep 0.01 now = `current date` if [ 'a_commmand.sh' has been called or now > before_enter_loop + 60 seconds ] then exit loop fi done done 2. I've notice that errors could happend if I modify tags from bower while my bash script is also modifiny tags of the incoming emails. Do you see any solution? 3. Would it be possible to have the feature 'kill a thread' like Sup have? (see http://sup.rubyforge.org/README.txt). 4. postponed message doesn't work for me. When I postpone a message, it says 'message postponed', but when pressing R from Index view, it says 'No postponed message'. Maybe I need to create a directory to store postponed messages? 5. When attaching a file, would it be possible to have '~' expanded to the $HOME directory? 6. In the index view, having the possiblity to scroll right and left (so one can see the email tags in the line in too long)? 7. less important, having light colors for white console? Thank you very much! Best regards, David