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: sequence manipulation functions Date: Wed, 5 Nov 2014 08:25:16 -0800 (PST) Message-ID: References: <87oasmmwzt.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415204762 18288 80.91.229.3 (5 Nov 2014 16:26:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 16:26:02 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier , Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 17:25:56 2014 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 1Xm3PA-0002zH-5v for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 17:25:56 +0100 Original-Received: from localhost ([::1]:47402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3P9-00037g-N3 for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 11:25:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3Oh-00037N-J4 for emacs-devel@gnu.org; Wed, 05 Nov 2014 11:25:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm3OZ-0007g5-W5 for emacs-devel@gnu.org; Wed, 05 Nov 2014 11:25:27 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3OZ-0007fo-QN for emacs-devel@gnu.org; Wed, 05 Nov 2014 11:25:19 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sA5GPFfg020291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Nov 2014 16:25:16 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA5GPE3c008908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 5 Nov 2014 16:25:15 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA5GPEpi024795; Wed, 5 Nov 2014 16:25:14 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:176412 Archived-At: > I think these should use a "seq-" prefix. This will not only avoid > naming conflicts, but also helps discover those functions, since you > can type `(seq- TAB' to see all related functions. No. Emacs should follow Common Lisp in this regard. http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node141.html#SECTION001800000= 000000000000 And it should follow it not only in terms of names but also in terms of behavior, as much as is practical. E.g., `some-p' should be `some', and it should have the Common Lisp `some' behavior. This might already be more or less the case for `cl-some' etc., in which case there is no need (and it would be a nuisance) to add a separate `some-p' etc. with a different behavior.