From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.eieio Subject: Re: [cedet-eieio] Cleaning up the EIEIO namespace Date: Thu, 14 Feb 2013 08:49:26 -0500 Message-ID: References: <87sj51fakd.fsf@engster.org> <87k3qcfa4x.fsf@engster.org> <511C39A9.4000403@siege-engine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360849787 15361 80.91.229.3 (14 Feb 2013 13:49:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 13:49:47 +0000 (UTC) Cc: cedet-eieio@lists.sourceforge.net, emacs-devel@gnu.org To: "Eric M. Ludlam" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 14:50:08 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 1U5zCP-0002m0-HH for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2013 14:50:05 +0100 Original-Received: from localhost ([::1]:46077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5zC5-0003ZT-P5 for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2013 08:49:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5zC1-0003Z8-Jl for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:49:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5zBo-0005HA-TL for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:49:41 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:51184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5zBo-0005Gz-QI for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:49:28 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r1EDnQWd027327; Thu, 14 Feb 2013 08:49:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 645656F8CF; Thu, 14 Feb 2013 08:49:26 -0500 (EST) In-Reply-To: <511C39A9.4000403@siege-engine.com> (Eric M. Ludlam's message of "Wed, 13 Feb 2013 20:11:05 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4491=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4491> : streams <906621> : uri <1345517> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:157027 gmane.emacs.eieio:138 Archived-At: > setf is part of cl, and couldn't be used at runtime, so I mocked > up the behavior with something matching aref/aset instead. Actually, there's a misunderstanding here: - setf was indeed part of CL, but being a macro it was accepted (i.e. you don't need to have it defined at run-time, since it's macro-expanded during compilation). - setf is part of core Elisp in Emacs-24.3. So maybe we don't need oref/oset at all. As for Drew's argument, in reality the "cl-" prefix was largely unused until Emacs-24.3 (it was mostly used to mean "definition internal to cl.el") where I introduced cl-lib (which does use "cl-" consistently and replaced the former "cl-" of internal definitions to "cl--"). We could even justify the "cl-" prefix by making cl-lib autoload `cl-slot-value' from eieio.el. Or use the "eieio-" prefix everywhere in eieio*.el and then define "cl-" aliases in cl-lib.el. Stefan