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 07D844196F0 for ; Sat, 15 May 2010 14:07:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 oj39Zql5G2Kg for ; Sat, 15 May 2010 14:07:45 -0700 (PDT) Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU [18.7.68.35]) by olra.theworths.org (Postfix) with ESMTP id D03AF4196F3 for ; Sat, 15 May 2010 14:07:45 -0700 (PDT) X-AuditID: 12074423-b7c0bae0000030f0-16-4bef0d21be8e Received: from mailhub-auth-2.mit.edu (MAILHUB-AUTH-2.MIT.EDU [18.7.62.36]) by dmz-mailsec-scanner-6.mit.edu (Symantec Brightmail Gateway) with SMTP id 9B.02.12528.12D0FEB4; Sat, 15 May 2010 17:07:45 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o4FL7i1C007490; Sat, 15 May 2010 17:07:44 -0400 Received: from PHANATIQUE.MIT.EDU (c-71-192-160-118.hsd1.nh.comcast.net [71.192.160.118]) (authenticated bits=0) (User authenticated as nelhage@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o4FL7hZj002376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 15 May 2010 17:07:44 -0400 (EDT) From: Nelson Elhage To: Sebastian Spaeth , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] emacs: notmuch-help: Integrate into the emacs help system. In-Reply-To: <874oiayubn.fsf@SSpaeth.de> References: <1273869727-32740-1-git-send-email-nelhage@mit.edu> <1273869727-32740-2-git-send-email-nelhage@mit.edu> <877hn6yv5b.fsf@SSpaeth.de> <874oiayubn.fsf@SSpaeth.de> User-Agent: Notmuch/0.3.1-18-gc9a83db (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Sat, 15 May 2010 17:07:42 -0400 Message-ID: <87r5lckh5t.fsf@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Brightmail-Tracker: AAAAARQpM2I= 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: Sat, 15 May 2010 21:07:56 -0000 On Fri, 14 May 2010 15:47:24 -0700, "Sebastian Spaeth" wrote: > On 2010-05-14, Sebastian Spaeth wrote: > > I just tried this and one thing I did not like... > > > I am sure there is a variable that customizes the help-buffer behavior, > > isn't there? :-) > > DOH, I should have known :-). Emacs 23.1 has: "help-window-select" which > when set to 't behaves as I want it. It creates a split help window and > selects it. When pressing 'q' it deletes the frame. > > This should go into the wiki or some other documentation. Or we should > set it locally for notmuch-help. It's worth documenting. I'd prefer not to override it in notmuch-help, because it's important to me that it behave like other help functions in emacs. users could defadvice it or something if they really want. > > For notmuch-help I actually don't need a split window (I want > temporarily see as much info as possible and close the buffer quickly), > does the help-window thing also allow for that? I'm not sure. My emacs frame is always split, so it just opens in the other window for me, which is what I want. I'm sure some quick source- or documentation- diving would answer whether with-help-window can be made to re-use the current window, but I haven't done that. Thanks for giving it a try, - Nelson > > Thanks in any case. > Sebastian