From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: cc-langs.el Date: Wed, 27 Aug 2003 00:03:28 +0200 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: <5b1xv83wlr.fsf@lister.roxen.com> References: <5bekzd29w7.fsf@lister.roxen.com> <5b7k547aov.fsf@lister.roxen.com> Reply-To: bug-cc-mode@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061935778 7042 80.91.224.253 (26 Aug 2003 22:09:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 22:09:38 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Wed Aug 27 00:09:36 2003 Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rm0N-0001Cw-00 for ; Wed, 27 Aug 2003 00:09:36 +0200 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19rm0a-0006nJ-00; Tue, 26 Aug 2003 15:09:48 -0700 Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19rlz9-0006M4-00 for ; Tue, 26 Aug 2003 15:08:19 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19rlz8-0002NJ-TS for cc-mode-help@lists.sourceforge.net; Tue, 26 Aug 2003 15:08:19 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.20) id 19rlvX-0000nx-96 for bug-cc-mode@gnu.org; Tue, 26 Aug 2003 18:04:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19rlwq-0000ME-W0 for bug-cc-mode@gnu.org; Tue, 26 Aug 2003 18:06:29 -0400 Original-Received: from [194.52.182.190] (helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 19rlud-0006It-Bo; Tue, 26 Aug 2003 18:03:39 -0400 Original-Received: by mail.roxen.com (Postfix, from userid 52) id 06B1B9A34; Wed, 27 Aug 2003 00:03:32 +0200 (MEST) Original-Received: from lister.roxen.com (lister.roxen.com [194.52.182.147]) by mail.roxen.com (Postfix) with ESMTP id 41F739A24; Wed, 27 Aug 2003 00:03:27 +0200 (MEST) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 19rluS-0003RQ-00; Wed, 27 Aug 2003 00:03:28 +0200 Original-To: rms@gnu.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) X-Spam-Score: -2.5 (--) Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 27 Aug 2003 00:03:28 +0200 Xref: main.gmane.org gmane.emacs.cc-mode.general:768 gmane.emacs.devel:16163 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16163 Richard Stallman wrote: > Some of these [CL] functions may indeed be worth adding, and we have > occasionally added some of them, but not the whole lot of them at > once. I suggest that a fair number of them are considered in one go, so that the core functions get reasonably complete in this regard. It hampers development if every single one has to be advocated individually. Afterall, they have all proven their general usefulness in a CommonLisp context, and Emacs Lisp isn't all that different. To concretize the discussion, I think the following functions are generally useful and haven't got any direct counterparts in the current set: Predicates: eql Map functions: mapcar*, cl-mapc (ought to be aliased to mapc* for consistency), maplist, mapl, mapcan, mapcon, some, every, notany, notevery Number functions: signum, oddp, evenp Sequence functions: subseq, reduce, fill, search, sort*, replace, replace*, remove-if, remove-if-not, delete*, delete-if, delete-if-not, substitute, substitute-if, substitute-if-not, nsubstitute, nsubstitute-if, nsubstitute-if-not, find, find-if, find-if-not, position, position-if, position-if-not, count, count-if, count-if-not, member*, member-if, member-if-not, assoc*, assoc-if, assoc-if-not, rassoc*, rassoc-if, rassoc-if-not, mismatch Tree functions: tree-equal, subst, subst-if, subst-if-not, nsubst, nsubst-if, nsubst-if-not List functions: ldiff, tailp, adjoin Set functions: remove-duplicates, delete-duplicates, union, nunion, intersection, nintersection, set-difference, nset-difference, set-exclusive-or, nset-exclusive-or, subsetp Property list functions: remprop Place functions: incf, decf, pushnew Macro functions: cl-macroexpand-all Control structures: flet, macrolet, assert, define-compiler-macro, defstruct ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf