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 13E19431FBD for ; Wed, 3 Feb 2010 11:12:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.603 X-Spam-Level: X-Spam-Status: No, score=-3.603 tagged_above=-999 required=5 tests=[AWL=0.396, BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4] 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 o8fnj8SX3n0s for ; Wed, 3 Feb 2010 11:12:32 -0800 (PST) Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6]) by olra.theworths.org (Postfix) with ESMTP id 3F75D431FAE for ; Wed, 3 Feb 2010 11:12:32 -0800 (PST) Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com [72.227.128.66]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o13JCJqw019053 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 3 Feb 2010 14:12:21 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NckeB-0000Fl-7C; Wed, 03 Feb 2010 14:12:19 -0500 From: Jameson Rollins To: Tad Fisher , notmuch@notmuchmail.org In-Reply-To: <871vh4phuj.fsf@planck.ghettodojo.com> References: <871vh4phuj.fsf@planck.ghettodojo.com> Date: Wed, 03 Feb 2010 14:12:15 -0500 Message-ID: <87vdeeb0c0.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6 Subject: Re: [notmuch] Emacs paned UI 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: Wed, 03 Feb 2010 19:12:33 -0000 --=-=-= On Mon, 01 Feb 2010 17:05:40 -0800, Tad Fisher wrote: > So, I dusted off my Elisp manual and hacked up notmuch.el to support a > 3-paned UI. This involved the creation of a minor mode (I call it > notmuch-browse-mode) that manages window state, along with several > modifications of existing functions to "do the right thing" when we're > in browse-mode (such as close the "show" window, switch to the "folder" > window, etc.). Hey, Tad. Thanks so much for persuing this! I was definitely looking to put something like this together myself, but your elisp foo is a lot better than mine. A couple comments: * I actually would prefer just a two-paned layout, since I don't use folders. Is there a way to configure it to check if there are folders defined, and not show the third panel if there isn't? * I would also like to see the focus remain in the notmuch-search buffer all the time, unless I specifically switch to the notmuch-show buffer. I would really like things to behave more like mutt, where I'm scrolling through my mail from notmuch-search, but then the messages themselves are just being displayed in the lower pane. Does that make sense? jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLacqQAAoJEO00zqvie6q8f3AP/RmXslXPiCnjK6lPjTQYPSmk /Yd6FFdTmtS2cJYsQDvkRT35DcgaObl4Inql/lIQ0Wv0P9UTNcaSyQbQmCXpTpZp T9TJK9YNh42MWIvZU2rH495VSvwuLuZ8mJg2ci/Gi1BSxIATx68P8NoV69fEP4Rh 49BFHXqha7GB9zvfsouUy/WlO8U2Eqn0Xa0JJU7dVr1YaC7Ble9HGwo5iI8Oj6IF NdCSKbGE0UJbtYdTDAi28AIlrhoaZ46fdfl4OkomJyyUQsvYlpCI6yHDHtWRRzcw V/keZ66l6G2XYh5upCbQTkbxRulsvewRL6A8+y04267D7ogjocAS91W3P6+0WIIL qDCrXjEVRehs6ZNoW3R78mxdvDYl0Y0+AoGgkmSkFhgRg+rTxeYUxwS4F51wYCLJ /DzdOsiH5KGx+yWtUoQHKsaHGDUyvnFobeOjJlPioJvUU2gYPHzb46Od+2CqhSLp 27innz3r2EUEpd6MW6iOntT4stBsb2i/lR7Ia1VXHdhJvrn49QgXCWKoTePv+3u5 4LPPrePIoqFW4QPrE6JIVzv/9hDHetTimOt0H+TajjzAC5gvwFvrzbsPfejB1Lvw XtKtX0w/9aTjDEatImcMC3/fQzg/DQBC3yQv5jjkz7PbDc0aLKr7r09gVYvrm0Kb /N/keuV67kIMb/8wYjHr =zR1X -----END PGP SIGNATURE----- --=-=-=--