From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Proposal: make prog2 a macro Date: Fri, 07 Oct 2016 00:46:00 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475826441 26121 195.159.176.226 (7 Oct 2016 07:47:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2016 07:47:21 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (darwin) Cc: emacs-devel To: Wilfred Hughes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 09:47:17 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsPrz-0004kR-J0 for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2016 09:47:03 +0200 Original-Received: from localhost ([::1]:32885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsPry-0001RE-0g for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2016 03:47:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsPr7-0001PA-Vk for emacs-devel@gnu.org; Fri, 07 Oct 2016 03:46:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsPr3-0007fd-QI for emacs-devel@gnu.org; Fri, 07 Oct 2016 03:46:08 -0400 Original-Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:35941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsPr3-0007fQ-HC for emacs-devel@gnu.org; Fri, 07 Oct 2016 03:46:05 -0400 Original-Received: by mail-pa0-x232.google.com with SMTP id ry6so19570263pac.3 for ; Fri, 07 Oct 2016 00:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=M2LHs9oDDWrebTzsnfLnyz3hsRvObkQ0WYB0tUqF6cY=; b=GWJQ6AQUyvXVkLCHD8WkCDvDW1hYBFRAenqvrDTGDe2tHKzYCCXZo44TNTh3QDYOQW ofd/gr8VCPRiq3cLk2McaLDH9MTkFoHTcKIa2aXpgoxfecHINsIOhU7EvwNlnstiNbCu 9rOi97YI3wCuzzQuZ2f/YgnWpCpDg8aVW656Kl3EZ7rV1wqn0agUYR5AHTBAmRm4RMJt g5Zni1i8zu/KJkFlKAX+W9U+nE2tmEiQzWwUOWbOuSyOtefAf72fFrtnqDFvhuhqEABw nMNfKUBINXzvUACenwSeYeALm4ZrKe1NAD6JclPLqpbgRDXDPpW/28kCGjsxPnKoVwFO An0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=M2LHs9oDDWrebTzsnfLnyz3hsRvObkQ0WYB0tUqF6cY=; b=E432nlGcPN9BZIe6oKN/nWtcYMg4OYFNTGSTUrGpXPOkAd0vfA70eO0Bz3ySrQMG6i lnt+Tn+uJbCo/i/oneynQNsSeMfRCk1bm5J95ljA4aTQSy3vszczzO5vjyS7CxON6oTM Kn73r2EFWeO7N779deZeTdykCAuewD84iVukXqbjj79ZiF5dJHw+uv4S+g5hhVPiWdPR W44DVtqbsWI1w7/ONAsjuaw1Snhm5QKOToTtWGFhizlLxJ9Q0+oK62P+XrqiRXLi+QEc 5mSUtID/2KKoB2sD92a/A4FgGP3WeL5vCROeykCD5KvTA9lwV43k5dQzz1R8hEbJ3gyY wi7g== X-Gm-Message-State: AA6/9RkfXMlE3pFpuJbzkN4flrUCm1Q2SaXmawyW2yFSpvitp2/4expysrNOG0Y0WL1XCQ== X-Received: by 10.66.101.35 with SMTP id fd3mr28330476pab.40.1475826364302; Fri, 07 Oct 2016 00:46:04 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id r89sm11249408pfd.3.2016.10.07.00.46.02 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 07 Oct 2016 00:46:03 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id A031E2D0CD29; Fri, 7 Oct 2016 00:46:02 -0700 (PDT) In-Reply-To: (Wilfred Hughes's message of "Fri, 7 Oct 2016 00:16:51 -0400") Mail-Followup-To: Wilfred Hughes , emacs-devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208054 Archived-At: >>>>> "WH" == Wilfred Hughes writes: WH> I was looking at a list of Emacs' special forms, and noticed that prog2 is WH> implemented in C. Is there any interest in moving this to a simple macro? It seems it has always been in C, since the beginning of version history for that file. I can't think of a reason it shouldn't be changed to a Lisp macro. My desire is to move as much functionality into Emacs Lisp as is feasible. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2