NonGNU-devel ELPA - with-simulated-input

with-simulated-input

Description
A macro to simulate user input non-interactively
Latest
with-simulated-input-3.0.0.20210602.224623.tar, 2022-Jan-11, 100 KiB
Maintainer
Ryan C Thompson <rct@thompsonclan.org>
Website
https://github.com/DarwinAwardWinner/with-simulated-input
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET with-simulated-input RET

Full description

This package provides a single 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'.



This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.