From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: humble proposal: New special form progn-1 Date: Wed, 27 Jul 2016 23:38:33 +0900 (JST) Message-ID: References: <3d003b0a-6d60-1081-5a6f-6324add22e79@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-939374190-1469630315=:25325" X-Trace: ger.gmane.org 1469630340 26644 80.91.229.3 (27 Jul 2016 14:39:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2016 14:39:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?ISO-8859-15?Q?Cl=E9ment_Pit--Claudel?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 27 16:38:55 2016 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 1bSPz5-000601-0M for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2016 16:38:55 +0200 Original-Received: from localhost ([::1]:46829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSPz4-0000Tv-8M for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2016 10:38:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSPyq-0000Qb-9s for emacs-devel@gnu.org; Wed, 27 Jul 2016 10:38:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSPyn-0008HA-Iu for emacs-devel@gnu.org; Wed, 27 Jul 2016 10:38:40 -0400 Original-Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:35463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSPyn-0008Gz-Bu for emacs-devel@gnu.org; Wed, 27 Jul 2016 10:38:37 -0400 Original-Received: by mail-pf0-x230.google.com with SMTP id x72so11617858pfd.2 for ; Wed, 27 Jul 2016 07:38:37 -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=USR/j1FeBQx7z6y2RmjTnYLIwZkeYmzEhZSRLnQYEOs=; b=DTiXIABL8LLQlRiahJEj+mHfeAjX4a2vl43aD/5q+RjbEKQCiOoWEXVeM46su+d1k7 DNBpuRsFtI6fCyLKRUoS+dlbPI1ERon2gqpz+IoJwVPiqiTRuZ6tbSzeMYJgZvN6418b LAN6fhAFLLSPQZt8FlI1btK5sIIOi45CmDSR8wrc998r6GGPf/c5f121bRmznOMBntWG DXZOwQCdhBEImKpN27l9RlDjoPZZcrabFui5cLMY4Fcm0q6Xl2Nlu0XnDfiMYFWIrSzr k/4q/6RR7vPxL6mTnSCdBwYjf6eaPJ0wgC/qVDWLe67iQxYIJapQJlSfNRiGQXq6A7s+ 0PUA== 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=USR/j1FeBQx7z6y2RmjTnYLIwZkeYmzEhZSRLnQYEOs=; b=DtefHDGP8DI7BSO05aAmw4nMHccpF/Wx+HqLs23x6KqhMv64++ma2B9adPrwP75AYN R9mPg+XmSiwEn4kordixuzphW09u66TiG84JDu/DAEfi8Ep1NPjMGubdewmgAQxPk4qj ledBSXTefOVG8bwl8mq8cH/vOftRHly3EB8vAJzYyFje9yogXKM4dPQXbwZb7AfPrSsL HZLpt249CmRWtH4H3I9K9BwTiGMAPW6Hk4rl5LNif8hJsZs6GGAxva6ZkdFwJXA+NY5Z z7qfj7zxwoGSy1ztnDWZqMUzddiSWy+RZgATi4b1fuNu2WY08e347YJuZKD8KcIQTFT2 ZbPQ== X-Gm-Message-State: AEkoouvNTgwg37fZrMFQoo53pHQX4SvmaMdJM3Uq0WExq1/W8LH4hOTluJgurfVnZicefA== X-Received: by 10.98.68.148 with SMTP id m20mr46283046pfi.0.1469630316622; Wed, 27 Jul 2016 07:38:36 -0700 (PDT) Original-Received: from calancha-pc ([210.160.37.26]) by smtp.gmail.com with ESMTPSA id i7sm9934360paf.9.2016.07.27.07.38.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 07:38:35 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <3d003b0a-6d60-1081-5a6f-6324add22e79@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::230 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:206181 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-939374190-1469630315=:25325 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 27 Jul 2016, Clément Pit--Claudel wrote: > On 2016-07-27 08:16, Tino Calancha wrote: >> Dear all, >> >> i got this idea few days ago (see the patch at the end). >> >> Even though I envision that no one here will like this proposal, >> for me it's instructive to learn from your answers why this is >> not a good idea. > > :) I don't have anything strongly against it myself. Any reason to not make it a lisp macro though? > >> My (weak) motivation for introduce this is: >> >> * Compact (and familiar) syntaxis. >> * Same reasons to exists as prog2 has (excluding historical reasons). >> * Other way to acomplish one usual task. >> * Allow lower indentation level (see below): > > Sounds good. One worry that I have with the name is that I read it as (progn)-(1), not prog(n-1). You mean that could confuse some people that is like: (1- (progn (form))) I still like progn-1 more because naturally fit in the sequence: prog1, prog2, ..., progn > Wouldn't > (progn > (form1) > ... > (formN-2) > (prog1 > (formN-1) > (formN))) > work? Of course does. I didn't claim i exhausted the casuistic :-) Thank you! Tino --8323329-939374190-1469630315=:25325--