From: Tino Calancha <tino.calancha@gmail.com>
To: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org, Tino Calancha <tino.calancha@gmail.com>
Subject: Re: humble proposal: New special form progn-1
Date: Wed, 27 Jul 2016 22:58:09 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1607272249210.23948@calancha-pc> (raw)
In-Reply-To: <mvm7fc72qe5.fsf@hawking.suse.de>
On Wed, 27 Jul 2016, Andreas Schwab wrote:
> On Mi, Jul 27 2016, Tino Calancha <tino.calancha@gmail.com> wrote:
>
>> * Other way to acomplish one usual task.
>
> How usual is that task?
I will estimate it:
Running following command on lisp dir:
find lisp -type f -exec grep --color -InH -e regexp \{\} +
1) regexp = '(prog1 '
matches: 462
2) regexp = '(prog2 '
matches: 20
3) regexp = '(progn '
matches: 2262
I would say similar order of magnitude as 1), i.e., ~ 20% of 3)
>> * Allow lower indentation level (see below):
>>
>> (progn-1
>> (form1)
>> (form2)
>> (form3)
>> .
>> .
>> .
>> (formN-1)
>> (formN))
>
> (progn
> (form1)
> ...
> (prog1
> (formN-1)
> (formN)))
>
Its also nice; maybe slightly more readable the first one.
You know, it's matter of taste: 2 forms VS 1 form, like:
(let ((i 1)
(j 2))
(form))
compared with:
(let ((i 1))
(let ((j 2))
(form)))
Tino
next prev parent reply other threads:[~2016-07-27 13:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 12:16 humble proposal: New special form progn-1 Tino Calancha
2016-07-27 12:22 ` Stefan Monnier
2016-07-27 12:53 ` Andreas Schwab
2016-07-27 13:58 ` Tino Calancha [this message]
2016-07-27 16:04 ` Andreas Schwab
2016-07-27 14:08 ` Clément Pit--Claudel
2016-07-27 14:30 ` Phil Sainty
2016-07-27 15:15 ` Drew Adams
2016-07-28 11:35 ` Tino Calancha
2016-07-27 14:38 ` Tino Calancha
2016-07-27 19:07 ` Clément Pit--Claudel
2016-07-27 21:51 ` Nicolas Petton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1607272249210.23948@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.