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 99EF4429E5B for ; Mon, 23 Jan 2012 03:02:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 EOjb+lc1Wwht for ; Mon, 23 Jan 2012 03:02:09 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 18E60429E54 for ; Mon, 23 Jan 2012 03:02:08 -0800 (PST) Received: by wgbdt12 with SMTP id dt12so2450006wgb.2 for ; Mon, 23 Jan 2012 03:02:08 -0800 (PST) Received: by 10.181.12.106 with SMTP id ep10mr11561459wid.8.1327316527962; Mon, 23 Jan 2012 03:02:07 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id j16sm1717646wie.4.2012.01.23.03.02.06 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jan 2012 03:02:06 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id D7942A0950; Mon, 23 Jan 2012 11:02:04 +0000 (GMT) To: Jameson Graef Rollins , Notmuch Mail Subject: Re: [PATCH 4/6] emacs: add option to notmuch-show-next-open-message to pop out to parent buffer if at end In-Reply-To: <1327307665-23387-4-git-send-email-jrollins@finestructure.net> References: <87pqea24z0.fsf@servo.finestructure.net> <1327307665-23387-1-git-send-email-jrollins@finestructure.net> <1327307665-23387-2-git-send-email-jrollins@finestructure.net> <1327307665-23387-3-git-send-email-jrollins@finestructure.net> <1327307665-23387-4-git-send-email-jrollins@finestructure.net> User-Agent: Notmuch/0.11+73~gd51b784 (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 23 Jan 2012 11:02:04 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Gm-Message-State: ALoCoQnBVhxffbZIks960+a7u4U5rhR8wDkx6R76cEMVh4ONdM6z1vBm98gjMn0bAOMuCSYNGpsm 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, 23 Jan 2012 11:02:09 -0000 --=-=-= Content-Type: text/plain On Mon, 23 Jan 2012 00:34:23 -0800, Jameson Graef Rollins wrote: > -(defun notmuch-show-next-open-message () > +(defun notmuch-show-next-open-message (&optional pop-at-end) > "Show the next message." > - (interactive) > - (let (r) > + (interactive "P") > + (let ((parent-buffer notmuch-show-parent-buffer) > + (r)) Extra brackets around 'r' are unnecessary. Otherwise, +1. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8dPiwACgkQaezQq/BJZRZbDACfasUzkCbuWPgkBP3W2DwwM5Ha yRMAnRzaq46wtlNOh7LbUbMXxFf0trqV =Oi4B -----END PGP SIGNATURE----- --=-=-=--