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: library/package filename prefixes Date: Fri, 1 May 2020 14:07:14 -0700 (PDT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="118312"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 01 23:08:01 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 1jUct6-000Uhn-VW for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 23:08:00 +0200 Original-Received: from localhost ([::1]:45394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUct6-0004el-1W for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 17:08:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUcsb-0003qN-Gk for emacs-devel@gnu.org; Fri, 01 May 2020 17:07:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUcsR-0001vA-0X for emacs-devel@gnu.org; Fri, 01 May 2020 17:07:29 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:58430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUcsQ-0001q9-Dk for emacs-devel@gnu.org; Fri, 01 May 2020 17:07:18 -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 041L3f0s157030 for ; Fri, 1 May 2020 21:07:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=RXtkPfuHukHjtrLBANJ+7cjvcXB1zCIstRtit3lZ0ZU=; b=ZgV2KHwdqmjvUa7pU3ba0X22RO+DEJQrcgoAu8qIi16AlWgsTInQ1Z0Si6MOdSjCeJq1 F0H/dV0A6kmrkPUF+4eOO9J/4SaZhzY/Z1iRgb7W/82bvC6ZTNxYbbN+BovK2Jk1cc81 TbP2ObZga8YuxENxd2g1mx/Tj6gCMHazHpG46DmOt7FZV/QHwjndYGJykp0j9hVGw9kt 0Y67i9G39UVVnhV6xSDolfd88SqjlB4hWW3ffx1xfig4qOLBBFpNgK+wXi4xjpGfi8wc rlkhupk6pzEHx/aAq8/1EBDz0nfINarFtEZu84tSzUbwL5PPjnp2fxvP15uot3AzkjZT Xw== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 30r7f842hx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 01 May 2020 21:07:16 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 041L5ZLd180199 for ; Fri, 1 May 2020 21:07:16 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 30r7fhnyfp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 01 May 2020 21:07:16 +0000 Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 041L7FcY023447 for ; Fri, 1 May 2020 21:07:15 GMT 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=9608 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 bulkscore=0 mlxlogscore=975 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010150 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9608 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010150 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/01 17:07:17 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 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:248343 Archived-At: FWIW - I think the "Emacs Lisp Coding Conventions" node of the Elisp manual should be amended to say that a library/package prefix should be at least 2 chars followed by a hyphen (`-'). And even add that 3 or more is preferable. https://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Convention= s.html (Should we also say that the first char should not be a hyphen, or that not all prefix chars should be hyphens, or ...?) I think it's misguided, short-sighted, and even perhaps a bit self-centered for people to have named libraries `-.el', `s.el', etc. and used function and variable names with prefix `-', `s-', etc. "Too clever by half" is an expression that comes to mind. Cute, but not great for playing in the communal sandbox. This opinion takes nothing away from the quality or worth of such libraries. It's only the naming I take issue with.