emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Should nil COLLECTION element mean a "nil" candidate forcompleting-r


From: Drew Adams
Subject: RE: Should nil COLLECTION element mean a "nil" candidate forcompleting-read? Alist doc.
Date: Mon, 20 Jul 2009 20:40:30 -0700

I forgot to point out that treating nil this way can lead to extra (ugly) code,
just to remove or prevent production of such nil entries, so they are not
available to the user.

IOW, I suspect that the number of times where this "feature" might be useful
(for what?) is less than the number of times where it is a nuisance.

A typical case would be mapping a function that can return nil over a list. With
the current behavior, either an extra, nil-removing pass is needed or an
iteration is needed that is a bit more complex (ugly) than a simple mapping.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]