From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Proposal: make prog2 a macro Date: Fri, 7 Oct 2016 22:35:04 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1475894137 2913 195.159.176.226 (8 Oct 2016 02:35:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 02:35:37 +0000 (UTC) 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 04:35:29 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 1bshTq-0006sb-Gg for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2016 04:35:18 +0200 Original-Received: from localhost ([::1]:39057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshTp-0001pO-6E for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2016 22:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshTg-0001mw-Mq for emacs-devel@gnu.org; Fri, 07 Oct 2016 22:35:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bshTe-0006VK-LT for emacs-devel@gnu.org; Fri, 07 Oct 2016 22:35:07 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:35485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshTe-0006Tn-Hn for emacs-devel@gnu.org; Fri, 07 Oct 2016 22:35:06 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id d132so76139751oib.2 for ; Fri, 07 Oct 2016 19:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=H0CAOW02zzon+gcHRj9KAoiICPoD+q71AUqXlvn5xnQ=; b=ubcHofSGaqcvSz3WVYNBVC5EnLWC96eO9fQbHMOr8cqf13AuKJ7qjQLAJfsWz49usi PZxLckWoazmArOywLVUvwyeHvY9yV1Np3aatXFWn8hpuBf/MwwFj6vVKI8Uxy+z9qSVC 8opFLZL6kcnQXLOQz3aSqg9FnjI9m1GMfwaHi5xJEnDBKeNyFHZLbcjCSimBaO6uAPan DpVqeVx/19ABhwJ7COoCyMamRfs5vgUHK+AKfZt6P1o6gMf6hfc/cQk9fSR4iLVij6ac b/RhTyBbgYhjQU4YUd1PjerdxfcKy2N22VDXOXIL6X3adHHWqd26D/66T7SlCaI/9BHn N/4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=H0CAOW02zzon+gcHRj9KAoiICPoD+q71AUqXlvn5xnQ=; b=FjwGyX75gPV3RkyGsmb9mO8QPtwj0xMBWqGDV1OvDNYlfi7Ou0p2hQ1i6CEynaEG5h cAWwPx+dPuKXjBecc0NeMq4QsDEMwrHYG6U3+V/ZXh7hnRKfDo8HoFcYpicLzFqJSCYq /xhoFkJOdlwDyb1eG3m9uG1JWe1wvFylWxj84Zk/AG8jOiuJvrAsXXxo0DJujC5wbWTD SNOyeta/LFnSgTQr2RA7O5eUHlKVebxSKnItWzlQ/umt4oxJAsdyrTJfQo0zz/xovJFh EAaMIowNEsYsKthsLXH7OFCsf/uO+Wt3T4B74PC/DbiZOEoMg6BR6mJ5I3Rv3xZ2wZ4z bXCg== X-Gm-Message-State: AA6/9RkKzRXjmjXBiLrPzu+MnMa4DIcSIQ5HNAFOEe/bNg5gzcqkY6gyI1vVJ2QHPZg1QQRj9HbBXGBa4PuWqw== X-Received: by 10.202.90.3 with SMTP id o3mr1939369oib.46.1475894104871; Fri, 07 Oct 2016 19:35:04 -0700 (PDT) Original-Received: by 10.157.42.16 with HTTP; Fri, 7 Oct 2016 19:35:04 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 1QVHIJidckcK70zvGg_zhfG5pgE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22e 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:208071 Archived-At: On Fri, Oct 7, 2016 at 10:12 PM, Wilfred Hughes wrote: > >> This change will cause increased inconvenience in the Lisp debugger >> for interpreted code. > > I don't see how: I've added a debug declaration so you can step > through with edebug as normal. It's no different from `when' in this > respect. The "Lisp debugger" may be referring to `debug', not `edebug'. See bug #3466 - "have `d' in debugger treat macro expansion like `c' does". That said, I think prog2 is rare enough (a quick M-x rgrep over Emacs' lisp code found only 66 matches vs 874 for prog1 and 8585 for progn) that it wouldn't really matter that much.