From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: What happens when I evaluate the call the second time? Date: Tue, 3 Jul 2007 11:45:26 +0200 Message-ID: <7dbe73ed0707030245t1fc73075hae75d19aac485562@mail.gmail.com> References: 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 1183455948 16720 80.91.229.12 (3 Jul 2007 09:45:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 09:45:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Eric Lilja" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 11:45:47 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 1I5ex9-0007Ua-0f for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 11:45:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5ex7-0007hO-Ey for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 05:45:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5ewv-0007eO-Qs for emacs-devel@gnu.org; Tue, 03 Jul 2007 05:45:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5ewt-0007bF-1p for emacs-devel@gnu.org; Tue, 03 Jul 2007 05:45:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5ewr-0007aa-Hu for emacs-devel@gnu.org; Tue, 03 Jul 2007 05:45:29 -0400 Original-Received: from mu-out-0910.google.com ([209.85.134.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5ewr-0001je-21 for emacs-devel@gnu.org; Tue, 03 Jul 2007 05:45:29 -0400 Original-Received: by mu-out-0910.google.com with SMTP id g7so2137125muf for ; Tue, 03 Jul 2007 02:45:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MHgQ3ONoontQ9vivbDH5st7XSs4pDDBaPgV1BXyXUVjQ+/F3w9E3sZALOyQD++crDd0U7kN3f7naS7AsLOePdL/1SxojNTvlxbe36WrJjf45YYxumUsvpcggMPBslLQ48TYKw0WA650SwXnPT0uCb4lgrUWuly0yJN8C8fiE22o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kb+vK7Y42xjq9zb9o7xLqdXm02k06xr5Fj4NKfc0wDs+W00d+zgSzQdyV5LfPxq3Otuh+ax/72Aboy0kdYuGMty3cjCTtCaG8y8sfzOOPgBtr+qUexD8A9O87DnK8JfCU/QIabRuHuCN+6ToelvXsSnDlGwlH8lMPyYDrhqtjGY= Original-Received: by 10.82.134.12 with SMTP id h12mr15044133bud.1183455927015; Tue, 03 Jul 2007 02:45:27 -0700 (PDT) Original-Received: by 10.82.119.11 with HTTP; Tue, 3 Jul 2007 02:45:26 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: Linux 2.6 (newer, 2) 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:74231 Archived-At: > 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? Different ways to express 2 I think. What I find strange however, is that it is only displayed at the second invocation of C-x C-e. If you for example move point left and right and evaluate again, you first get 2, then the above. > 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). Yes. Try with (average 2.0 3) and you will get 2.5.