[PATCH] test: add test-lib.el file with `visible-buffer-string' function

Carl Worth cworth at cworth.org
Thu May 26 14:15:27 PDT 2011


On Thu, 26 May 2011 20:27:58 +0400, Dmitry Kurochkin <dmitry.kurochkin at gmail.com> 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.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110526/c13997ff/attachment.pgp>


More information about the notmuch mailing list