Web lists-archives.com

Bug#888823: ITP: with-simulated-input-el -- macro to simulate user input non-interactively




Package: wnpp
Owner: Lev Lamberov <dogsleg@xxxxxxxxxx>
Severity: wishlist

* Package name    : with-simulated-input-el
  Version         : 2.2
  Upstream Author : Ryan C. Thompson <rct@xxxxxxxxxxxxxxxx>
* URL or Web page : https://github.com/DarwinAwardWinner/with-simulated-input
* License         : GPL-3+
  Programming Lang: Emacs Lisp
  Description     : macro to simulate user input non-interactively

This package provides an Emacs Lisp macro, `with-simulated-input', which
evaluates one or more forms while simulating a sequence of input events
for those forms to read. The result is the same as if you had evaluated
the forms and then manually typed in the same input. This macro is
useful for non-interactive testing of normally interactive commands and
functions, such as `completing-read'.