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 14FB34196F0 for ; Wed, 7 Apr 2010 10:46:03 -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 lG0rovJMDeKS; Wed, 7 Apr 2010 10:46:02 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 31D9A431FC1; Wed, 7 Apr 2010 10:46:02 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id CC7A425400C; Wed, 7 Apr 2010 10:46:01 -0700 (PDT) From: Carl Worth To: Jesse Rosenthal , notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH v2] notmuch.el: Make notmuch-show buffer name first subject, instead of thread-id In-Reply-To: References: Date: Wed, 07 Apr 2010 10:46:01 -0700 Message-ID: <87zl1f5f6u.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: Wed, 07 Apr 2010 17:46:03 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Fri, 12 Feb 2010 17:19:23 -0500, Jesse Rosenthal wr= ote: > Change the buffer name to a uniquified subject of the thread (i.e. the > subject of the first message in the thread) instead of the thread-id. This > is more meaningful to the user, and will make it easier to scroll through > numerous open buffers. A very lovely change, Jesse! Thanks for this (which is now pushed). And again, thanks to Sebastian for guiding the patch through the file renaming. There is one minor issue with this patch which is that viewing an identical thread more than once will bring up a new buffer rather than re-using the existing buffer. But of course, we *want* a separate buffer if the thread-ID is different but the (abbreviated) subject just happens to match. So there would have to be something clever to do the right thing here. I'm not making this minor regression block the patch, since it's so nice otherwise. > This version of the patch improves on the first version by ensuring that > the buffer names are unique, and that the `notmuch-show' command can > still be used interactively. >=20 > Signed-off-by: Jesse Rosenthal > --- > notmuch.el | 25 +++++++++++++++++++------ > 1 files changed, 19 insertions(+), 6 deletions(-) That last paragraph above is good guidance for understanding the patch, but not useful as part of the permanent commit history. So I removed it before pushing the commit. In the future, you can put text like that *after* the "---" just below your Signed-off-by and then "git am" will automatically ignore it. =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLvMTZ6JDdNq8qSWgRAgZ9AJsGgeH+ChDgbxFimhtgfjfys/iD0wCfT8LG H7D+rZqKBF+TgaWDrmQF+zM= =ktKL -----END PGP SIGNATURE----- --=-=-=--