From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Lilja Newsgroups: gmane.emacs.devel Subject: What happens when I evaluate the call the second time? Date: Tue, 03 Jul 2007 00:20:30 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183414902 25676 80.91.229.12 (2 Jul 2007 22:21:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Jul 2007 22:21:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 00:21:40 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5UH6-00082W-1D for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 00:21:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5UH5-0004wb-CO for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2007 18:21:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5UGK-0003yS-BT for emacs-devel@gnu.org; Mon, 02 Jul 2007 18:20:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5UGI-0003xl-Hg for emacs-devel@gnu.org; Mon, 02 Jul 2007 18:20:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5UGI-0003xe-Bb for emacs-devel@gnu.org; Mon, 02 Jul 2007 18:20:50 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5UGH-0001AF-UF for emacs-devel@gnu.org; Mon, 02 Jul 2007 18:20:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I5UGA-0002X3-O3 for emacs-devel@gnu.org; Tue, 03 Jul 2007 00:20:42 +0200 Original-Received: from cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se ([85.194.49.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jul 2007 00:20:42 +0200 Original-Received: from mindcooler by cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jul 2007 00:20:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74206 Archived-At: Hello, I've just started with lisp programming and I encountered something I thought was odd. Using GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on MINDCOOLER Starting with -Q In the scratch buffer I write (defun average (x y) (/ (+ x y) 2) ) (average 2 3) First C-x C-e after the function, then twice after calling it. The output is: average 2 2 (#o2, #x2, ?\C-b) Now what's the (#o2, #x2, ?\C-b) stuff? - Eric PS. I notice that the output is 2 and not 2.5, I guess the output gets truncated to an integer (the decimal part is discarded).