From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 2056db3: Rationalize use of c[ad]+r, expunging cl-c[ad]\{3, 4\}r. Date: Mon, 6 Apr 2015 17:40:58 +0000 Message-ID: <20150406174058.GA3266@acm.fritz.box> References: <20150405125047.6847.66246@vcs.savannah.gnu.org> <20150406100840.GA2589@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1428342108 3740 80.91.229.3 (6 Apr 2015 17:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Apr 2015 17:41:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 06 19:41:39 2015 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 1YfB1m-0004et-Rj for ged-emacs-devel@m.gmane.org; Mon, 06 Apr 2015 19:41:38 +0200 Original-Received: from localhost ([::1]:41004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfB1m-00014w-BA for ged-emacs-devel@m.gmane.org; Mon, 06 Apr 2015 13:41:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfB1M-0000sD-TX for emacs-devel@gnu.org; Mon, 06 Apr 2015 13:41:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfB1I-0005CH-TW for emacs-devel@gnu.org; Mon, 06 Apr 2015 13:41:12 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:33333 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfB1I-0005Bv-Jk for emacs-devel@gnu.org; Mon, 06 Apr 2015 13:41:08 -0400 Original-Received: (qmail 90688 invoked by uid 3782); 6 Apr 2015 17:41:06 -0000 Original-Received: from acm.muc.de (pD951ADD4.dip0.t-ipconnect.de [217.81.173.212]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 06 Apr 2015 19:41:05 +0200 Original-Received: (qmail 3315 invoked by uid 1000); 6 Apr 2015 17:40:58 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.1 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:185051 Archived-At: Hello, Stefan. On Mon, Apr 06, 2015 at 09:03:03AM -0400, Stefan Monnier wrote: > >> > * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc. > >> This is wrong. cl-lib's definitions should *all* start with "cl-". > > Hmmm. `cl-cdaar' is a nonsense. `eudc-cdaar' even more so. They > > _must_ simply be `cdaar', surely? There are enough instances of these > > functions in the code to matter (~311). > No, there's nothing wrong with "cl-cXXXr". The cl- prefix often carries overtones of "and something extra": e.g. cl-mapcar is more general than mapcar, and so is cl-member more general than just member. cl-caddr is however identical to caddr. But seeing cl-caddr in source raises the subliminal question "what's it got that caddr doesn't?" > > Perhaps the answer is to put them somewhere other than cl*.el. Maybe > > not subr.el, but perhaps some other similar place? > If you want them without "cl-" then they need to go to subr.el. > As I said, I'm not yet convinced it's a good idea, but I'm not > necessarily dead set against it. Let's just put them all in subr.el, then. All the cXXr definitions would then be together. The defaliases can stay in cl-lib.el. I can't think of anything that might go wrong. > Stefan -- Alan Mackenzie (Nuremberg, Germany).