[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is it not possible to use "nil" any more in init files ?
From: |
Phillip Lord |
Subject: |
Re: Why is it not possible to use "nil" any more in init files ? |
Date: |
Wed, 26 Nov 2014 14:18:42 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Alexandre Oberlin <email_via_web@migo.info> writes:
> On top of that, not having the explicit arguments work as once expected does
> not help. Really, ain’t it a bit confusing to have
> (cua-mode -1)
> return nil and
> (cua-mode nil)
> return t ?
Only if you actually do this. For instance,
(cua-mode -1)
(cua-mode 1)
works just fine and as expected.
Or even
(cua-mode 0)
(cua-mode 1)
Bottom line is that nil in lisp is overloaded. In this case,
it means both "explicit false" and "no argument supplied".
Life is a compromise, nil double so.
Phil
- Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/22
- Re: Why is it not possible to use "nil" any more in init files ?, Stefan Monnier, 2014/11/22
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/25
- Re: Why is it not possible to use "nil" any more in init files ?, Phillip Lord, 2014/11/25
- Re: Why is it not possible to use "nil" any more in init files ?, Stefan Monnier, 2014/11/25
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/25
- Re: Why is it not possible to use "nil" any more in init files ?, Phillip Lord, 2014/11/26
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/26
- Re: Why is it not possible to use "nil" any more in init files ?, Stefan Monnier, 2014/11/26
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/25
- Re: Why is it not possible to use "nil" any more in init files ?,
Phillip Lord <=
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/26
- Message not available
- Re: Why is it not possible to use "nil" any more in init files ?, Alexandre Oberlin, 2014/11/26
Re: Why is it not possible to use "nil" any more in init files ?, Emacs User, 2014/11/25