From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [ELPA] New package: transient Date: Sun, 3 May 2020 12:46:07 -0700 (PDT) Message-ID: References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> <83r1w2s9wi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="7444"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , tomas@tuxteam.de, Stefan Monnier , Emacs developers To: Philippe Vaucher , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 21:47:15 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVKa3-0001pC-8P for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 21:47:15 +0200 Original-Received: from localhost ([::1]:35212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVKa2-00049u-9D for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 15:47:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVKZ3-0003Gv-Fw for emacs-devel@gnu.org; Sun, 03 May 2020 15:46:13 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:44638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVKZ2-0003JL-8I; Sun, 03 May 2020 15:46:13 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 043Jd9eh116493; Sun, 3 May 2020 19:46:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=MDvK4BBHrYQ+eVBpbltBhhtdqNjqhQzqUIn1ahSIWgw=; b=hXwy9akNQxVy8qizfx4j5npuQJvSClM4wtrCFtG/Hf4Cijse7RoNUcPM6N19It3RtRut 2W7iSdJJhlLfQCFSFwUdFRKgbU5NQ/3WRMRBmeHdwCarClWiqRioeSHf/qiYJKLdPr/O ahrMUDcOXnTLQqc5uwiFoZjUo92/I99n4la0aGrxY/l0xX5hfB8KkzThX3MZVXoUAaJ1 wMDGLTEgqU1DlOpliLtNGpgUcm8O1PRoDgjhhYCUq/ESL5ZsxVRVj2WOBN1ZmtWEucq4 cOgQoRHqdz10hkdhpbF3jLubY66A1h4vOubDfr3EPtTajEsmOB4pbsoD3Qz3HzdD7Ouo tw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 30s0tm3wd5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 03 May 2020 19:46:09 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 043JbFQB117193; Sun, 3 May 2020 19:46:09 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 30sjn825cs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 03 May 2020 19:46:09 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 043Jk8ii030890; Sun, 3 May 2020 19:46:08 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9610 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 phishscore=0 mlxlogscore=934 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005030176 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9610 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=988 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005030176 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/03 15:07:55 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248737 Archived-At: >> I think you are making a distinction between names that are >> core parts of the use of regexps, and names that contain 'regexp' >> because they stand for something that uses a regexp somehow. >> Is that right? > > Yes. > >> And you expect the former to have names that start with 'regexp' >> (although we have never had such a naming practice for data types). >> Is that right? > > Yes! :-) > >> Is the reason you expect the names to follow that pattern >> that you are coming from a language that uses abstract object tyoes >> where each type defines methods to operate on it?=C2=A0 Do you wish you >> could ask, "Show me the operations defined on type 'regexp'"? > > Yes, and also because in almost every other languages > there are namespaces. Including other lisps (Scheme, > Clojure). That's the rub/misunderstanding, I think. That namespaces are used does not imply that naming need be based on object type. In some languages - in particular OOP - namespaces are based on types; in other languages they're not. Data types are not the only way to group things. > Even in Emacs Lisp the namespace concept is used, > look at the all the `string-*` functions. There are some, sure. Nothing says that you can't have a function that's mostly concerned with a particular thing type. And nothing says that in such a case we can't put that type name in the function name. But it's not a requirement for all such functions, let alone all or even most other functions. And nothing says that `string' needs to be in the prefix of such a function, as opposed to somewhere else in its name.