From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: CL package serious deficiencies Date: Fri, 10 Feb 2012 07:35:12 -0800 Message-ID: References: <33271707.post@talk.nabble.com><87fwemcwlx.fsf@spindle.srvr.nix><87d39pgdu4.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328888150 1310 80.91.229.3 (10 Feb 2012 15:35:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 15:35:50 +0000 (UTC) Cc: 'Nix' , 'Lars Ingebrigtsen' , Emacs-devel@gnu.org To: "'Juanma Barranquero'" , "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 10 16:35:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvsVh-0000qj-NR for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2012 16:35:41 +0100 Original-Received: from localhost ([::1]:56425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvsVg-0004PT-Oi for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2012 10:35:40 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvsVa-0004PJ-4A for Emacs-devel@gnu.org; Fri, 10 Feb 2012 10:35:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvsVV-00028M-D6 for Emacs-devel@gnu.org; Fri, 10 Feb 2012 10:35:34 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:40980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvsVV-00028G-6q for Emacs-devel@gnu.org; Fri, 10 Feb 2012 10:35:29 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q1AFZJFe024382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Feb 2012 15:35:19 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1AFZHJm023174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Feb 2012 15:35:18 GMT Original-Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1AFZGwF004083; Fri, 10 Feb 2012 09:35:17 -0600 Original-Received: from dradamslap1 (/10.159.36.32) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 10 Feb 2012 07:35:16 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczoBgK4wLbfv9++TKqToJvK5gBIRgAAK9fg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090202.4F353938.005A,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148431 Archived-At: I agree with what Juanma and others have said about some of the more commonly used Common-Lisp functions, particularly the sequence functions. I would add that being able to use generalized variables (`setf' generally, in addition to `incf' etc.) would also be on my short list. http://www.gnu.org/software/emacs/manual/html_node/cl/Generalized-Variables.html #Generalized-Variables http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node80.html Note that this would also mean generalizing some existing Emacs things like `push' in Emacs, letting you use generalized variables, not just variables (symbols), as their args. And it [wc]ould obsolete some existing things, like `add-to-list' - see `pushnew'. More generally, if generalized variable support were added, there would be other existing Emacs functions/macros that currently require a variable as arg but which could be generalized to accept a generalized variable. IOW, adding a given CL feature doesn't necessarily mean just adding that feature per se - it could also mean taking advantage of that feature to improve Emacs Lisp more generally. (But we've been through all of this more than once before, discussing various lists of candidate CL features to add. And little to nothing has come of it. That does not mean that this time won't be the charm, but I'm skeptical...)