unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Interactive-form invoked with specified arg
@ 2013-06-04 16:31 gentsquash
  2013-06-04 17:17 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: gentsquash @ 2013-06-04 16:31 UTC (permalink / raw)
  To: help-gnu-emacs

  Consider a FORM which prompts the user to type a character.
E.g, FORM might be

	(y-or-n-p  "Are you there?")
or
	(query-replace "wierd" "weird") .

  Is there a way to programmatically invoke FORM with the
character already specified?  E.g

  (invoke-as-if-I-typed (query-replace "wierd" "weird") "!")

behaves as if I invoked (query-replace "wierd" "weird"),
then, when prompted, typed "!".
					-Jonathan


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-05 17:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 16:31 Interactive-form invoked with specified arg gentsquash
2013-06-04 17:17 ` Emanuel Berg
2013-06-04 23:20   ` gentsquash
2013-06-04 23:53     ` Emanuel Berg
2013-06-05  2:45 ` Stefan Monnier
     [not found] ` <mailman.1012.1370400616.22516.help-gnu-emacs@gnu.org>
2013-06-05 16:49   ` gentsquash
2013-06-05 17:18     ` gentsquash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).