From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gentsquash Newsgroups: gmane.emacs.help Subject: Interactive-form invoked with specified arg Date: Tue, 4 Jun 2013 09:31:08 -0700 (PDT) Message-ID: <037e0390-7e59-4239-bf31-1c7e55b269db@v2g2000yqa.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1370366618 20042 80.91.229.3 (4 Jun 2013 17:23:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 17:23:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 04 19:23:39 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjuxN-0003Jy-RV for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 19:23:37 +0200 Original-Received: from localhost ([::1]:56820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjuxN-0004F6-Dl for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 13:23:37 -0400 X-Received: by 10.224.42.141 with SMTP id s13mr16792757qae.3.1370363468710; Tue, 04 Jun 2013 09:31:08 -0700 (PDT) X-Received: by 10.182.39.165 with SMTP id q5mr101255obk.12.1370363468560; Tue, 04 Jun 2013 09:31:08 -0700 (PDT) Original-Path: usenet.stanford.edu!p1no1387331qaj.0!news-out.google.com!y6ni217qax.0!nntp.google.com!ch1no814563qab.0!postnews.google.com!v2g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: v2g2000yqa.googlegroups.com; posting-host=24.136.39.217; posting-account=LepcaQgAAACr4mTxtqQZ5RIS3kaWpFxN Original-NNTP-Posting-Host: 24.136.39.217 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:20.0) Gecko/20100101 Firefox/20.0,gzip(gfe) Injection-Date: Tue, 04 Jun 2013 16:31:08 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199030 X-Mailman-Approved-At: Tue, 04 Jun 2013 13:23:21 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91299 Archived-At: 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