[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix (letrec ((ignore)))
From: |
Alan Mackenzie |
Subject: |
Re: [PATCH] Fix (letrec ((ignore))) |
Date: |
Sun, 13 Dec 2015 12:13:15 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello, John.
On Sat, Dec 12, 2015 at 03:10:05PM -0800, John Wiegley wrote:
> >>>>> Kaushal Modi <address@hidden> writes:
> > Would it be better instead to fix the org-mode files for consistency?
> > - Replace all instances of
> > (letrec ((SOMEVAR)) ..)
> > with
> > (letrec ((SOMEVAR nil)) ..)
> (letrec ((SOMEVAR))) should be an error, since the value is missing. If one
> wishes to declare SOMEVAR with a nil value, the correct forms are:
> (letrec ((SOMEVAR nil)))
> (letrec (SOMEVAR))
> > Question to emacs-devel: What would be the right approach?
> We should give `letrec' the same treatment we've given to `setq' and `setf',
> and then Org and other users should be corrected.
Just as a matter of interest,
(let ((foo) ... ) ...)
is accepted by the interpreter and byte compiler, binding foo to nil.
Should we make that form invalid, too?
> --
> John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
--
Alan Mackenzie (Nuremberg, Germany).
- [PATCH] Fix (letrec ((ignore))), Zack Piper, 2015/12/11
- Re: [PATCH] Fix (letrec ((ignore))), Kaushal Modi, 2015/12/11
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), Alan Mackenzie, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), David Kastrup, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), Alan Mackenzie, 2015/12/15