From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master f6b5db6: Add support for generators Date: Wed, 04 Mar 2015 20:06:11 -0500 Message-ID: References: <20150302234252.19883.48595@vcs.savannah.gnu.org> <54F5FB63.3070203@dancol.org> <54F621A9.90508@dancol.org> <54F6225C.3010804@dancol.org> <54F69956.2070708@dancol.org> <54F78FCC.4020500@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425517620 17160 80.91.229.3 (5 Mar 2015 01:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 01:07:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 02:06:51 2015 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 1YTKFW-0000Rr-MO for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2015 02:06:50 +0100 Original-Received: from localhost ([::1]:47613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTKFV-0003fx-MM for ged-emacs-devel@m.gmane.org; Wed, 04 Mar 2015 20:06:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTKFI-0003fe-9k for emacs-devel@gnu.org; Wed, 04 Mar 2015 20:06:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTKFD-0000HI-Ak for emacs-devel@gnu.org; Wed, 04 Mar 2015 20:06:36 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:36542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTKFD-0000H6-6k for emacs-devel@gnu.org; Wed, 04 Mar 2015 20:06:31 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2516PJM027765; Wed, 4 Mar 2015 20:06:26 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 24C69AE187; Wed, 4 Mar 2015 20:06:11 -0500 (EST) In-Reply-To: <54F78FCC.4020500@dancol.org> (Daniel Colascione's message of "Wed, 04 Mar 2015 15:05:48 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5235=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5235> : inlines <2362> : streams <1400079> : uri <1871359> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:183655 Archived-At: > It does work, though. It's analogous to (progn), (and), and (or), which > evolve to nil, nil, and t, respectively. Common Lisp also works fine > with empty function bodies. We shouldn't make empty functions work > everywhere except this one context. Feel free to fix macroexp-parse-body accordingly. I don't think it's worth my time, but I won't oppose a patch for it (of course, it still should correctly handle the case of (defun foo () "toto")). Stefan