From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39672 Path: main.gmane.org!not-for-mail From: "Davide G. M. Salvetti" Newsgroups: gmane.emacs.gnus.general Subject: Re: new Mail-Followup-To patch...please take a look... Date: Wed, 24 Oct 2001 14:45:04 +0200 Organization: Quis ut Deus? Sender: owner-ding@hpc.uh.edu Message-ID: <87zo6hryun.fsf@hal.Olympus.INVALID> References: <87wv1m9y6j.fsf@mclinux.com> <87d73evv3k.fsf@hal.Olympus.INVALID> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175346 29214 80.91.224.250 (21 Oct 2002 04:42:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:42:26 +0000 (UTC) Return-Path: Original-Received: (qmail 4624 invoked from network); 24 Oct 2001 13:00:24 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 24 Oct 2001 13:00:24 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15wNdZ-0005T9-00; Wed, 24 Oct 2001 08:00:01 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 Oct 2001 07:59:38 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA11643 for ; Wed, 24 Oct 2001 07:59:25 -0500 (CDT) Original-Received: (qmail 4608 invoked by alias); 24 Oct 2001 12:59:41 -0000 Original-Received: (qmail 4603 invoked from network); 24 Oct 2001 12:59:41 -0000 Original-Received: from smtp3.libero.it (193.70.192.53) by gnus.org with SMTP; 24 Oct 2001 12:59:41 -0000 Original-Received: from Lepus.Olympus.INVALID (151.14.162.103) by smtp3.libero.it (6.0.032) id 3BD43E250009D992 for ding@gnus.org; Wed, 24 Oct 2001 14:59:07 +0200 Original-Received: from hal.Olympus.INVALID (HAL.Olympus.INVALID [192.168.247.1]) by Lepus.Olympus.INVALID (Postfix) with ESMTP id E871316836 for ; Wed, 24 Oct 2001 14:39:08 +0200 (CEST) Original-Received: from salve by hal.Olympus.INVALID with local (Exim 3.32 #1 (Debian)) id 15wNP6-0000g7-00 for ; Wed, 24 Oct 2001 14:45:04 +0200 Mail-Copies-To: nobody Original-To: ding@gnus.org X-Attribution: DGMS X-GPG-Fingerprint: D3B2 A3F5 E9EB BDE6 A245 AA4A 212B 306C 9396 865D X-Face: &6g,d%3hP0[qul^Z;FuwvIxNxPy2:}9K`7D?&sDX@xTwx7Z\S\AK\jI)J$yL:J>70*[c!k* [qo4Zx')Q_zPtl]25VG[X#6xMVp_1K!t- U{izN"hVM!$1`P\v~sRS:)^t_{py+"YcZ|2^z=AUz4"ZJNrtP@;'8dyarKA7)OPjihAGsMb In-Reply-To: (prj@po.cwru.edu's message of "Tue, 23 Oct 2001 21:40:56 -0400") Original-Lines: 45 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39672 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39672 >>>>> "PJ" =3D=3D Paul Jarc writes: PJ> '(lambda ...) is equivalent to (lambda ...). Oh, I really thought that (lambda ...) was equivalent to (function (lambda ...)), which in turn also has the read syntax #'(lambda ...). I know '(lambda ...) is the read syntax for (quote (lambda ...)), which doesn't evaluate the (lambda ...) inside (that being (quote ...) purpose), and thus doesn't return (function (lambda ...)) like the macro lambda should do. Are you really sure that (lambda ...) evaluates to (quote (lambda ...)) rather than to (function (lambda ...))? Since I was actually quite a bit confused, I tried and byte-compiled this small file (let's call it =ABbyte-compilation-test.el=BB): <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> (setq lambda (lambda (x) (1+ x))) (setq qlambda '(lambda (x) (1+ x))) (setq flambda #'(lambda (x) (1+ x))) (defun show-me-this-fact nil "Just a test." (interactive) (dolist (x '(lambda qlambda flambda)) (message "Function: %s.\nByte-compiled: %s." (symbol-name x) (if (byte-code-function-p (eval x)) "yes" "no")) (sit-for 1))) <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> Try it for yourself: save it, byte-compile it, and then type =ABM-x load-file byte-compilation-test.elc=BB and =ABM-x show-me-this-fact= =BB. Is there anything I don't get? It has always been a source of confusion, to me. :-) Thanks. --=20 Salve, | Davide | GNU PG (GPG) Key ID: 939686D5