From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mug896@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Using Emacs Lisp for script writing Date: Fri, 9 May 2014 22:54:21 -0700 (PDT) Message-ID: <8f5a4c55-0781-4372-a88a-a81bafbb525c@googlegroups.com> References: <87hbrrrl3c.fsf@Traian.DecebalComp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1399715338 23878 80.91.229.3 (10 May 2014 09:48:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2014 09:48:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 10 11:48:51 2014 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 1Wj3tj-0007Qq-1H for geh-help-gnu-emacs@m.gmane.org; Sat, 10 May 2014 11:48:51 +0200 Original-Received: from localhost ([::1]:56772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj3ti-0008Ea-KG for geh-help-gnu-emacs@m.gmane.org; Sat, 10 May 2014 05:48:50 -0400 X-Received: by 10.182.213.37 with SMTP id np5mr7615492obc.36.1399701263121; Fri, 09 May 2014 22:54:23 -0700 (PDT) X-Received: by 10.182.24.1 with SMTP id q1mr89174obf.4.1399701262402; Fri, 09 May 2014 22:54:22 -0700 (PDT) Original-Path: usenet.stanford.edu!r10no2613215igi.0!news-out.google.com!gi6ni796igc.0!nntp.google.com!r10no2613211igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <87hbrrrl3c.fsf@Traian.DecebalComp> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=58.76.179.187; posting-account=E1YtWAoAAAD8LaCoWx6p3KOM8tAgxTBy Original-NNTP-Posting-Host: 58.76.179.187 User-Agent: G2/1.0 Injection-Date: Sat, 10 May 2014 05:54:23 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205311 X-Mailman-Approved-At: Sat, 10 May 2014 05:48:40 -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:97578 Archived-At: I use emacs lisp read-* function (setq ans1 (yes-or-no-p "Is this good ? ")) (message "\nYour answer is => %s\n" (symbol-name ans1)) (setq ans2 (read-string "Enter message : ")) (message "\nYour message is => %s\n" ans2 ) (setq ans3 (read-number "Enter number : ")) (message "\nYour number is => %s\n" ans3 )