[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to delete all nil properties from a plist?
From: |
Emanuel Berg |
Subject: |
Re: How to delete all nil properties from a plist? |
Date: |
Sun, 09 Aug 2015 03:34:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com>
writes:
>>> NEVER put the then on the same line as the test!
>>
>> ... why?
>
> because it makes it confusing to read.
I think it looks good. Often the condition is short
(it should be short) so there is plenty of space to
use on that line.
> If you do that, we have to count the parentheses!!!
Why, and when?
I have done that all the time and not once counted
parentheses:
(if nil-prop (setq nil-prop nil)
(setq new (cons x new)) )
Try this:
;; parentheses
(show-paren-mode t)
(defvar show-paren-delay)
(setq show-paren-delay 0)
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: How to delete all nil properties from a plist?, (continued)
- Message not available
- Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/05
- Re: How to delete all nil properties from a plist?, Emanuel Berg, 2015/08/05
- Re: How to delete all nil properties from a plist?, Emanuel Berg, 2015/08/05
- Re: How to delete all nil properties from a plist?, John Mastro, 2015/08/05
- Re: How to delete all nil properties from a plist?, John Mastro, 2015/08/05
- Message not available
- Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/05
- Re: How to delete all nil properties from a plist?, Emanuel Berg, 2015/08/07
- Message not available
- Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/05
- Re: How to delete all nil properties from a plist?, Emanuel Berg, 2015/08/07
- Message not available
- Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/08
- Re: How to delete all nil properties from a plist?,
Emanuel Berg <=
- Message not available
- Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/08
- Re: How to delete all nil properties from a plist?, Emanuel Berg, 2015/08/08
Message not available
Re: How to delete all nil properties from a plist?, Pascal J. Bourguignon, 2015/08/01