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 CC775429E25 for ; Thu, 26 May 2011 14:15:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 9c1yyoXl2gPG for ; Thu, 26 May 2011 14:15:35 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 09090431FB6 for ; Thu, 26 May 2011 14:15:35 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E065129A511; Thu, 26 May 2011 14:15:33 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 82CA725417E; Thu, 26 May 2011 14:15:33 -0700 (PDT) From: Carl Worth To: Dmitry Kurochkin , notmuch@notmuchmail.org Subject: Re: [PATCH] test: add test-lib.el file with `visible-buffer-string' function In-Reply-To: <1306427278-14932-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1306427278-14932-1-git-send-email-dmitry.kurochkin@gmail.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Thu, 26 May 2011 14:15:27 -0700 Message-ID: <87tychcgeo.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: Thu, 26 May 2011 21:15:35 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 26 May 2011 20:27:58 +0400, Dmitry Kurochkin wrote: > The patch adds test-lib.el file for Emacs tests auxiliary stuff. > Currently, it implements two functions: `visible-buffer-string' > and `visible-buffer-substring'. These are similar to standard > counterparts without "visible-" prefix but exclude invisible > text. The functions are not used anywhere at the moment but > should be useful for testing hiding/showing in the Emacs > interface. Thanks. I generally hesitate to add dead code, but I think this will come in handy at some point in the future, (where it might help motivate someone to write that they might not write if this code weren't handy). Pushed. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3ewu8ACgkQ6JDdNq8qSWh/SACcDilbWtXgF7UEuMQmqbOLWas/ H+MAoKLWk952700QOrg+YxAyW3JZk/vv =Iw6W -----END PGP SIGNATURE----- --=-=-=--