From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: waterloo Newsgroups: gmane.emacs.bugs Subject: bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp . Date: Sun, 5 Jul 2009 10:47:06 +0800 Message-ID: <907065090907041947k6884775fk55f332c776e6858f@mail.gmail.com> References: <907065090907040600x6c452684n93bc105623d3dacf@mail.gmail.com> <907065090907041913k35238898uca5ea25e90ab7da2@mail.gmail.com> <19024.4165.105934.813448@fencepost.gnu.org> Reply-To: waterloo , 3752@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd3108aae67ed046dec67cd X-Trace: ger.gmane.org 1246762673 7979 80.91.229.12 (5 Jul 2009 02:57:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2009 02:57:53 +0000 (UTC) Cc: 3752@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 04:57:46 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNHvF-000695-4k for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 04:57:45 +0200 Original-Received: from localhost ([127.0.0.1]:40225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNHvE-0000C1-MB for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2009 22:57:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNHv7-0000BK-Gc for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:57:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNHv1-00009s-Mh for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:57:36 -0400 Original-Received: from [199.232.76.173] (port=56821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNHv1-00009T-4n for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:57:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48354) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MNHv0-0007EX-D8 for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:57:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n652vPT4007470; Sat, 4 Jul 2009 19:57:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n652t5Ws006804; Sat, 4 Jul 2009 19:55:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: waterloo Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 05 Jul 2009 02:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3752 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3752-submit@emacsbugs.donarmstrong.com id=B3752.12467620365918 (code B ref 3752); Sun, 05 Jul 2009 02:55:05 +0000 Original-Received: (at 3752) by emacsbugs.donarmstrong.com; 5 Jul 2009 02:47:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-pz0-f191.google.com (mail-pz0-f191.google.com [209.85.222.191]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n652lBgs005906 for <3752@emacsbugs.donarmstrong.com>; Sat, 4 Jul 2009 19:47:12 -0700 Original-Received: by pzk29 with SMTP id 29so2869695pzk.19 for <3752@emacsbugs.donarmstrong.com>; Sat, 04 Jul 2009 19:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=lDA5dOOCAyuK57AEP25o0qsZcy+sJwjnBpLwnn+1iyc=; b=wdy2kS8+7IDjeBqgsVjarpaxQBhgH920x7cvHYXjCI4ubm4CXeYElT/bF+P7zXwSFB EglkmVfRDHrfAQwMeMwObvsvjLIykhiM0UDmcLZFpPBHbYafHlFNWC5/y7qVrX0+4Ld7 fsps0FmEsI+IdAW5nUokNk3zCdXKGVRloFSMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MkH/lccVcVw2v+zWOAi1ckQ7iWUXviucHSukByL9XOeQwaW3OOdICrLgOoygt5aAz4 QBRi/dX6TazZ+vkksagACmjz6C3JUf/m+EqoGaT6n4wjloDy7QS+Q2n3a3RvJIdfaEgk JOkQe795VUe/wG4IFMsYzD4mFOeKlkjGeyfs0= Original-Received: by 10.142.126.6 with SMTP id y6mr1000671wfc.230.1246762026034; Sat, 04 Jul 2009 19:47:06 -0700 (PDT) In-Reply-To: <19024.4165.105934.813448@fencepost.gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 04 Jul 2009 22:57:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29181 Archived-At: --000e0cd3108aae67ed046dec67cd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit when test of while is nil , it does not run `print' following it. who does print nil ? or if all function will print its return value ? thanks 2009/7/5 Glenn Morris > > [Please use "reply to all".] > > waterloo wrote (on Sun, 5 Jul 2009 at 10:13 +0800): > > > yes,it is clearer . thanks > > > > In 11.1.2 An Example:`print-elements-of-list', I can not understand why > > there is a `nil' in the context . > > This is explained at the end of the section: > > Since the last expression in the function is the `while' loop, and > since `while' loops always return `nil', a `nil' is printed after the > last element of the list. > --000e0cd3108aae67ed046dec67cd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable when test of while is nil , it does not run `print' following it.
wh= o=A0 does print nil ?

or=A0 if all function will print its return va= lue ?

thanks

2009/7/5 Glenn Morris= <rgm@gnu.org>

[Please use "reply to all".]

waterloo wrote (on Sun, 5 Jul 2009 at 10:13 +0800):

> yes,it is clearer . thanks
>
> In 11.1.2 An Example:`print-elements-of-list', I can not understan= d why
> there is a `nil' in the context .

This is explained at the end of the section:

=A0Since the last expression in the function is the `while' loop, and =A0since `while' loops always return `nil', a `nil' is printed = after the
=A0last element of the list.

--000e0cd3108aae67ed046dec67cd--