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: library/package filename prefixes Date: Mon, 4 May 2020 21:39:30 -0700 (PDT) Message-ID: References: <519940ba-6cf7-4597-8ca7-13961d11b6ae@default> 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="41823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 05 06:40:18 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 1jVpNS-000Al6-Dt for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 06:40:18 +0200 Original-Received: from localhost ([::1]:59072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVpNR-0005x6-Ev for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 00:40:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVpMm-0005Wh-R3 for emacs-devel@gnu.org; Tue, 05 May 2020 00:39:36 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:45852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVpMl-0003AF-KM; Tue, 05 May 2020 00:39:36 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0454dXMb069310; Tue, 5 May 2020 04:39:33 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=FaksslAWD94taq6L7fywG7wOuiDs/qHx6DLTHkFGY7A=; b=Q8PKDh8xgngafWb/O+yQhyZJXvnW812o3aJ4sAVPtL3zw74LQ0rjV0YFPshkFRggK6dI 6E/oVsAl+l5LKk4dIYmS62RN3inHrZPpUzEeqjxwmPRbpJIm/VyqguJCT0kx2EVJGIEA KYxCC6kYu3/fo4m9ux1fnoHot0ZD1kajZNVnbb16rMRrNS9URhsirmEQOeF7p7ftzqEV s474fM1JBWco50v3mwStxDFI8K+OFbLrKz+GpjIeyllp6YfxukjL3x/4kFLKQQyaVCYg /pwFiyECxu6I2+DBtO+F5MYmleayYz6pjmDW2iCMTx1lKLL6G/z/e7guNpOW514yKEWz xw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 30s09r2g1m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 May 2020 04:39:33 +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 0454bO87151998; Tue, 5 May 2020 04:39:32 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 30sjnd3ukt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 May 2020 04:39:32 +0000 Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0454dVEe024589; Tue, 5 May 2020 04:39:31 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=9611 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005050037 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9611 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1015 suspectscore=1 priorityscore=1501 malwarescore=0 mlxlogscore=999 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005050037 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/05 00:39:34 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_H3=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:248938 Archived-At: > > FWIW, I proposed a minimum of 2 chars (plus hyphen). > > I think that's good. What's a good reason for going > > to 3 instead of 2? >=20 > The namespace of 2-letter prefixes seems somewhat cramped to me. > Every package that uses such a prefix will have to be discussed > regarding whether it is entitled to one. I thought we were (I was, anyway, in my suggestion) talking about the Elisp code conventions, which serve as a guide to 3rd-party code, not just to code that's to be included as an official part of Emacs. In that 3rd-party-code case, there's no "have to be discussed". The idea, wrt 3rd-party code, was to avoid having people create libraries with a prefix like `s-' (not to mention just `-'). > A rule saying "use at least three" would not cause > any real trouble and would mostly eliminate that problem. (I still think 2 is OK.) There are already libraries that have 2-char prefixes. That existence is not a big consideration, but I don't think 2-char prefixes cause any harm. There's room for quite a few 2-char prefixes. There are, I guess, very few existing libraries with 1-char prefixes. And dash.el is the only library with a 0-char prefix (obviously - only one such library is possible, hence the too-clever-by-half). Anyway, not very important - just one (minor) opinion.