From: gentsquash <gentsquash@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Interactive-form invoked with specified arg
Date: Tue, 4 Jun 2013 09:31:08 -0700 (PDT) [thread overview]
Message-ID: <037e0390-7e59-4239-bf31-1c7e55b269db@v2g2000yqa.googlegroups.com> (raw)
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
next reply other threads:[~2013-06-04 16:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 16:31 gentsquash [this message]
2013-06-04 17:17 ` Interactive-form invoked with specified arg 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=037e0390-7e59-4239-bf31-1c7e55b269db@v2g2000yqa.googlegroups.com \
--to=gentsquash@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.