From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.devel Subject: Re: 24.3.50; Use of deprecated ((lambda ...) ...) form Date: Fri, 9 Nov 2012 19:05:57 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043893b32f029b04ce18d569 X-Trace: ger.gmane.org 1352505962 13474 80.91.229.3 (10 Nov 2012 00:06:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2012 00:06:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 10 01:06:13 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TWyaS-0006DH-OT for ged-emacs-devel@m.gmane.org; Sat, 10 Nov 2012 01:06:12 +0100 Original-Received: from localhost ([::1]:33929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWyaI-0007Iw-OI for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2012 19:06:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWyaF-0007H1-PZ for emacs-devel@gnu.org; Fri, 09 Nov 2012 19:06:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWyaE-0002OI-Uo for emacs-devel@gnu.org; Fri, 09 Nov 2012 19:05:59 -0500 Original-Received: from mail-vb0-f41.google.com ([209.85.212.41]:65260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWyaE-0002OC-QI for emacs-devel@gnu.org; Fri, 09 Nov 2012 19:05:58 -0500 Original-Received: by mail-vb0-f41.google.com with SMTP id v13so5210434vbk.0 for ; Fri, 09 Nov 2012 16:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=amOrQLz4rS2HKyLTx8e9hsMCTuS3DWE2GhL48NehQ5s=; b=dQW9gkAdasgyOluyeCTCguQ8iwaQOijxB3XCnVUIF07rETM19mQPzVxoOjYY0S7Jw2 WeP1OMWw76x8sSqseZ5JXEwBcpSWKQAT+jjXynT6n74D8LXNN9mLmxYPJTrHRnPGfGCt jOXLv9C4aG8mt1UHIevft8vv3XQC2oN991eErNTJxtiKDkvYStFrvBbhYI+gTa2rM24V IYMcUbomz+3TqCYQLLuo/6x1sghJGGsvplGgEPzhD9FxSzJd3gmtgl1Dz3egb3FvDxGV 44hZQ+qyrta1QTx/W+PVIuFkoaDe+J/spWVDNr9H83z+o7bhkmfR/rkSHoUzanj1z2H4 KZFw== Original-Received: by 10.220.151.138 with SMTP id c10mr12506491vcw.56.1352505958007; Fri, 09 Nov 2012 16:05:58 -0800 (PST) Original-Received: by 10.58.156.71 with HTTP; Fri, 9 Nov 2012 16:05:57 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154778 Archived-At: --f46d043893b32f029b04ce18d569 Content-Type: text/plain; charset=ISO-8859-1 >> > why is ((lambda...)...) deprecated? Is it because of this kind of inconsistency? (funcall (lambda () (message "hi"))) ; Prints "hi" (funcall (progn (lambda () (message "hi")))) ; Prints "hi" ((lambda () (message "hi"))) ; Prints "hi" ((progn (lambda () (message "hi")))) ; Lisp error: (invalid-function (progn (lambda nil (message "hi")))) One would hope either that the last two both work or both not work. --f46d043893b32f029b04ce18d569 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable >> > why is ((la= mbda...)...) deprecated?

Is it because of this kind of inconsistency?

(funcall (lambda () (message "hi"))) =A0 = =A0 =A0 =A0 ; Prints "hi"
(funcall (progn (lambda (= ) (message "hi")))) ; Prints "hi"

((lambda () (message &quo= t;hi"))) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ; Prints "hi"
((progn (lambda () (message "hi")))) =A0 = =A0 =A0 =A0 ; Lisp error: (invalid-function (progn (lambda nil (message &qu= ot;hi"))))

One would hope either that the last two both work or= both not work.

--f46d043893b32f029b04ce18d569--