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: Rationalising c[ad]\{2,5\}r. Date: Thu, 12 Mar 2015 10:30:14 +0000 Message-ID: <20150312103014.GB2625@acm.fritz.box> References: <20150311214324.GA2952@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 1426156264 30168 80.91.229.3 (12 Mar 2015 10:31:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2015 10:31:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 11:30:55 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 1YW0OF-0002Et-2S for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2015 11:30:55 +0100 Original-Received: from localhost ([::1]:59060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW0OE-0005W2-8W for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2015 06:30:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW0O9-0005Qd-Ir for emacs-devel@gnu.org; Thu, 12 Mar 2015 06:30:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YW0O2-0007I0-Cd for emacs-devel@gnu.org; Thu, 12 Mar 2015 06:30:49 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:27755 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW0O2-0007Hg-0D for emacs-devel@gnu.org; Thu, 12 Mar 2015 06:30:42 -0400 Original-Received: (qmail 96099 invoked by uid 3782); 12 Mar 2015 10:30:38 -0000 Original-Received: from acm.muc.de (pD95188B5.dip0.t-ipconnect.de [217.81.136.181]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 12 Mar 2015 11:30:37 +0100 Original-Received: (qmail 3010 invoked by uid 1000); 12 Mar 2015 10:30:14 -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:183808 Archived-At: Hello, Drew. On Wed, Mar 11, 2015 at 03:00:50PM -0700, Drew Adams wrote: > > 1. caar, cadr, cdar, and cddr are defined in subr.el; > > 2. c[ad]\{3,4\}r are actually called cl-caaar, etc; > Gag. Why is that? Lack of clear thinking, conflicting design goals, ..., who knows? > > 3. cl-c[ad]\{3,4\}r are defined in cl-lib.el; > Why is that? > What's next, cl-setq? :-) Let's hope not. [ .... ] > > I propose the following solution: all these defuns should be in subr.el, > > the canonical names will be caaadr etc., > Yes. How about the _only_ names, instead? > > and there will be compatibility aliases for cl-caaadr etc.. > Why? Why is that needed? Because there are lots of uses of cl-c[ad]\{3,4\}r in the field. There are currently 56 uses in the Emacs sources, which we could easily fix, but there will be an unknown, possibly high, number in packages and code we don't control. It would be ill-mannered simply to remove these names. They should be marked as obsolete, perhaps. -- Alan Mackenzie (Nuremberg, Germany).