From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: un-deprecating CL Date: Sun, 16 Sep 2007 20:21:12 -0400 Message-ID: References: <864phxjj03.fsf@macs.hw.ac.uk> <87hclx834d.fsf@red-bean.com> <86ps0jiwfm.fsf@macs.hw.ac.uk> <18156.13696.753467.452116@gargle.gargle.HOWL> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1189988670 17354 80.91.229.12 (17 Sep 2007 00:24:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 00:24:30 +0000 (UTC) Cc: kfogel@red-bean.com, eliz@gnu.org, jbw@macs.hw.ac.uk, dto@gnu.org, emacs-devel@gnu.org To: raman@users.sf.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 02:24:28 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IX4Pb-0006iA-2h for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 02:24:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IX4PY-0000nc-C6 for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2007 20:24:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IX4My-0006wv-Uu for emacs-devel@gnu.org; Sun, 16 Sep 2007 20:21:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IX4My-0006wK-Ba for emacs-devel@gnu.org; Sun, 16 Sep 2007 20:21:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IX4My-0006w6-39 for emacs-devel@gnu.org; Sun, 16 Sep 2007 20:21:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IX4Mx-0002WK-TA for emacs-devel@gnu.org; Sun, 16 Sep 2007 20:21:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IX4MS-0006uU-Ou; Sun, 16 Sep 2007 20:21:12 -0400 In-reply-to: <18156.13696.753467.452116@gargle.gargle.HOWL> (raman@users.sf.net) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79061 Archived-At: some every notany remove-if delete-if Those are useful operations, and I would like to add facilities to do them. However, I don't like the CL functions because of their CL style keyword argument, which I feel conflicts with the spirit of Emacs Lisp. Thus, I would rather add other facilities with simpler interfaces to do these things. Instead of `remove-if', there could be a macro `filter', like `dolist' except that the body says whether to keep an element or discard it. Another macro could be designed to replace `some', `every' and `notany'. These macros would also run faster than those function calls, for whatever that is worth.