From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel,gmane.emacs.eieio Subject: Re: [cedet-eieio] Cleaning up the EIEIO namespace Date: Tue, 12 Feb 2013 22:13:08 -0500 Message-ID: <511B04C4.3090305@siege-engine.com> References: <87sj51fakd.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360725202 25881 80.91.229.3 (13 Feb 2013 03:13:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 03:13:22 +0000 (UTC) To: Stefan Monnier , cedet-eieio@lists.sourceforge.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 13 04:13:40 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5Smw-0005aS-CV for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2013 04:13:38 +0100 Original-Received: from localhost ([::1]:57206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Smc-0001XT-Bw for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2013 22:13:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5SmZ-0001Wf-3D for emacs-devel@gnu.org; Tue, 12 Feb 2013 22:13:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5SmW-00049O-T3 for emacs-devel@gnu.org; Tue, 12 Feb 2013 22:13:14 -0500 Original-Received: from mail-vc0-f182.google.com ([209.85.220.182]:60477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5SmW-00049H-Ng for emacs-devel@gnu.org; Tue, 12 Feb 2013 22:13:12 -0500 Original-Received: by mail-vc0-f182.google.com with SMTP id fl17so512703vcb.13 for ; Tue, 12 Feb 2013 19:13:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=DDNc2Ng+OUBBegyvERIThlxarEPCHOah9RHC9lCzbk8=; b=TIn1sdntotrxBtp81sngJrSQmdlvfXtJeHFmq9Mh4tZ47vOTWLOs6bhdsTrykcfSM8 MXSE6wKwIRr+EoQJfPx1KC26XMaxU2RTJkYr5GEeLmlnJgqabWsYFWbLdM+rBtgAHMGM Q9RbthcUHzJSkk5XQqDQoraEmUvYgMt/HKCscCmgz0/KlXjSKCJypYFWbR2lsmUGXBLB 5M5NIca539cTkpDd8gIfDSJsj0WzLw9a5PmEoZFytpT/BD/CQCZNPgWKBThwLjHy7c8O vZ266bcbcVHuIooBX937b/r9sHBoBz+QCNBjoj6QDeTMvTfD0DKA1iHeQVC0row4nECT cxPw== X-Received: by 10.52.89.52 with SMTP id bl20mr23227697vdb.85.1360725191427; Tue, 12 Feb 2013 19:13:11 -0800 (PST) Original-Received: from [192.168.1.201] (pool-72-74-140-235.bstnma.fios.verizon.net. [72.74.140.235]) by mx.google.com with ESMTPS id pa4sm54862024veb.1.2013.02.12.19.13.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Feb 2013 19:13:10 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre In-Reply-To: <87sj51fakd.fsf@engster.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.182 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:156996 gmane.emacs.eieio:133 Archived-At: On 02/12/2013 05:10 PM, David Engster wrote: > Stefan Monnier writes: >> Here is a patch that attempts to clean up part of the EIEIO namespace. >> If you like it, please install it upstream, so it will get merged into >> Emacs later on. If you prefer, I can install it into Emacs directly and >> you'll merge it later on upstream, of course. > > Thank you for the patch. I know it cannot have been fun. :-) > Agreed. Thanks for spending time on this. [...] > As for the general direction of the cleanup: We did discuss this a bit > in the bug report you opened for it some time ago, and Eric stated that > he'd at least like to keep the CLOS-compatible names without having to > prefix everything with 'eieio-'. Your suggestion was to use the shorter > 'cl-' prefix instead, and at least I think that is a good compromise. So > instead of using 'eieio-class-name', for instance, we'd rather use > 'cl-class-name'. I don't know enough CLOS to see which other names are > affected by this (but I could easily look it up, of course). I read through the patch, and tried to match up CLOS names that were affected by the rename. For reference, here are some CLOS functions that were renamed in the patch: class-name -> eieio-class-name http://www.lispworks.com/documentation/HyperSpec/Body/f_class_.htm class-of (was alias to object-class) -> obsoleted http://www.lispworks.com/documentation/HyperSpec/Body/f_clas_1.htm I didn't find anything else. So on the whole, it didn't affect the CLOS functions much at all. Good Stuff. Thanks! Eric