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 E0EAF4196F0 for ; Mon, 26 Apr 2010 07:59:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] 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 nzCbtD0VGwHa; Mon, 26 Apr 2010 07:59:08 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id EEDB9431FC1; Mon, 26 Apr 2010 07:59:07 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 9A80225400A; Mon, 26 Apr 2010 07:59:07 -0700 (PDT) From: Carl Worth To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch In-Reply-To: <87ljcaimhv.fsf@ut.hh.sledj.net> References: <87y6gguw99.fsf@yoom.home.cworth.org> <1271924853-8183-1-git-send-email-dme@dme.org> <87iq7i2aia.fsf@yoom.home.cworth.org> <87ljcaimhv.fsf@ut.hh.sledj.net> User-Agent: Notmuch/0.2-192-g42bda00 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Mon, 26 Apr 2010 07:59:07 -0700 Message-ID: <87ljcab6pw.fsf@yoom.home.cworth.org> 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: Mon, 26 Apr 2010 14:59:09 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable =2D-=20 carl.d.worth@intel.com On Mon, 26 Apr 2010 10:36:28 +0100, David Edmondson wrote: > I'll do this, but I wonder if it is actually good advice. My primary point is that all of the implemented functionality, (including notmuch-hello and notmuch-addresses), needs to be made available with our documented approach for loading notmuch in emacs. Currently that's "(require 'notmuch)". We can certainly come up with another approach if there's a better one. > So if `notmuch-folders' is set before notmuch-hello.el is loaded, you > get some saved-searches copied from your folders (but this won't > override any specific settings you made for > `notmuch-hello-saved-searches'). OK. That is nice. But also a trick order dependency, yes. > of autoloads in it. Oh, or "(require 'notmuch)" should just load > something that has the autoloads (d'oh!) and some > `define-mail-user-agent' goop so that `compose-mail' does the right > thing. >=20 > I'll try to produce a patch for this last thing. Yes, that sounds perfect. I'll look forward to that. > > * The logo background is gray on my white-background emacs. That > > looks odd. >=20 > Patch sent. Thanks. Pushed. > > * It would be great if point were in the search bar right when this > > mode started. >=20 > This is customisable, and I see that you changed the default ;-) Yes. I'm still on the fence about this change, (as we are talking in the other thread). > > * I'd like the saved searches to appear before the recent searches I > > think. >=20 > Did you come to any conclusion about this? The thing I most want is for my saved searches to be extremely easy to select. With notmuch-folder, the view wasn't fancy at all, but it was extremely functional in that the first saved search was under point right away and just C-n/C-p (or arrow keys) could be used to select others. I haven't gotten that same convenience with notmuch-hello yet. > > * I'm not sure how useful the numbered shortcuts are for the recent > > searches >=20 > Patch sent which removes them. Pushed. > > * Repeating a recent search by pressing RET on it creates a new > > identical search which doesn't seem all that useful. >=20 > Patch sent. And pushed. > We could have `notmuch-hello' use `notmuch-folders' if > `notmuch-hello-saved-searches' is `nil'. Would that help? Yes, that's what I had in mind here. > > Finally, I'm quite inclined to make `notmuch' invoke this mode, so > > think about that. >=20 > It seems straightforward, I'll produce a patch. Excellent. A lot of these would have been easy for me to do of course, but it seems to be working well for you to "own" the coding of our emacs code for now. I really appreciate it! =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFL1ao76JDdNq8qSWgRAoR/AJ91yxDpaB7JZcPru/I4TtszgWYrIwCeNrgQ jV4S/Lgh+SEBWxDnf/0+gUs= =h3FR -----END PGP SIGNATURE----- --=-=-=--