From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Proposal: make prog2 a macro Date: Sat, 8 Oct 2016 12:40:19 +0900 (JST) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1475898054 14762 195.159.176.226 (8 Oct 2016 03:40:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 03:40:54 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: emacs-devel , Tino Calancha To: Wilfred Hughes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 08 05:40:50 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 1bsiV1-0001hP-2y for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2016 05:40:35 +0200 Original-Received: from localhost ([::1]:39158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsiUy-0008Og-Vf for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2016 23:40:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsiUs-0008OX-Lj for emacs-devel@gnu.org; Fri, 07 Oct 2016 23:40:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsiUp-0006vX-K6 for emacs-devel@gnu.org; Fri, 07 Oct 2016 23:40:26 -0400 Original-Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:33692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsiUp-0006uk-CL for emacs-devel@gnu.org; Fri, 07 Oct 2016 23:40:23 -0400 Original-Received: by mail-pf0-x22c.google.com with SMTP id 190so31532070pfv.0 for ; Fri, 07 Oct 2016 20:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=G5PiJgFjzyvebwiy8v6OtaR2pt9xY+mgENQqnKgLpy0=; b=UpG4Cw2Sg9vTpkZTZpmnfBKb3kwE6YNTXWpV9sgrT2py79VvnJJjEegFc9luekDMyF gr8ZEWpst9ifz9P6eY6TBq2LHN+REHvI/M/Smd4dVX3+2VnigSYRIjib74IN+UlWF0U9 wdImgHhpEMczUydiIJ5i5wlf3tagFw9gHyFhP4kE08SHutvIrd1BEzoJmat3lG/HhuLz a0F+oTJjAe6vjqZ6TRzoLi6l6RB6YXYfhT/GUY4MLIsFlOLXy1bVRtRLSk6UtGQx16xp VwpgTV44OeWoaasCyDWcqJb9hLcA2zyEUDFIayEpKWT2tz14OmHiZ73lk3Tvolu107Wx Rm6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=G5PiJgFjzyvebwiy8v6OtaR2pt9xY+mgENQqnKgLpy0=; b=ImA5KPZgSy3L0lXtNYgWSq6XF2CnxPKgrzjOHiM7lbtgJ/Li6WQSaNlQygGUrKt2m0 XI3fNaOSiAPxZJqYqAUjUXAnJqusT3NTJW2fJu+nvB0DZm7K/Mni5PsMLC3hfJCPqhQQ HPB6LSuPFjc9Tqk0m4hHefl5/vhV1isPWvwF6eghz/nrh0qEeGBRXC6yn3XEQ08ITRY8 us6kf/VBnKEXGweo32dfgCYqi+5kRR7TGeUB1d9MOS/f9UEa8Y6/Booo3e8VdjzcHBtw GL7jw1FxBAspAYwCGuCZETg6ed3dzuUltUL768u9hXWueQ0icKCGLZc9LyYClcBGAj8n V1xw== X-Gm-Message-State: AA6/9RkgKW+BPnZy9YBBQ9+57rTbnn0vOotzUcVVTpAa8XKfskZsaz3+uE1RNsA6xcy4/Q== X-Received: by 10.99.104.69 with SMTP id d66mr608473pgc.26.1475898022566; Fri, 07 Oct 2016 20:40:22 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id s1sm34333799paz.47.2016.10.07.20.40.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Oct 2016 20:40:22 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22c 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:208072 Archived-At: On Fri, 7 Oct 2016, Wilfred Hughes wrote: > On 7 October 2016 at 04:08, Tino Calancha wrote: >> >> Maybe you could also replace any mention of prog2 as a special form, >> again without being exhaustive, for instance, >> unsafep.el. > > OK, here's an updated patch. I've removed the usage of backquote as > suggested, and updated unsafep.el, bytecomp.el and cl-macs.el. I've > grepped through Emacs for other references to prog2, I think I've > covered everything. Thank you very much. I have one question regarding following file: * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Do we still need to byte optimize the `prog2' forms arguments after you changed it to a macro?